18366c4
%global commit 41a30dd4e47520fd271af7ee925f018261f47b14
d3c2657
d3c2657
Name:           onionshare
18366c4
Version:        0.8.1
7d6a1d2
Release:        2%{?dist}
d3c2657
Summary:        Securely and anonymously share files of any size
d3c2657
d3c2657
License:        GPLv3
d3c2657
URL:            https://onionshare.org/
d3c2657
Source0:        https://github.com/micahflee/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
d3c2657
d3c2657
BuildArch:      noarch
d3c2657
BuildRequires:  python2-devel desktop-file-utils
d3c2657
Requires:       python2 python-flask python-stem pyqt4
d3c2657
d3c2657
%description
d3c2657
OnionShare lets you securely and anonymously share files of any size. It works
d3c2657
by starting a web server, making it accessible as a Tor hidden service, and
d3c2657
generating an unguessable URL to access and download files. It doesn't require
d3c2657
setting up a server on the internet somewhere or using a third party
d3c2657
file sharing service. You host files on your own computer and use a Tor
d3c2657
hidden service to make it temporarily accessible over the internet. The other
d3c2657
user just needs to use Tor Browser to download a file from you.
d3c2657
d3c2657
d3c2657
%prep
d3c2657
%setup -q -n %{name}-%{commit}
f428ec9
sed -i '/^Encoding/ d' install/%{name}.desktop
d3c2657
d3c2657
d3c2657
%build
d3c2657
%{__python2} setup.py build
d3c2657
d3c2657
d3c2657
%install
d3c2657
%{__python2} setup.py install --skip-build --root %{buildroot}
d3c2657
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
d3c2657
d3c2657
d3c2657
%files
d3c2657
%doc LICENSE README.md
18366c4
%{_datadir}/appdata/%{name}.*
d3c2657
%{_datadir}/pixmaps/*
d3c2657
%{_datadir}/%{name}/*
d3c2657
%{_datadir}/applications/*
d3c2657
%{_bindir}/%{name}
d3c2657
%{_bindir}/%{name}-gui
d3c2657
%{python2_sitelib}/%{name}/*
d3c2657
%{python2_sitelib}/%{name}_gui/*
d3c2657
%{python2_sitelib}/%{name}-%{version}-py2.7.egg-info
d3c2657
d3c2657
d3c2657
%changelog
7d6a1d2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
7d6a1d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7d6a1d2
18366c4
* Wed Dec 30 2015 robyduck <robyduck@fedoraproject.org> - 0.8.1-1
18366c4
- Fixed crash in Windows 7
18366c4
- Fixed crash related to non-ephemeral hidden services in Linux
18366c4
- Fixed minor bugs
18366c4
f428ec9
* Mon Aug 31 2015 pjp <robyduck@fedoraproject.org> - 0.7.1-1
f428ec9
- Upstream release v0.7.1-1
f428ec9
685d97e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-6
685d97e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
685d97e
d3c2657
* Tue Oct 14 2014 pjp <pjp@fedoraproject.org> - 0.6-5
d3c2657
- Fixed spec file as per review BZ#1151747#c8,9.
d3c2657
d3c2657
* Mon Oct 13 2014 pjp <pjp@fedoraproject.org> - 0.6-4
d3c2657
- Fixed this spec file as per review BZ#1151747#c6.
d3c2657
d3c2657
* Sun Oct 12 2014 pjp <pjp@fedoraproject.org> - 0.6-3
d3c2657
- Fixed Source0 definition as per review BZ#1151747#c4.
d3c2657
d3c2657
* Sat Oct 11 2014 pjp <pjp@fedoraproject.org> - 0.6-2
d3c2657
- Fixed oname and Source0 definition as per review BZ#1151747#c2.
d3c2657
d3c2657
* Sat Oct 11 2014 pjp <pjp@fedoraproject.org> - 0.6-1
d3c2657
- Initial release onionshare v0.6.