]>
Commit | Line | Data |
---|---|---|
bca4e628 JR |
1 | Summary: Radio Tray is an online radio streaming player |
2 | Name: radiotray | |
29664da7 | 3 | Version: 0.7.3 |
53c653f7 | 4 | Release: 4 |
bca4e628 JR |
5 | License: GPL |
6 | Group: X11/Applications/Multimedia | |
0bba0fb9 | 7 | Source0: http://download.sourceforge.net/radiotray/%{name}-%{version}.tar.gz |
29664da7 | 8 | # Source0-md5: 274efddcf5183a4f5cb193f8c417a45c |
bca4e628 | 9 | URL: http://radiotray.sourceforge.net/ |
3f11a5d6 | 10 | BuildRequires: gettext-tools |
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 |
e423118f | 20 | Requires: python-gstreamer0.10 |
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 | 30 | Suggests: gstreamer0.10-aac |
75b9a16d | 31 | Suggests: gstreamer0.10-audio-formats |
29664da7 | 32 | Suggests: gstreamer0.10-lame |
bc6ae3f0 | 33 | Suggests: gstreamer0.10-mad |
bca4e628 JR |
34 | BuildArch: noarch |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Radio Tray is an online radio streaming player that runs on a Linux | |
39 | system tray. Its goal is to have the minimum interface possible, | |
abe5507e | 40 | making it very straightforward to use. Radio Tray is not a full |
41 | featured music player, there are plenty of excellent music players | |
42 | already. However, there was a need for a simple application with | |
43 | minimal interface just to listen to online radios. And that's the sole | |
44 | purpose of Radio Tray. | |
bca4e628 JR |
45 | |
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %{__python} setup.py build | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__python} setup.py install \ | |
56 | --optimize=2 \ | |
57 | --root=$RPM_BUILD_ROOT | |
58 | ||
59 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
60 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
61 | %py_postclean | |
62 | ||
10f2d60f JR |
63 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
64 | ||
bca4e628 JR |
65 | %find_lang %{name} |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files -f %{name}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS CONTRIBUTORS NEWS README | |
73 | %attr(755,root,root) %{_bindir}/* | |
74 | %{_datadir}/%{name} | |
75 | %{_desktopdir}/%{name}.desktop | |
067cc774 | 76 | %{_pixmapsdir}/%{name}.png |
bca4e628 | 77 | %dir %{py_sitescriptdir}/radiotray |
29664da7 | 78 | %dir %{py_sitescriptdir}/radiotray/events |
bca4e628 JR |
79 | %dir %{py_sitescriptdir}/radiotray/lib |
80 | %{py_sitescriptdir}/radiotray/*.py[co] | |
29664da7 | 81 | %{py_sitescriptdir}/radiotray/events/*.py[co] |
bca4e628 JR |
82 | %{py_sitescriptdir}/radiotray/lib/*.py[co] |
83 | %{py_sitescriptdir}/radiotray-*.egg-info |