LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File SelekTOR.spec of Package SelekTOR (Project home:enzokiel)

# spec file for package SelekTOR
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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 http://bugs.opensuse.org/

Name:              SelekTOR
Summary:           Java based GUI frontend for Tor
Version:           3.13.73
Release:           0
Url:               http://www.dazzleships.net/selektor-for-linux/
Source0:           selektor-%{version}_all.tar.gz
Patch0:            selektor-startscript.patch
Patch1:            selektor-desktopfiles.patch
License:           GPL-2.0
Group:             Productivity/Networking/Security
Requires:          java >= 1.7
Requires:          libnotify-tools
Requires:          tor
Requires(post):    update-desktop-files
Requires(postun):  update-desktop-files
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
BuildArch:         noarch

SelekTOR for Linux is an open source Java based GUI frontend for Tor
running in client mode, it acts as a Tor launcher and exit node chooser
for browsers that support system proxying using PAC files, it is licensed
under the GPL2.


%setup -q -n selektor-%{version}_all


install -D -m644 opt/selektor/SelekTOR.jar  %{buildroot}%{_javadir}/SelekTOR/SelekTOR.jar
install -D -m755 selektor  %{buildroot}%{_bindir}/selektor
install -D -m644 applications/selektor-autostart.desktop  %{buildroot}%{_datadir}/applications/selektor-autostart.desktop
install -D -m644 applications/selektor-proxy-reset.desktop  %{buildroot}%{_datadir}/applications/selektor-proxy-reset.desktop
install -D -m644 applications/selektor.desktop  %{buildroot}%{_datadir}/applications/selektor.desktop
install -D -m644 opt/selektor/icons/selektor.png  %{buildroot}%{_datadir}/pixmaps/selektor.png
install -D -m644 man/man1/selektor.1.gz %{buildroot}%{_mandir}/man1/selektor.1.gz

%if 0%{?suse_version} < 1500


%dir %{_javadir}/SelekTOR
%doc opt/selektor/doc/help-*.html opt/selektor/doc/changelog
%license opt/selektor/doc/copyright