2014-07-16 11:54:48 +02:00
|
|
|
#
|
|
|
|
# spec file for package epour
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-06-13 02:37:02 +02:00
|
|
|
|
2014-07-16 11:54:48 +02:00
|
|
|
Name: epour
|
2017-06-13 02:37:02 +02:00
|
|
|
Version: 0.7.0
|
2014-07-16 11:54:48 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: BitTorrent client
|
|
|
|
License: GPL-3.0
|
2015-02-21 10:57:45 +01:00
|
|
|
Group: Productivity/Networking/File-Sharing
|
|
|
|
Url: https://phab.enlightenment.org/w/projects/epour/
|
2017-06-13 02:37:02 +02:00
|
|
|
Source0: https://download.enlightenment.org/rel/apps/%{name}/%{name}-%{version}.tar.xz
|
2015-11-15 04:02:42 +01:00
|
|
|
BuildRequires: python3-distutils-extra
|
2014-07-16 11:54:48 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
buildroot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
2015-02-21 11:33:40 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
|
|
|
|
2017-06-13 02:37:02 +02:00
|
|
|
Requires: python3-dbus-python
|
|
|
|
Requires: python3-efl
|
|
|
|
Requires: python3-libtorrent-rasterbar
|
|
|
|
Requires: python3-xdg
|
|
|
|
|
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
2014-07-16 11:54:48 +02:00
|
|
|
%description
|
|
|
|
EFL and libtorrent based BitTorrent client.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2015-11-15 04:02:42 +01:00
|
|
|
python3 setup.py build
|
2014-07-16 11:54:48 +02:00
|
|
|
|
|
|
|
%install
|
2015-11-15 04:02:42 +01:00
|
|
|
python3 setup.py install --root "%{buildroot}"
|
2015-02-21 11:10:18 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%fdupes %{buildroot}/%{_datadir}
|
|
|
|
%suse_update_desktop_file epour
|
|
|
|
%endif
|
2014-07-16 11:54:48 +02:00
|
|
|
rm -rf "%{buildroot}/%{_datadir}/doc"
|
2017-06-13 02:37:02 +02:00
|
|
|
%find_lang %{name}
|
2014-07-16 11:54:48 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS TODO
|
|
|
|
%{_bindir}/epour
|
2016-02-03 08:26:33 +01:00
|
|
|
%{python3_sitelib}/epour*
|
2014-07-16 11:54:48 +02:00
|
|
|
%{_datadir}/icons/*
|
|
|
|
%{_datadir}/applications/epour.desktop
|
2017-06-13 02:37:02 +02:00
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2014-07-16 11:54:48 +02:00
|
|
|
|
|
|
|
%changelog
|