forked from pool/epour
This commit is contained in:
parent
8e18a122e0
commit
1a4f511306
11
epour.spec
11
epour.spec
@ -35,6 +35,11 @@ Requires: python-xdg
|
||||
Requires: python-libtorrent-rasterbar
|
||||
buildroot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
|
||||
%description
|
||||
EFL and libtorrent based BitTorrent client.
|
||||
|
||||
@ -46,6 +51,12 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root "%{buildroot}"
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%fdupes %{buildroot}/%{_datadir}
|
||||
%suse_update_desktop_file epour
|
||||
%endif
|
||||
|
||||
rm -rf "%{buildroot}/%{_datadir}/doc"
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user