]>
Commit | Line | Data |
---|---|---|
1d0c0693 | 1 | # |
760e5372 | 2 | # Conditional build: |
7fce7ef0 | 3 | %bcond_without ipod # build without iPod support |
9b30d00f | 4 | %bcond_without mtp # build without MTP support |
7fce7ef0 | 5 | %bcond_without daap # build without DAAP support |
7fce7ef0 | 6 | %bcond_with webkit # build with gtk-webkit support |
526332bc | 7 | |
8c34f330 | 8 | Summary: Music Management Application |
de49eecc | 9 | Summary(hu.UTF-8): Zenelejátszó alkalmazás |
22e69513 | 10 | Summary(pl.UTF-8): Aplikacja do zarządzania muzyką |
8c34f330 | 11 | Name: rhythmbox |
b0f048eb | 12 | Version: 3.4.3 |
8acdbada | 13 | Release: 1 |
ad0d72bb | 14 | License: GPL v2+ |
2bd3a041 | 15 | Group: X11/Applications |
b0f048eb JK |
16 | Source0: http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/3.4/%{name}-%{version}.tar.xz |
17 | # Source0-md5: 79a775cffcf320fcdefa74bf6b2d1d32 | |
526332bc | 18 | URL: http://projects.gnome.org/rhythmbox/ |
e75bbda2 | 19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
d97bf299 | 21 | BuildRequires: brasero-devel >= 2.31.5 |
6049dd30 | 22 | BuildRequires: docbook-dtd412-xml |
526332bc | 23 | BuildRequires: gdk-pixbuf2-devel >= 2.18.0 |
9c7cc6f7 | 24 | BuildRequires: gettext-tools |
d21bbe02 | 25 | BuildRequires: glib2-devel >= 1:2.34.0 |
c7644a9f | 26 | BuildRequires: gnome-common |
526332bc | 27 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
d97bf299 | 28 | BuildRequires: grilo-devel >= 0.1.17 |
d21bbe02 MB |
29 | BuildRequires: gstreamer-devel >= 1.0.0 |
30 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
31 | BuildRequires: gtk+3-devel >= 3.12.0 | |
a9ecf4af | 32 | BuildRequires: gtk-doc |
7fce7ef0 | 33 | %{?with_webkit:BuildRequires: gtk-webkit3-devel >= 1.3.9} |
d21bbe02 MB |
34 | BuildRequires: intltool >= 0.35.0 |
35 | BuildRequires: json-glib-devel | |
36 | %{?with_daap:BuildRequires: libdmapsharing-devel >= 2.9.19} | |
9b30d00f | 37 | %{?with_ipod:BuildRequires: libgpod-devel >= 0.6} |
1d77f561 | 38 | %{?with_mtp:BuildRequires: libmtp-devel >= 0.3.0} |
d97bf299 ER |
39 | BuildRequires: libnotify-devel >= 0.7.0 |
40 | BuildRequires: libpeas-devel >= 0.7.3 | |
41 | BuildRequires: libpeas-gtk-devel >= 0.7.3 | |
d21bbe02 MB |
42 | BuildRequires: libsecret-devel >= 0.18 |
43 | BuildRequires: libsoup-devel >= 2.34.0 | |
44 | BuildRequires: libsoup-gnome-devel >= 2.34.0 | |
e75bbda2 | 45 | BuildRequires: libtool |
d21bbe02 | 46 | BuildRequires: libxml2-devel >= 1:2.7.8 |
c2659dad | 47 | BuildRequires: lirc-devel |
8c34f330 | 48 | BuildRequires: pkgconfig |
ef0b84c1 | 49 | BuildRequires: python3-pygobject3-devel |
cb8eb710 | 50 | BuildRequires: rpm-pythonprov |
b067cc3d | 51 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
283723b5 | 52 | BuildRequires: rpmbuild(macros) >= 1.311 |
b067cc3d | 53 | BuildRequires: sed >= 4.0 |
526332bc | 54 | BuildRequires: tdb-devel >= 2:1.2.6 |
d21bbe02 | 55 | BuildRequires: totem-pl-parser-devel >= 3.2.0 |
d97bf299 ER |
56 | BuildRequires: udev-glib-devel >= 143 |
57 | BuildRequires: vala >= 0.9.4 | |
b1fa8b52 | 58 | BuildRequires: xorg-lib-libSM-devel |
526332bc | 59 | BuildRequires: xz |
8c34f330 | 60 | BuildRequires: zlib-devel |
3863a1c1 | 61 | Requires: python3-modules |
097507b6 | 62 | Requires(post,postun): desktop-file-utils |
0214ff8e | 63 | Requires(post,postun): gtk-update-icon-cache |
283723b5 | 64 | Requires(post,postun): hicolor-icon-theme |
d21bbe02 | 65 | Requires(post,postun): glib2 >= 1:2.34.0 |
b0b527eb | 66 | Requires: dbus >= 0.93 |
d21bbe02 MB |
67 | Requires: glib2 >= 1:2.34.0 |
68 | Requires: gstreamer-audio-effects-base >= 1.0.0 | |
69 | Requires: gstreamer-audio-formats >= 1.0.0 | |
d5b930c8 | 70 | Requires: gstreamer-audiosink |
d21bbe02 MB |
71 | Requires: gstreamer-plugins-good >= 1.0.0 |
72 | Requires: gtk+3 >= 3.12.0 | |
a05cbb9a | 73 | Suggests: gstreamer-flac |
74 | Suggests: gstreamer-mad | |
a05cbb9a | 75 | Suggests: gstreamer-neon |
2bd3a041 | 76 | Suggests: gstreamer-vorbis |
d21bbe02 MB |
77 | Suggests: gtk-webkit3 |
78 | Suggests: libpeas-gtk >= 0.7.3 | |
79 | Suggests: libpeas-loader-python3 | |
80 | Suggests: python3-Mako | |
81 | Suggests: python3-zeitgeist | |
6ff734d3 | 82 | Obsoletes: net-rhythmbox |
c1cce31a MB |
83 | # sr@Latn vs. sr@latin |
84 | Conflicts: glibc-misc < 6:2.7 | |
8c34f330 | 85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
86 | ||
87 | %description | |
88 | Rhythmbox is your one-stop multimedia application, supporting a music | |
89 | library, multiple "music groups", internet radio, and more. | |
90 | ||
de49eecc ZU |
91 | %description -l hu.UTF-8 |
92 | Rhythmbox egy multimédia alkalmazás, amley támogatja a | |
93 | zenekönyvtárakat, több "zenecsoportokat", internetes rádiót, és még | |
94 | sok mindent. | |
95 | ||
57850c59 JR |
96 | %description -l pl.UTF-8 |
97 | Rhythmbox to kompletna aplikacja multimedialna, obsługująca bibliotekę | |
98 | muzyczną, wiele "grup muzyki", radio internetowe itp. | |
8c34f330 | 99 | |
f44c0a2a PZ |
100 | %package -n browser-plugin-%{name} |
101 | Summary: Rhythmbox's browser plugin | |
de49eecc | 102 | Summary(hu.UTF-8): Rhythmbox böngésző plugin |
f44c0a2a PZ |
103 | Summary(pl.UTF-8): Wtyczka Rhythmboksa do przeglądarek WWW |
104 | Group: X11/Libraries | |
105 | Requires: %{name} = %{version}-%{release} | |
106 | Requires: browser-plugins >= 2.0 | |
107 | Requires: browser-plugins(%{_target_base_arch}) | |
108 | ||
109 | %description -n browser-plugin-%{name} | |
9b30d00f | 110 | iTunes detection browser plugin (for podcasts). |
f44c0a2a | 111 | |
de49eecc ZU |
112 | %description -n browser-plugin-%{name} -l hu.UTF-8 |
113 | Rhythmbox böngésző plugin. | |
114 | ||
f44c0a2a PZ |
115 | %description -n browser-plugin-%{name} -l pl.UTF-8 |
116 | Wtyczka Rhythmboksa do przeglądarek WWW. | |
117 | ||
8c34f330 | 118 | %prep |
119 | %setup -q | |
e75bbda2 | 120 | |
8c34f330 | 121 | %build |
1277e2b5 | 122 | %{__gtkdocize} |
d5caa3b9 | 123 | %{__glib_gettextize} |
1277e2b5 | 124 | %{__intltoolize} |
e75bbda2 | 125 | %{__libtoolize} |
d5caa3b9 | 126 | %{__aclocal} -I macros |
127 | %{__autoheader} | |
e75bbda2 | 128 | %{__automake} |
d5caa3b9 | 129 | %{__autoconf} |
9b30d00f | 130 | MOZILLA_PLUGINDIR=%{_browserpluginsdir} \ |
8c34f330 | 131 | %configure \ |
9b30d00f | 132 | --disable-static \ |
55042e8c AF |
133 | --disable-silent-rules \ |
134 | --enable-browser-plugin \ | |
c2659dad | 135 | --enable-lirc \ |
55042e8c AF |
136 | --enable-python \ |
137 | --enable-vala \ | |
760e5372 | 138 | %{!?with_ipod:--without-ipod} \ |
526332bc | 139 | %{?with_daap:--enable-daap} \ |
55042e8c | 140 | --with-gudev \ |
55042e8c | 141 | --with-mtp \ |
7fce7ef0 | 142 | --with%{!?with_webkit:out}-webkit \ |
55042e8c | 143 | --with-x \ |
abece8eb | 144 | --without-hal |
7fce7ef0 | 145 | |
db7ae66c | 146 | %{__make} |
8c34f330 | 147 | |
148 | %install | |
149 | rm -rf $RPM_BUILD_ROOT | |
8c34f330 | 150 | %{__make} install \ |
d21bbe02 | 151 | DESTDIR=$RPM_BUILD_ROOT |
8c34f330 | 152 | |
d21bbe02 | 153 | %find_lang %{name} --with-gnome |
9b30d00f | 154 | |
e781be89 | 155 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/browser-plugins/*.la |
d97bf299 ER |
156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/librhythmbox-core.la |
157 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/*.la | |
8c34f330 | 158 | |
d97bf299 | 159 | # there is no -devel subpackage |
e781be89 | 160 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gir-1.0 |
d97bf299 ER |
161 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc |
162 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/rhythmbox | |
e781be89 | 163 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/rhythmbox/sample-plugins |
d97bf299 ER |
164 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/librhythmbox-core.so |
165 | %{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/rhythmbox.pc | |
a5d48172 | 166 | |
8c34f330 | 167 | %clean |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
170 | %post | |
0915357a | 171 | /sbin/ldconfig |
526332bc | 172 | %glib_compile_schemas |
b6597a20 | 173 | %update_desktop_database_post |
283723b5 | 174 | %update_icon_cache hicolor |
097507b6 | 175 | |
0915357a MB |
176 | %postun |
177 | /sbin/ldconfig | |
526332bc | 178 | %glib_compile_schemas |
b6597a20 | 179 | %update_desktop_database_postun |
283723b5 | 180 | %update_icon_cache hicolor |
d5caa3b9 | 181 | |
f44c0a2a PZ |
182 | %post -n browser-plugin-%{name} |
183 | %update_browser_plugins | |
184 | ||
185 | %postun -n browser-plugin-%{name} | |
186 | if [ "$1" = 0 ]; then | |
187 | %update_browser_plugins | |
188 | fi | |
189 | ||
8c34f330 | 190 | %files -f rhythmbox.lang |
191 | %defattr(644,root,root,755) | |
192 | %doc AUTHORS ChangeLog README NEWS | |
193 | %attr(755,root,root) %{_bindir}/* | |
b0f048eb | 194 | %attr(755,root,root) %{_libexecdir}/rhythmbox-metadata |
0915357a | 195 | %attr(755,root,root) %{_libdir}/librhythmbox-core.so.*.*.* |
b0f048eb | 196 | %attr(755,root,root) %ghost %{_libdir}/librhythmbox-core.so.10 |
526332bc | 197 | %{_datadir}/%{name} |
b0f048eb | 198 | %{_datadir}/metainfo/rhythmbox.appdata.xml |
526332bc ER |
199 | %{_datadir}/dbus-1/services/*.service |
200 | %{_desktopdir}/*.desktop | |
201 | %{_iconsdir}/hicolor/*/*/rhythmbox.png | |
526332bc | 202 | %{_iconsdir}/hicolor/scalable/apps/rhythmbox-symbolic.svg |
526332bc ER |
203 | %{_mandir}/man1/rhythmbox.1* |
204 | %{_mandir}/man1/rhythmbox-client.1* | |
205 | ||
206 | %{_libdir}/girepository-1.0/MPID-3.0.typelib | |
207 | %{_libdir}/girepository-1.0/RB-3.0.typelib | |
208 | %{_datadir}/glib-2.0/schemas/org.gnome.rhythmbox.gschema.xml | |
209 | ||
0fdf4c7d | 210 | %dir %{_libdir}/rhythmbox |
211 | %dir %{_libdir}/rhythmbox/plugins | |
526332bc | 212 | |
526332bc ER |
213 | %dir %{_libdir}/rhythmbox/plugins/artsearch |
214 | %{_libdir}/rhythmbox/plugins/artsearch/artsearch.plugin | |
ef0b84c1 JR |
215 | %{_libdir}/rhythmbox/plugins/artsearch/*.py |
216 | %{_libdir}/rhythmbox/plugins/artsearch/__pycache__ | |
526332bc | 217 | |
d21bbe02 MB |
218 | %dir %{_libdir}/rhythmbox/plugins/android |
219 | %{_libdir}/rhythmbox/plugins/android/android.plugin | |
220 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/android/libandroid.so | |
221 | ||
c955859c | 222 | %dir %{_libdir}/rhythmbox/plugins/audiocd |
526332bc | 223 | %{_libdir}/rhythmbox/plugins/audiocd/audiocd.plugin |
c955859c | 224 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/audiocd/*.so |
526332bc | 225 | |
b0b527eb | 226 | %dir %{_libdir}/rhythmbox/plugins/audioscrobbler |
526332bc | 227 | %{_libdir}/rhythmbox/plugins/audioscrobbler/audioscrobbler.plugin |
b0b527eb | 228 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/audioscrobbler/*.so |
526332bc ER |
229 | |
230 | %dir %{_libdir}/rhythmbox/plugins/cd-recorder | |
231 | %{_libdir}/rhythmbox/plugins/cd-recorder/cd-recorder.plugin | |
232 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/cd-recorder/*.so | |
233 | ||
635340b4 JR |
234 | %dir %{_libdir}/rhythmbox/plugins/context |
235 | %{_libdir}/rhythmbox/plugins/context/*.py | |
236 | %{_libdir}/rhythmbox/plugins/context/__pycache__ | |
237 | ||
d97bf299 ER |
238 | %if %{with daap} |
239 | %dir %{_libdir}/rhythmbox/plugins/daap | |
240 | %{_libdir}/rhythmbox/plugins/daap/daap.plugin | |
241 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/daap/*.so | |
242 | %endif | |
243 | ||
071bf91b | 244 | %dir %{_libdir}/rhythmbox/plugins/dbus-media-server |
526332bc | 245 | %{_libdir}/rhythmbox/plugins/dbus-media-server/dbus-media-server.plugin |
071bf91b | 246 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/dbus-media-server/libdbus-media-server.so |
526332bc | 247 | |
d3646f07 | 248 | %dir %{_libdir}/rhythmbox/plugins/fmradio |
526332bc | 249 | %{_libdir}/rhythmbox/plugins/fmradio/fmradio.plugin |
d3646f07 | 250 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/fmradio/*.so |
526332bc | 251 | |
c955859c | 252 | %dir %{_libdir}/rhythmbox/plugins/generic-player |
526332bc | 253 | %{_libdir}/rhythmbox/plugins/generic-player/generic-player.plugin |
c955859c | 254 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/generic-player/*.so |
526332bc ER |
255 | |
256 | %dir %{_libdir}/rhythmbox/plugins/grilo | |
257 | %{_libdir}/rhythmbox/plugins/grilo/grilo.plugin | |
258 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/grilo/libgrilo.so | |
259 | ||
260 | %dir %{_libdir}/rhythmbox/plugins/im-status | |
261 | %{_libdir}/rhythmbox/plugins/im-status/im-status.plugin | |
ef0b84c1 JR |
262 | %{_libdir}/rhythmbox/plugins/im-status/*.py |
263 | %{_libdir}/rhythmbox/plugins/im-status/__pycache__ | |
526332bc | 264 | |
9b30d00f ER |
265 | %if %{with ipod} |
266 | %dir %{_libdir}/rhythmbox/plugins/ipod | |
526332bc | 267 | %{_libdir}/rhythmbox/plugins/ipod/ipod.plugin |
9b30d00f | 268 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/ipod/*.so |
9b30d00f | 269 | %endif |
526332bc | 270 | |
c955859c | 271 | %dir %{_libdir}/rhythmbox/plugins/iradio |
526332bc | 272 | %{_libdir}/rhythmbox/plugins/iradio/iradio.plugin |
c955859c | 273 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/iradio/*.so |
526332bc | 274 | |
c955859c | 275 | %dir %{_libdir}/rhythmbox/plugins/lyrics |
526332bc | 276 | %{_libdir}/rhythmbox/plugins/lyrics/lyrics.plugin |
ef0b84c1 JR |
277 | %{_libdir}/rhythmbox/plugins/lyrics/*.py |
278 | %{_libdir}/rhythmbox/plugins/lyrics/__pycache__ | |
526332bc | 279 | |
c955859c | 280 | %dir %{_libdir}/rhythmbox/plugins/magnatune |
526332bc | 281 | %{_libdir}/rhythmbox/plugins/magnatune/magnatune.plugin |
ef0b84c1 JR |
282 | %{_libdir}/rhythmbox/plugins/magnatune/*.py |
283 | %{_libdir}/rhythmbox/plugins/magnatune/__pycache__ | |
526332bc | 284 | |
0915357a | 285 | %dir %{_libdir}/rhythmbox/plugins/mmkeys |
526332bc | 286 | %{_libdir}/rhythmbox/plugins/mmkeys/mmkeys.plugin |
0915357a | 287 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/mmkeys/libmmkeys.so |
526332bc | 288 | |
071bf91b | 289 | %dir %{_libdir}/rhythmbox/plugins/mpris |
526332bc | 290 | %{_libdir}/rhythmbox/plugins/mpris/mpris.plugin |
071bf91b | 291 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/mpris/libmpris.so |
526332bc | 292 | |
9b30d00f ER |
293 | %if %{with mtp} |
294 | %dir %{_libdir}/rhythmbox/plugins/mtpdevice | |
526332bc | 295 | %{_libdir}/rhythmbox/plugins/mtpdevice/mtpdevice.plugin |
9b30d00f | 296 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/mtpdevice/libmtpdevice.so |
9b30d00f | 297 | %endif |
526332bc ER |
298 | |
299 | %dir %{_libdir}/rhythmbox/plugins/notification | |
300 | %{_libdir}/rhythmbox/plugins/notification/notification.plugin | |
301 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/notification/libnotification.so | |
302 | ||
c955859c | 303 | %dir %{_libdir}/rhythmbox/plugins/power-manager |
526332bc | 304 | %{_libdir}/rhythmbox/plugins/power-manager/power-manager.plugin |
c955859c | 305 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/power-manager/*.so |
526332bc | 306 | |
c955859c | 307 | %dir %{_libdir}/rhythmbox/plugins/python-console |
526332bc | 308 | %{_libdir}/rhythmbox/plugins/python-console/pythonconsole.plugin |
ef0b84c1 JR |
309 | %{_libdir}/rhythmbox/plugins/python-console/*.py |
310 | %{_libdir}/rhythmbox/plugins/python-console/__pycache__ | |
526332bc | 311 | |
c955859c | 312 | %dir %{_libdir}/rhythmbox/plugins/rb |
526332bc | 313 | %{_libdir}/rhythmbox/plugins/rb/rb.plugin |
ef0b84c1 JR |
314 | %{_libdir}/rhythmbox/plugins/rb/*.py |
315 | %{_libdir}/rhythmbox/plugins/rb/__pycache__ | |
526332bc | 316 | |
d383d96d | 317 | %dir %{_libdir}/rhythmbox/plugins/rblirc |
526332bc | 318 | %{_libdir}/rhythmbox/plugins/rblirc/rblirc.plugin |
d383d96d | 319 | %attr(755,root,root) %{_libdir}/rhythmbox/plugins/rblirc/*.so |
526332bc ER |
320 | |
321 | %dir %{_libdir}/rhythmbox/plugins/rbzeitgeist | |
322 | %{_libdir}/rhythmbox/plugins/rbzeitgeist/rbzeitgeist.plugin | |
ef0b84c1 | 323 | %{_libdir}/rhythmbox/plugins/rbzeitgeist/*.py |
27fe0f6e | 324 | %{_libdir}/rhythmbox/plugins/rbzeitgeist/__pycache__ |
526332bc ER |
325 | |
326 | %dir %{_libdir}/rhythmbox/plugins/replaygain | |
327 | %{_libdir}/rhythmbox/plugins/replaygain/replaygain.plugin | |
ef0b84c1 JR |
328 | %{_libdir}/rhythmbox/plugins/replaygain/*.py |
329 | %{_libdir}/rhythmbox/plugins/replaygain/__pycache__ | |
526332bc ER |
330 | |
331 | %dir %{_libdir}/rhythmbox/plugins/sendto | |
332 | %{_libdir}/rhythmbox/plugins/sendto/sendto.plugin | |
ef0b84c1 JR |
333 | %{_libdir}/rhythmbox/plugins/sendto/*.py |
334 | %{_libdir}/rhythmbox/plugins/sendto/__pycache__ | |
526332bc | 335 | |
3863a1c1 ŁK |
336 | %dir %{_libdir}/rhythmbox/plugins/soundcloud |
337 | %{_libdir}/rhythmbox/plugins/soundcloud/soundcloud.plugin | |
338 | %{_libdir}/rhythmbox/plugins/soundcloud/soundcloud.py | |
339 | %{_libdir}/rhythmbox/plugins/soundcloud/__pycache__ | |
340 | ||
b0f048eb JK |
341 | %dir %{_libdir}/rhythmbox/plugins/webremote |
342 | %{_libdir}/rhythmbox/plugins/webremote/webremote.plugin | |
343 | %{_libdir}/rhythmbox/plugins/webremote/*.py | |
344 | %{_libdir}/rhythmbox/plugins/webremote/__pycache__ | |
526332bc | 345 | |
f44c0a2a PZ |
346 | %files -n browser-plugin-%{name} |
347 | %defattr(644,root,root,755) | |
526332bc | 348 | %attr(755,root,root) %{_browserpluginsdir}/librhythmbox-itms-detection-plugin.so |