diff --git a/.gitignore b/.gitignore index 7211c97..981ca1e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /onionshare-41a30dd4e47520fd271af7ee925f018261f47b14.tar.gz /v0.9.1.tar.gz /v1.0.tar.gz +/v1.1.tar.gz diff --git a/onionshare-nautilus.patch b/onionshare-nautilus.patch new file mode 100644 index 0000000..d9f7471 --- /dev/null +++ b/onionshare-nautilus.patch @@ -0,0 +1,11 @@ +diff --git a/install/scripts/onionshare-nautilus.py b/install/scripts/onionshare-nautilus.py +index db701c4..9d2b0ff 100644 +--- a/install/scripts/onionshare-nautilus.py ++++ b/install/scripts/onionshare-nautilus.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import os + import subprocess + diff --git a/onionshare.spec b/onionshare.spec index f0db7a2..97859a8 100644 --- a/onionshare.spec +++ b/onionshare.spec @@ -1,14 +1,15 @@ %global _hardened_build 1 Name: onionshare -Version: 1.0 -Release: 2%{?dist} +Version: 1.1 +Release: 1%{?dist} Summary: Securely and anonymously share files of any size License: GPLv3 URL: https://onionshare.org/ Source0: https://github.com/micahflee/%{name}/archive/v%{version}.tar.gz Patch0: %{name}-appdata.patch +Patch1: %{name}-nautilus.patch BuildArch: noarch BuildRequires: python3-devel @@ -18,6 +19,7 @@ Requires: python3-flask Requires: python3-stem Requires: python3-qt5 Requires: nautilus-python +Requires: tor %description @@ -33,6 +35,7 @@ user just needs to use Tor Browser to download a file from you. %prep %setup -qn %{name}-%{version} %patch0 -p1 -b .orig +%patch1 -p1 -b .orig %build @@ -45,6 +48,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{_datadir}/appdata/ install -m 644 %{_builddir}/%{name}-%{version}/install/%{name}.appdata.xml \ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml +chmod +x %{buildroot}/%{_datadir}/nautilus-python/extensions/%{name}-nautilus* %check appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml @@ -63,6 +67,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.ap %changelog +* Mon Nov 27 2017 Kushal Das - 1.1-1 +- Update to 1.1 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 86a7de1..e385a87 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.0.tar.gz) = c218c0ea978b67b658634f6bb6f0dc5e7691e0fccf49a1d22be9ca688c6f9954a73e73fd5a72c8a0dee8a4c2f4eedc4a90af047920070fe831f4df1e2d4697fa +SHA512 (v1.1.tar.gz) = 6c8030cf610932ec003622738754116410649fbaacdca91475030f1f92c1359922d42a8555ddaae4a10ed30fe6b1f27d5eff2c9f30a1f03cc9c25504c18bc6c3