diff --git a/.gitignore b/.gitignore index e69de29..eda7bcd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/onionshare-b035330805a5cbe603ca8a7716bf1f76e054f619.tar.gz diff --git a/onionshare.spec b/onionshare.spec new file mode 100644 index 0000000..894721f --- /dev/null +++ b/onionshare.spec @@ -0,0 +1,66 @@ +%global commit b035330805a5cbe603ca8a7716bf1f76e054f619 + +Name: onionshare +Version: 0.6 +Release: 5%{?dist} +Summary: Securely and anonymously share files of any size + +License: GPLv3 +URL: https://onionshare.org/ +Source0: https://github.com/micahflee/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel desktop-file-utils +Requires: python2 python-flask python-stem pyqt4 + +%description +OnionShare lets you securely and anonymously share files of any size. It works +by starting a web server, making it accessible as a Tor hidden service, and +generating an unguessable URL to access and download files. It doesn't require +setting up a server on the internet somewhere or using a third party +file sharing service. You host files on your own computer and use a Tor +hidden service to make it temporarily accessible over the internet. The other +user just needs to use Tor Browser to download a file from you. + + +%prep +%setup -q -n %{name}-%{commit} +sed -i '/^Encoding/ d' setup/%{name}.desktop + + +%build +%{__python2} setup.py build + + +%install +%{__python2} setup.py install --skip-build --root %{buildroot} +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop + + +%files +%doc LICENSE README.md +%{_datadir}/pixmaps/* +%{_datadir}/%{name}/* +%{_datadir}/applications/* +%{_bindir}/%{name} +%{_bindir}/%{name}-gui +%{python2_sitelib}/%{name}/* +%{python2_sitelib}/%{name}_gui/* +%{python2_sitelib}/%{name}-%{version}-py2.7.egg-info + + +%changelog +* Tue Oct 14 2014 pjp - 0.6-5 +- Fixed spec file as per review BZ#1151747#c8,9. + +* Mon Oct 13 2014 pjp - 0.6-4 +- Fixed this spec file as per review BZ#1151747#c6. + +* Sun Oct 12 2014 pjp - 0.6-3 +- Fixed Source0 definition as per review BZ#1151747#c4. + +* Sat Oct 11 2014 pjp - 0.6-2 +- Fixed oname and Source0 definition as per review BZ#1151747#c2. + +* Sat Oct 11 2014 pjp - 0.6-1 +- Initial release onionshare v0.6. diff --git a/sources b/sources index e69de29..32c3694 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +04b067713056afbb4ee770e9e47732c7 onionshare-b035330805a5cbe603ca8a7716bf1f76e054f619.tar.gz