%define majver %(echo %version | cut -d. -f 1-2) Name: rhythmbox Version: 3.4.8 Release: 1mamba Summary: An integrated music management application Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://wiki.gnome.org/Apps/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: glibc-devel BuildRequires: gobject-introspection-devel BuildRequires: libX11-devel BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgpod-devel BuildRequires: libgrilo-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libgtk3-devel BuildRequires: libgudev-devel BuildRequires: libjson-glib-devel BuildRequires: libmtp-devel BuildRequires: libnotify-devel BuildRequires: libpango-devel BuildRequires: libpeas1-devel BuildRequires: libsoup-devel BuildRequires: libtdb-devel BuildRequires: libtotem-pl-parser-devel BuildRequires: libxml2-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 %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 needed 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 needed for development. %debug_package %prep %setup -q # -D -T # Fix meson strict version check sed -i "s|> 0.62.0|> 0.62.99|" meson.build %build %meson %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install %find_lang %{name} :<< __OLD 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 __OLD %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.* %dir %{_libdir}/rhythmbox/plugins %{_libdir}/rhythmbox/plugins/* %{_libexecdir}/rhythmbox-metadata %{_datadir}/applications/org.gnome.Rhythmbox3*.desktop %{_datadir}/metainfo/org.gnome.Rhythmbox3.appdata.xml %dir %{_datadir}/rhythmbox %{_datadir}/rhythmbox/rhythmbox.gep %dir %{_datadir}/rhythmbox/plugins %{_datadir}/rhythmbox/plugins/* %{_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/scalable/apps/org.gnome.Rhythmbox*.svg %{_libdir}/girepository-1.0/MPID-3.0.typelib %{_libdir}/girepository-1.0/RB-3.0.typelib %{_mandir}/man1/rhythmbox.1* %{_mandir}/man1/rhythmbox-client.1* %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 %{_libdir}/librhythmbox-core.so %{_datadir}/gir-1.0/MPID-3.0.gir %{_datadir}/gir-1.0/RB-3.0.gir %{_datadir}/vala/vapi/rb.vapi %{_datadir}/vala/vapi/rhythmdb.vapi %{_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 * Mon Nov 11 2024 Automatic Build System 3.4.8-1mamba - automatic version update by autodist * Mon Apr 17 2023 Automatic Build System 3.4.7-1mamba - automatic version update by autodist * Thu Jun 23 2022 Automatic Build System 3.4.6-1mamba - automatic version update by autodist * Thu May 26 2022 Automatic Build System 3.4.5-1mamba - automatic version update by autodist * Sat May 08 2021 Silvan Calarco 3.4.4-2mamba - removed python 2 requirements * Wed Mar 25 2020 Automatic Build System 3.4.4-1mamba - automatic version update by autodist * Sat Feb 02 2019 Automatic Build System 3.4.3-1mamba - automatic version update by autodist * Sat Oct 28 2017 Automatic Build System 3.4.2-1mamba - automatic version update by autodist * 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