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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: epour
|
|
|
|
Version: 0.6.0
|
|
|
|
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/
|
2014-07-16 11:54:48 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: python-efl
|
|
|
|
BuildRequires: efl-devel
|
|
|
|
BuildRequires: dbus-1-python-devel
|
|
|
|
BuildRequires: python-xdg
|
|
|
|
BuildRequires: python-distutils-extra
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libtorrent-rasterbar-devel >= 0.16.0
|
|
|
|
buildroot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
2015-02-21 11:33:40 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
|
|
|
|
2014-07-16 11:54:48 +02:00
|
|
|
%description
|
|
|
|
EFL and libtorrent based BitTorrent client.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python 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
|
|
|
|
mv %{_datadir}/icons/ %{_datadir}/pixmaps/
|
|
|
|
%endif
|
2014-07-16 11:54:48 +02:00
|
|
|
rm -rf "%{buildroot}/%{_datadir}/doc"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS TODO
|
|
|
|
%{_bindir}/epour
|
|
|
|
%{python_sitelib}/epour*
|
|
|
|
%{_datadir}/icons/*
|
|
|
|
%{_datadir}/applications/epour.desktop
|
|
|
|
|
|
|
|
%changelog
|