Name: vidalia Version: @VERSION@ Release: 1%{?dist} Summary: GUI controller for the Tor Onion Routing Network Group: Applications/Internet License: GPLv2+ URL: https://www.torproject.org/vidalia/ Source0: https://www.torproject.org/%{name}/dist/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: openssl-devel BuildRequires: qt4-devel BuildRequires: cmake Requires: tor Requires: privoxy Requires: hicolor-icon-theme %description Vidalia is a cross-platform controller GUI for Tor, built using the Qt framework. Vidalia allows you to start and stop Tor, view the status of Tor at a glance, and monitor Tor's bandwidth usage. Vidalia also makes it easy to contribute to the Tor network by helping you setup a Tor server, if you wish. %package doc Summary: Documentation for %{name} Group: Documentation BuildRequires: doxygen Requires: %{name} = %{version}-%{release} %description doc Doxygen generated documentations for %{name}. %prep %setup -q %build %if 0%{?_qt4_bindir:1} PATH=%{_qt4_bindir}:$PATH; export PATH %else PATH=%{_libdir}/qt4/bin:$PATH; export PATH %endif %cmake . make %{?_smp_mflags} cd doc doxygen Doxyfile.in %install rm -rf %{buildroot} make install \ INSTALL="install -p" \ DESTDIR=%{buildroot} install -Dpm0644 doc/%{name}.1 \ %{buildroot}%{_mandir}/man1/%{name}.1 mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}-doxygen/ cp -r src/%{name}/help/ \ %{buildroot}%{_docdir}/%{name}-%{version}-doxygen/ %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGELOG CREDITS HACKING LICENSE LICENSE-GPLV2 LICENSE-GPLV3 LICENSE-OPENSSL README %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %files doc %defattr(-,root,root,-) %{_docdir}/%{name}-%{version}-doxygen/ %changelog * Fri Jan 29 2010 Erinn Clark - 0.2.7-1 - New upstream release - Updated documentation installation process * Sat Jun 13 2009 Matt Edman - 0.2.1-1 - Added to Vidalia Subversion repository * Mon Jun 01 2009 Simon Wesp - 0.1.13-2 - Merge builds for fedora and epel * Mon Jun 01 2009 Simon Wesp - 0.1.13-1 - Update to 0.1.13 - Adjust to fedora and epel * Sun Apr 06 2009 Simon Wesp - 0.1.12-1 - New upstream release - Correct typo in URL - Add R: hicolor for new handling of icons - Add update-icon-cache sniplet - Use summary of upstream for Desktopfile and in spec file - Create doxygen-documentations * Sun Feb 15 2009 Simon Wesp - 0.1.10-2 - Correct Qt in Summary - Correct Qt in desktop-file-source - Add a german Translation in the desktop-file-source - Using CMAKE-macro instead of cmake - Add more files to more documentation * Tue Feb 10 2009 Simon Wesp - 0.1.10-1 - Initial Package build