forked from pool/python-onionshare
Accepting request 656828 from home:DocB
- Version 1.3.1 initial build on OBS thanks to scarabeus_iv for the testing part! OBS-URL: https://build.opensuse.org/request/show/656828 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-onionshare?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
onionshare-1.3.1.tar.gz
Normal file
3
onionshare-1.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87e1fa965482064e8c7c8bc32326f5748fd038f7d2af6f51056444db22ef0357
|
||||
size 436741
|
||||
14
onionshare.desktop
Normal file
14
onionshare.desktop
Normal file
@@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Name=OnionShare
|
||||
GenericName=OnionShare Client
|
||||
Comment=Share a file securely and anonymously over Tor
|
||||
Comment[da]=Del en fil sikkert og anonymt over Tor
|
||||
Comment[de]=Teile Dateien sicher und anonym über das Tor-Netzwerk
|
||||
Exec=/usr/bin/onionshare-gui
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=/usr/share/pixmaps/onionshare80.xpm
|
||||
Categories=Network;FileTransfer;
|
||||
Keywords=tor;anonymity;privacy;onion service;file sharing;file hosting;
|
||||
Keywords[da]=tor;anonymitet;privatliv;onion-tjeneste;fildeling;filhosting;
|
||||
Keywords[de]=tor;Anonymität;Privatsphäre;Onion-Service;File-Sharing;File-Hosting;
|
||||
6
python-onionshare.changes
Normal file
6
python-onionshare.changes
Normal file
@@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 17:20:53 UTC 2018 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 1.3.1
|
||||
initial build on OBS
|
||||
thanks to scarabeus_iv for the testing part!
|
||||
85
python-onionshare.spec
Normal file
85
python-onionshare.spec
Normal file
@@ -0,0 +1,85 @@
|
||||
#
|
||||
# spec file for package python-onionshare
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 Dr. Axel Braun
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
%define skip_python2 1
|
||||
|
||||
%define modname onionshare
|
||||
Name: python-%{modname}
|
||||
Version: 1.3.1
|
||||
Release: 0
|
||||
Summary: OnionShare is a secure and anonymous way to share files
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/micahflee/onionshare
|
||||
Source0: %{modname}-%{version}.tar.gz
|
||||
Source1: %{modname}.desktop
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module stem}
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module nautilus}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Flask
|
||||
Requires: python-qt5
|
||||
Requires: python-stem
|
||||
Requires: tor
|
||||
Requires: python-pytest
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%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 Onion
|
||||
Service, and generating an unguessable URL to access and download the files. It does not require setting up a separate server or using a third
|
||||
party file-sharing service. You host the files on your own computer and use a Tor Onion Service to make it temporarily accessible over the internet.
|
||||
The receiving user just needs to open the URL in Tor Browser to download the file.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
cp %{S:1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications/ %{modname}.desktop
|
||||
%suse_update_desktop_file %{modname}
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} test
|
||||
|
||||
%files %{python_files}
|
||||
%python3_only %{_bindir}/%{modname}*
|
||||
%{_datadir}/%{modname}*
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/*
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user