%define majver %(echo %version | cut -d. -f 1-2) Name: rhythmbox Version: 3.4.1 Release: 1mamba Summary: An integrated music management application Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://projects.gnome.org/rhythmbox/ Source0: http://ftp.acc.umu.se/pub/GNOME/sources/rhythmbox/%{majver}/rhythmbox-%{version}.tar.xz # http://bugzilla.gnome.org/show_bug.cgi?id=524079 Source1: rhythmbox.png Source2: rhythmbox-stock_music-library.png # https://bugzilla.gnome.org/show_bug.cgi?id=596615 Patch0: rhythmbox-0.12.6-no-HEAD-for-podcasts.patch # https://bugzilla.gnome.org/show_bug.cgi?id=527898 Patch1: rhythmbox-0.12.1-out-of-sync-assert.patch # https://bugzilla.gnome.org/show_bug.cgi?id=613606 Patch2: 0001-Don-t-load-AFC-devices-using-the-MTP-plugin.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: brasero-devel BuildRequires: clutter-gst-devel BuildRequires: clutter-gtk-devel BuildRequires: glibc-devel BuildRequires: gobject-introspection-devel BuildRequires: libGL-devel BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXt-devel BuildRequires: libatk-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libclutter-devel BuildRequires: libcogl-devel BuildRequires: libdw-devel BuildRequires: libenchant-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgpg-error-devel BuildRequires: libgpod-devel BuildRequires: libgraphite2-devel BuildRequires: libgrilo-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libgtk-devel BuildRequires: libharfbuzz-devel BuildRequires: libicu-devel BuildRequires: libimobiledevice-devel BuildRequires: libjpeg-devel BuildRequires: libjson-glib-devel BuildRequires: liblzma-devel BuildRequires: libmtp-devel BuildRequires: libmx-devel BuildRequires: libnotify-devel BuildRequires: libopenssl-devel BuildRequires: libpango-devel BuildRequires: libpeas-devel BuildRequires: libplist-devel BuildRequires: libpng-devel BuildRequires: libsecret-devel BuildRequires: libselinux-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libsystemd-devel BuildRequires: libtdb-devel BuildRequires: libtotem-pl-parser-devel BuildRequires: libudev-devel BuildRequires: libusbmuxd-devel BuildRequires: libusbx-devel BuildRequires: libuuid-devel BuildRequires: libwebkit-gtk3-devel BuildRequires: libwebp-devel BuildRequires: libxcb-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libz-devel BuildRequires: lirc-devel ## AUTOBUILDREQ-END BuildRequires: libplist-devel >= 1.11-1mamba BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: python-mako BuildRequires: pywebkitgtk-devel BuildRequires: libnautilus-extension-devel BuildRequires: libnspr-devel BuildRequires: xulrunner-devel BuildRequires: gstreamer-tools BuildRequires: intltool BuildRequires: libalsa-devel BuildRequires: libart_lgpl-devel BuildRequires: libbonoboui-devel BuildRequires: libcogl-devel >= 1.16 BuildRequires: libffi-devel BuildRequires: libgail-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnomeui-devel BuildRequires: libjpeg-devel BuildRequires: libtotem-pl-parser-devel >= 3.10 BuildRequires: libcogl-devel >= 1.18 BuildRequires: brasero-devel Requires: pygtk Requires: pygobject Requires: python-gst Requires: libupnp Requires: gst-plugins-bad Requires: gst-plugins-ugly Requires: gst-plugins-good Requires: gst-plugins-base Requires: libcddb BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. Rhythmbox has a number of features, including: * Easy to use music browser * Searching and sorting * Comprehensive audio format support through GStreamer * Internet Radio support * Playlists * Preliminary iPod support * CD burning (CVS) %package apidocs Group: Documentation Summary: %{name} API documentation %description apidocs Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains %{name} API documentation. %package context Summary: Context plugin for Rhythmbox Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} Requires: python-mako Requires: python-webkitgtk %description context Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains a Rhythmbox plugin to show information related to the currently playing artist and song. %package ipod Summary: Apple iPod plugin for Rhythmbox Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} Requires: libgpod >= 0.7.2 %description ipod Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains a Rhythmbox plugin to add support for Apple iPod devices (show the content, play from device) %package lirc Summary: LIRC (Infrared remote) plugin for Rhythmbox Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} %description lirc Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains a plugin to add LIRC (Infrared remote) support to Rhythmbox. %package lyrics Summary: Lyrics plugin for Rhythmbox Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} Requires: python-cElementTree %description lyrics Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains a retrieve lyrics plugin for Internet %package upnp Summary: UPNP/DLNA plugin for Rhythmbox Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} Requires: python-Coherence Requires: python-Louie #Requires: python-twisted %description upnp Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains a Rhythmbox plugin to add support for playing media from, and sending media to UPnP/DLNA network devices. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{version} %description devel Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains header files need for development. %package static Summary: Static libraries for %{name} Group: Development/Libraries Requires: %{name} = %{version} %description static Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework. This package contains static libraries need for development. %prep %setup -q # -D -T %build #%{_bindir}/gst-inspect-0.10 --print-all >& /dev/null || : %configure --disable-scrollkeeper \ --with-x # --with-ipod \ # --with-mdns=avahi \ # --with-gnome-keyring %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall mkdir -p %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/ install -m 644 %{S:1} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/rhythmbox.png for png in 16x16 24x24; do mkdir -p %{buildroot}%{_datadir}/rhythmbox/icons/hicolor/$png/places convert -geometry $png %{SOURCE2} %{buildroot}%{_datadir}/rhythmbox/icons/hicolor/$png/places/stock_music-library.png done for png in %{buildroot}%{_datadir}/gnome/help/rhythmbox/C/figures/*.png; do cpng="$(basename $png)" for dirpng in %{buildroot}%{_datadir}/gnome/help/rhythmbox/*; do if [ -d "$dirpng" -a "$dirpng" != "%{buildroot}%{_datadir}/gnome/help/rhythmbox/C" ]; then lpng="$dirpng/figures/$cpng" if [ -f "$lpng" ]; then if cmp -s $png $lpng; then rm "$lpng" ln -s "../../C/figures/$cpng" "$lpng" fi fi fi done done %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -ge 1 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi fi : %postun if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/rhythmbox %{_bindir}/rhythmbox-client %{_libdir}/librhythmbox-core.so.* %{_libdir}/mozilla/plugins/librhythmbox-itms-detection-plugin.* %dir %{_libdir}/rhythmbox/plugins %{_libdir}/rhythmbox/plugins/* %{_libexecdir}/rhythmbox-metadata %dir %{_datadir}/rhythmbox #%{_datadir}/rhythmbox/playlists.xml #%{_datadir}/rhythmbox/rhythmbox-ui.xml %{_datadir}/rhythmbox/rhythmbox.gep #%{_datadir}/rhythmbox/*.ui %dir %{_datadir}/rhythmbox/icons %dir %{_datadir}/rhythmbox/icons/hicolor %dir %{_datadir}/rhythmbox/plugins %{_datadir}/rhythmbox/plugins/* %{_datadir}/rhythmbox/icons/hicolor/* #%{_datadir}/rhythmbox/style.css %{_datadir}/appdata/rhythmbox.appdata.xml %{_datadir}/applications/rhythmbox-device.desktop %{_datadir}/applications/rhythmbox.desktop %{_datadir}/dbus-1/services/org.gnome.Rhythmbox3.service %{_datadir}/glib-2.0/schemas/org.gnome.rhythmbox.gschema.xml %dir %{_datadir}/help/*/rhythmbox %{_datadir}/help/*/rhythmbox/* %{_datadir}/icons/hicolor/*/apps/rhythmbox.png #%{_datadir}/icons/hicolor/24x24/places/music-library.png #%{_datadir}/icons/hicolor/48x48/status/rhythmbox-missing-artwork.png %{_datadir}/icons/hicolor/scalable/apps/rhythmbox-symbolic.svg %{_libdir}/girepository-1.0/MPID-3.0.typelib %{_libdir}/girepository-1.0/RB-3.0.typelib #%dir %{_datadir}/omf/rhythmbox #%{_datadir}/omf/rhythmbox/rhythmbox-*.omf %{_mandir}/man1/rhythmbox-client.1.gz %{_mandir}/man1/rhythmbox.1.gz %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/rhythmbox %dir %{_includedir}/rhythmbox/backends %{_includedir}/rhythmbox/backends/*.h %dir %{_includedir}/rhythmbox/lib %{_includedir}/rhythmbox/lib/*.h %dir %{_includedir}/rhythmbox/lib/libmediaplayerid %{_includedir}/rhythmbox/lib/libmediaplayerid/*.h %dir %{_includedir}/rhythmbox/metadata %{_includedir}/rhythmbox/metadata/*.h %dir %{_includedir}/rhythmbox/plugins %{_includedir}/rhythmbox/plugins/*.h %dir %{_includedir}/rhythmbox/podcast %{_includedir}/rhythmbox/podcast/*.h %dir %{_includedir}/rhythmbox/rhythmdb %{_includedir}/rhythmbox/rhythmdb/*.h %dir %{_includedir}/rhythmbox/shell %{_includedir}/rhythmbox/shell/*.h %dir %{_includedir}/rhythmbox/sources %{_includedir}/rhythmbox/sources/*.h %dir %{_includedir}/rhythmbox/widgets %{_includedir}/rhythmbox/widgets/*.h %dir %{_libdir}/rhythmbox/sample-plugins/ %{_libdir}/rhythmbox/sample-plugins/* %{_libdir}/librhythmbox-core.la %{_libdir}/librhythmbox-core.so %{_datadir}/gir-1.0/MPID-3.0.gir %{_datadir}/gir-1.0/RB-3.0.gir %{_libdir}/pkgconfig/rhythmbox.pc #%doc ChangeLog NEWS README* THANKS %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/rhythmbox %{_datadir}/gtk-doc/html/rhythmbox/*.html %{_datadir}/gtk-doc/html/rhythmbox/*.png %{_datadir}/gtk-doc/html/rhythmbox/rhythmbox.devhelp2 %{_datadir}/gtk-doc/html/rhythmbox/style.css %changelog * Sat Sep 10 2016 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Sat Aug 20 2016 Automatic Build System 3.4-1mamba - automatic version update by autodist * Sat Apr 23 2016 Automatic Build System 3.3.1-1mamba - automatic version update by autodist * Tue Jan 26 2016 Automatic Build System 3.3-2mamba - automatic version update by autodist * Tue Jan 26 2016 Automatic Build System 3.3-1mamba - automatic version update by autodist * Sun Apr 19 2015 Automatic Build System 3.2.1-1mamba - automatic version update by autodist * Wed Apr 15 2015 Automatic Build System 3.2-1mamba - automatic version update by autodist * Sun Oct 26 2014 Automatic Build System 3.1-1mamba - automatic version update by autodist * Sun Sep 21 2014 Silvan Calarco 3.0.3-3mamba - fix post installation scripts * Thu Sep 11 2014 Automatic Build System 3.0.3-2mamba - rebuilt by autoport with build requirements: libplist-devel>=1.11-1mamba * Sun Jun 22 2014 Silvan Calarco 3.0.3-1mamba - update to 3.0.3 * Sun Mar 23 2014 Automatic Build System 3.0.2-1mamba - automatic version update by autodist * Tue Nov 12 2013 Silvan Calarco 3.0.1-2mamba - rebuilt with libcogl 1.16 and libtotem-pl-parser 3.10 * Mon Oct 14 2013 Automatic Build System 3.0.1-1mamba - automatic version update by autodist * Sat Sep 14 2013 Automatic Build System 3.0-1mamba - automatic update by autodist * Sun Apr 14 2013 Automatic Build System 2.99.1-1mamba - automatic version update by autodist * Tue Feb 26 2013 Automatic Build System 2.98-1mamba - update to 2.98 * Sun Apr 18 2010 gil 0.12.8-1mamba - update to 0.12.8 * Thu Mar 25 2010 gil 0.12.7-1mamba - update to 0.12.7 * Fri Nov 27 2009 gil 0.12.6-2mamba - added patch: gnome bug id 524079 * Fri Nov 27 2009 gil 0.12.6-1mamba - update to 0.12.6 * Mon Sep 21 2009 gil 0.12.5-1mamba - update to 0.12.5 * Thu Aug 27 2009 gil 0.12.4-1mamba - update to 0.12.4 * Tue Jul 07 2009 gil 0.12.3-2mamba - added new sub package: lyrics * Tue Jul 07 2009 gil 0.12.3-1mamba - update to 0.12.3 * Mon Jun 01 2009 gil 0.12.2-1mamba - update to 0.12.2 * Tue May 05 2009 gil 0.12.1-2mamba - added (lib)brasero support * Wed Apr 29 2009 gil 0.12.1-1mamba - update to 0.12.1 * Fri Mar 20 2009 gil 0.12.0-1mamba - update to 0.12.0 * Wed Aug 27 2008 gil 0.11.6-1mamba - package created by autospec