]>
Commit | Line | Data |
---|---|---|
bca4e628 JR |
1 | Summary: Radio Tray is an online radio streaming player |
2 | Name: radiotray | |
29664da7 | 3 | Version: 0.7.3 |
e13d5591 | 4 | Release: 1 |
bca4e628 JR |
5 | License: GPL |
6 | Group: X11/Applications/Multimedia | |
7 | Source0: http://dl.sourceforge.net/radiotray/%{name}-%{version}.tar.gz | |
29664da7 | 8 | # Source0-md5: 274efddcf5183a4f5cb193f8c417a45c |
bca4e628 | 9 | URL: http://radiotray.sourceforge.net/ |
abe5507e | 10 | BuildRequires: gettext-devel |
bca4e628 JR |
11 | BuildRequires: python-devel |
12 | BuildRequires: python-lxml >= 2.1.5 | |
bca4e628 JR |
13 | BuildRequires: python-pyinotify >= 0.8.6 |
14 | BuildRequires: python-pyxdg | |
bca4e628 | 15 | BuildRequires: rpm-pythonprov |
abe5507e | 16 | BuildRequires: rpmbuild(macros) >= 1.219 |
29664da7 JR |
17 | Requires: gstreamer0.10-audiosink |
18 | Requires: gstreamer0.10-soup | |
8797594d | 19 | Requires: python-dbus >= 0.83 |
abe5507e | 20 | Requires: python-gstreamer |
bca4e628 JR |
21 | Requires: python-libs |
22 | Requires: python-lxml >= 2.1.5 | |
23 | Requires: python-modules | |
4b10ea1e | 24 | Requires: python-pygobject >= 2.18 |
edca6c7d | 25 | Requires: python-pygtk-glade |
4b10ea1e | 26 | Requires: python-pygtk-gtk |
bca4e628 | 27 | Requires: python-pyinotify >= 0.8.6 |
4b10ea1e | 28 | Requires: python-pynotify |
bca4e628 | 29 | Requires: python-pyxdg |
29664da7 JR |
30 | Suggests: gstreamer0.10-aac |
31 | Suggests: gstreamer0.10-lame | |
bca4e628 JR |
32 | BuildArch: noarch |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | Radio Tray is an online radio streaming player that runs on a Linux | |
37 | system tray. Its goal is to have the minimum interface possible, | |
abe5507e | 38 | making it very straightforward to use. Radio Tray is not a full |
39 | featured music player, there are plenty of excellent music players | |
40 | already. However, there was a need for a simple application with | |
41 | minimal interface just to listen to online radios. And that's the sole | |
42 | purpose of Radio Tray. | |
bca4e628 JR |
43 | |
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__python} setup.py build | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__python} setup.py install \ | |
54 | --optimize=2 \ | |
55 | --root=$RPM_BUILD_ROOT | |
56 | ||
57 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
58 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
59 | %py_postclean | |
60 | ||
61 | %find_lang %{name} | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files -f %{name}.lang | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS CONTRIBUTORS NEWS README | |
69 | %attr(755,root,root) %{_bindir}/* | |
70 | %{_datadir}/%{name} | |
71 | %{_desktopdir}/%{name}.desktop | |
067cc774 | 72 | %{_pixmapsdir}/%{name}.png |
bca4e628 | 73 | %dir %{py_sitescriptdir}/radiotray |
29664da7 | 74 | %dir %{py_sitescriptdir}/radiotray/events |
bca4e628 JR |
75 | %dir %{py_sitescriptdir}/radiotray/lib |
76 | %{py_sitescriptdir}/radiotray/*.py[co] | |
29664da7 | 77 | %{py_sitescriptdir}/radiotray/events/*.py[co] |
bca4e628 JR |
78 | %{py_sitescriptdir}/radiotray/lib/*.py[co] |
79 | %{py_sitescriptdir}/radiotray-*.egg-info |