blob: 6cd5cc5bc84bc876568ce161252bb4853ea065c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#
Summary: Client for SoulSeek filesharing system
Summary(pl.UTF-8): Klient sieci SoulSeek
Name: pyslsk
Version: 1.2.7b
Release: 1
License: GPL
Vendor: Alexander Kanavin <ak@sensi.org>
Group: X11/Applications
Source0: http://www.sensi.org/~ak/pyslsk/%{name}-%{version}.tar.gz
# Source0-md5: c7a112eef6f59c4e9602cd4a9b3d9a31
Source1: %{name}.desktop
URL: http://www.sensi.org/~ak/pyslsk/
BuildRequires: python-devel > 2.2
BuildRequires: rpm-pythonprov
BuildArch: noarch
Requires: python-wxPython >= 2.6.0
Requires: python-pyvorbis
%pyrequires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
PySoulSeek is a client for SoulSeek filesharing system.
%description -l pl.UTF-8
PySoulSeek jest klientem sieci SoulSeek.
%prep
%setup -q
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_desktopdir}
install -d $RPM_BUILD_ROOT%{_pixmapsdir}
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install img/bird.jpg $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG KNOWN_BUGS MAINTAINERS README README.import-winconfig TODO
%attr(755,root,root) %{_bindir}/*
%{py_sitescriptdir}/pysoulseek
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*
|