diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a3a4f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vidalia-0.2.9.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index e607345..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Upstream recommend against using this software anymore. diff --git a/sources b/sources new file mode 100644 index 0000000..510145d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8ce038ba6c3b511a4788bc3926b3390e vidalia-0.2.9.tar.gz diff --git a/vidalia.desktop b/vidalia.desktop new file mode 100644 index 0000000..1b93654 --- /dev/null +++ b/vidalia.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Vidalia +GenericName=Tor GUI +Comment=GUI controller for the Tor Onion Routing Network +Exec=vidalia +Terminal=false +Categories=Network;Qt; +Icon=vidalia diff --git a/vidalia.spec b/vidalia.spec new file mode 100644 index 0000000..119e626 --- /dev/null +++ b/vidalia.spec @@ -0,0 +1,128 @@ +Name: vidalia +Version: 0.2.9 +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 +Source1: %{name}.desktop +BuildRequires: openssl-devel +BuildRequires: qt4-devel +BuildRequires: cmake +BuildRequires: desktop-file-utils +Requires: tor%{?_isa} +Requires: hicolor-icon-theme +%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}} +Obsoletes: %{name}-doc < 0.2.8-1 + +%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. + +%prep +%setup -q + + +%build +export PATH=%{_qt4_bindir}:$PATH +# fix DSOLinking +sed -i '/torcontrol/a \ \ z' src/vidalia/CMakeLists.txt +%cmake . + +make %{?_smp_mflags} + + +%install +make install INSTALL="install -p" DESTDIR=%{buildroot} + +install -Dpm0644 doc/%{name}.1 \ + %{buildroot}%{_mandir}/man1/%{name}.1 + +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{SOURCE1} + +chmod -x contrib/* + +%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 LICENSE* README +%doc contrib +%{_bindir}/%{name} +%{_mandir}/man1/%{name}* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.png + +%changelog +* Wed May 26 2010 Chen Lei - 0.2.9-1 +- New upstream release + +* Wed Apr 21 2010 Chen Lei - 0.2.8-1 +- New upstream release +- Remove -doc subpackage + +* Sun Jan 31 2010 Chen Lei - 0.2.7-2 +- Add contrib to -doc subpackage + +* Sun Jan 31 2010 Chen Lei - 0.2.7-1 +- New upstream release + +* Wed Sep 02 2009 Simon Wesp - 0.15-1 +- New upstream release + +* Fri Aug 21 2009 Tomas Mraz - 0.1.14-3 +- rebuilt with new openssl + +* Sun Jul 26 2009 Fedora Release Engineering - 0.1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jul 07 2009 Simon Wesp - 0.1.14-1 +- New upstream release + +* 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