# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it. # %define ver_major 0.11 Name: rhythmbox Version: %ver_major.6 Release: alt1.M41.1 %def_enable python Summary: Music Management Application License: GPL Group: Sound Url: http://www.gnome.org/projects/rhythmbox/ %define pkgdocdir %_docdir/%name-%version Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2 #gw: from Fedora: http://bugzilla.gnome.org/show_bug.cgi?id=499208 Patch1: rhythmbox-0.11.3-force-python-thread-init.patch # patches from PLD Patch3: rhythmbox-pld-link.patch Patch4: rhythmbox-pld-pyc.patch # From Fedora Patch5: rhythmbox-0.11.5-xfade-buffering.patch Patch6: rhythmbox-0.11.5-ipod-vfat.patch %define desktop_file_utils_ver 0.8 %define dbus_ver 0.35 %define gconf_ver 2.8.0 %define gnome_media_ver 2.8 %define gnome_vfs_ver 2.7.4 %define gstreamer_ver 0.10.0 %define gtk_ver 2.6.0 %define musicbrainz_ver 2.1.0 %define ncb_ver 2.16.0 %define python_ver 2.3 %define scrollkeeper_ver 0.3.14 %define soup_ver 2.4.0 %define totem_ver 2.22.0 Requires(post,postun): desktop-file-utils >= %desktop_file_utils_ver PreReq: scrollkeeper >= %scrollkeeper_ver PreReq: GConf >= %gconf_ver Requires: libgtk+2 >= %gtk_ver Requires: gnome-media-common >= %gnome_media_ver Requires: gnome-vfs >= %gnome_vfs_ver Requires: libdbus-glib >= %dbus_ver Requires: libmusicbrainz >= %musicbrainz_ver Requires: libtotem-pl-parser >= %totem_ver Requires: gstreamer >= %gstreamer_ver Requires: libgst-plugins >= %gstreamer_ver Requires: gstreamer(audio-hardware-sink) Requires: gst-plugins-base Requires: gst-plugins-good Requires: gst-plugins-gconf Requires: notification-daemon %define _libexecdir %_libdir/%name BuildPreReq: desktop-file-utils BuildPreReq: iso-codes-devel intltool gnome-doc-utils libgnome-desktop libSM-devel BuildRequires: check GConf gcc-c++ gtk-doc imake libavahi-glib-devel BuildRequires: libglade-devel libgnomeui-devel libhal-devel liblirc-devel BuildRequires: libmusicbrainz-devel libnotify-devel BuildRequires: libsexy-devel libstdc++-devel termutils BuildRequires: libgnome-keyring-devel %if_enabled python BuildRequires: python-dev >= %python_ver BuildRequires: python-module-pygobject-devel BuildRequires: python-module-pygtk-devel BuildRequires: python-module-gst-devel BuildRequires: python-modules-encodings %endif BuildRequires: autoconf >= 2.53 BuildRequires: automake >= 1.7 BuildRequires: libtool >= 1.4.3 BuildRequires: glib2-devel >= 2.2.0 BuildRequires: intltool >= 0.25 BuildRequires: pkgconfig >= 0.14.0 BuildRequires: gnome-doc-utils >= 0.3.2 BuildRequires: gnome-common >= 2.3.0 BuildRequires: rpm >= 4.0.4-alt14 BuildRequires: GConf >= %gconf_ver BuildRequires: libgtk+2-devel >= %gtk_ver BuildRequires: gnome-vfs-devel >= %gnome_vfs_ver BuildRequires: gnome-media-devel >= %gnome_media_ver BuildRequires: libdbus-glib-devel >= %dbus_ver BuildRequires: libsoup2.4-devel >= %soup_ver BuildRequires: libnautilus-cd-burner-devel >= %ncb_ver BuildRequires: libmusicbrainz-devel >= %musicbrainz_ver BuildRequires: libtotem-pl-parser-devel >= %totem_ver BuildRequires: gstreamer-devel >= %gstreamer_ver BuildRequires: gstreamer-utils >= %gstreamer_ver BuildRequires: gst-plugins-devel >= %gstreamer_ver BuildRequires: libgpod-devel BuildRequires: libmtp-devel Provides: %name-plugins-audiocd Provides: %name-plugins-generic-player %if_enabled python # python bindings are linked into rhythmbox statically Provides: python%__python_version(rb) Provides: python%__python_version(rhythmdb) # FIXME: see https://bugzilla.altlinux.org/show_bug.cgi?id=15775 Provides: python%__python_version(coherence) Provides: python%__python_version(louie) %endif BuildRequires: rpm-build-compat >= 0.95 %description Rhythmbox is an integrated music management application, supporting a music library, multiple playlists, internet radio, and more. %package devel Summary: Development files for Rhythmbox Group: Development/Other Requires: %name = %version-%release %description devel Files needed to develop applications that manipulate Rhythmbox, an integrated music management application. %package devel-doc Summary: API documentation for Rhythmbox Group: Development/C %description devel-doc API documentation for Rhythmbox, an integrated music management application. %package plugins-audioscrobbler Summary: Audioscrobbler plugin for Rhythmbox Group: Sound Requires: %name = %version-%release Requires: libsoup2.4 >= %soup_ver %description plugins-audioscrobbler Plugin to the Rhythmbox music manager that adds Audioscrobbler (Last.fm) service support. %package plugins-cd-recorder Summary: CD recorder plugin for Rhythmbox Group: Sound Requires: %name = %version-%release Requires: libnautilus-cd-burner >= %ncb_ver %description plugins-cd-recorder Plugin to the Rhythmbox music manager that provides support for recording audio CDs from playlists %package plugins-daap Summary: DAAP plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-daap Plugin to the Rhythmbox music manager that provides support for DAAP Music Sharing %package plugins-fmradio Summary: FM radio plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-fmradio Plugin to the Rhythmbox music manager that provides Support for FM radio broadcasting services %package plugins-ipod Summary: iPod plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-ipod Plugin to the Rhythmbox music manager that adds support for Apple iPod media player. %package plugins-mtpdevice Summary: MTP device plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-mtpdevice Plugin to the Rhythmbox music manager that adds support for MTP devices. %package plugins-iradio Summary: Internet Radio plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-iradio Plugin to the Rhythmbox music manager that provides support for Internel Radio %package plugins-lirc Summary: LIRC plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-lirc Plugin to the Rhythmbox music manager that adds Linux Infrared Remote Control support. %package plugins-mmkeys Summary: Media Player Keys plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-mmkeys Plugin to the Rhythmbox music manager that provides control Rhythmbox using key shortcuts %package plugins-power-manager Summary: Power Manager plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-power-manager Plugin to the Rhythmbox music manager that provides inhibit Power Manager from suspending the machine while playing %package plugins-visualizer Summary: Visualizer plugin for Rhythmbox Group: Sound Requires: %name = %version-%release %description plugins-visualizer Plugin to the Rhythmbox music manager that provides displays visualizations %package plugins-python Summary: Python plugin for Rhythmbox Group: Development/Python Requires: %name = %version-%release %description plugins-python Python scripting language capabilities and several Python plugins to the Rhythmbox music manager. %package plugins Summary: All plugins for Rhythmbox Group: Sound Requires: %name-plugins-audioscrobbler = %version-%release Requires: %name-plugins-cd-recorder = %version-%release Requires: %name-plugins-daap = %version-%release Requires: %name-plugins-fmradio = %version-%release Requires: %name-plugins-ipod = %version-%release Requires: %name-plugins-iradio = %version-%release Requires: %name-plugins-lirc = %version-%release Requires: %name-plugins-mmkeys = %version-%release Requires: %name-plugins-mtpdevice = %version-%release Requires: %name-plugins-power-manager = %version-%release Requires: %name-plugins-visualizer = %version-%release #Requires: %name-plugins-python = %version-%release %description plugins This virtual package installs all Rhythmbox plugins %prep %setup -q %patch1 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p0 %build # Temporary hack %set_verify_elf_method unresolved=relaxed %autoreconf export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" %configure \ --disable-static \ --disable-schemas-install \ --disable-scrollkeeper \ --disable-dependency-tracking \ --enable-tag-writing \ --with-dbus \ --with-libnautilus-burn \ --with-cd-burning \ --with-ipod \ --with-mtp \ --with-playback=gstreamer-0-10 \ --with-mdns=avahi \ --with-gnome-keyring \ %{subst_enable python} # Non-parallel build %make %install %makeinstall install -d -m755 %buildroot%pkgdocdir install -p -m644 AUTHORS DOCUMENTERS MAINTAINERS ChangeLog README* NEWS THANKS TODO %buildroot%pkgdocdir/ bzip2 -9 %buildroot%pkgdocdir/ChangeLog ln -s %_licensedir/GPL-2 %buildroot%pkgdocdir/COPYING # remove non-packaged files %__rm -f %buildroot%_libdir/%name/plugins/*/*.la %find_lang --with-gnome %name %post %gconf2_install %name %update_scrollkeeper %update_desktopdb %update_menus %preun if [ $1 = 0 ]; then %gconf2_uninstall %name fi %postun %clean_menus %clean_desktopdb %clean_scrollkeeper %files -f %name.lang %_bindir/* %dir %_libdir/%name %dir %_libdir/%name/plugins %_libdir/lib%name-core.so.* %_libdir/%name/rhythmbox-metadata %_libdir/%name/plugins/generic-player %_libdir/%name/plugins/audiocd %_datadir/%name %_datadir/applications/* %_datadir/dbus-1/services/* %_datadir/icons/hicolor/*/apps/* %config %_sysconfdir/gconf/schemas/* %doc %_datadir/gtk-doc/html/%name %doc %pkgdocdir/AUTHORS %doc %pkgdocdir/DOCUMENTERS %doc %pkgdocdir/MAINTAINERS %doc %pkgdocdir/COPYING %doc %pkgdocdir/ChangeLog.bz2 %doc %pkgdocdir/NEWS %doc %pkgdocdir/README %doc %pkgdocdir/THANKS %doc %pkgdocdir/TODO %files plugins-audioscrobbler %_libdir/%name/plugins/audioscrobbler %files plugins-cd-recorder %_libdir/%name/plugins/cd-recorder %files plugins-daap %_libdir/%name/plugins/daap %files plugins-fmradio %_libdir/%name/plugins/fmradio %files plugins-ipod %_libdir/%name/plugins/ipod %pkgdocdir/README.iPod %files plugins-mtpdevice %_libdir/%name/plugins/mtpdevice %files plugins-iradio %_libdir/%name/plugins/iradio %files plugins-lirc %_libdir/%name/plugins/lirc %files plugins-mmkeys %_libdir/%name/plugins/mmkeys %files plugins-power-manager %_libdir/%name/plugins/power-manager %files plugins-visualizer %_libdir/%name/plugins/visualizer %if_enabled python %files plugins-python %_libdir/%name/plugins/python-console %_libdir/%name/plugins/artdisplay %_libdir/%name/plugins/jamendo %_libdir/%name/plugins/lyrics %_libdir/%name/plugins/magnatune %_libdir/%name/plugins/rb %_libdir/%name/plugins/upnp_coherence %_libdir/%name/plugins/dontreallyclose %endif %files plugins %changelog * Tue Aug 12 2008 Yuri N. Sedunov <aris@altlinux.org> 0.11.6-alt1.M41.1 - backport to ALTLinux 4.1 * Thu Jul 24 2008 Yuri N. Sedunov <aris@altlinux.org> 0.11.6-alt2 - %%name-plugins virtual package - Fedora patches (5,6) * Thu Jul 10 2008 Yuri N. Sedunov <aris@altlinux.org> 0.11.6-alt1 - new version - don't modify desktop file (patch2 removed). * Sun May 25 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.5-alt4 - Build with mtp * Sat May 17 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.5-alt3 - Rebuild with new gstreamer build * Sun Apr 06 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.5-alt2 - Requires notification-daemon * Thu Apr 03 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.5-alt1 - 0.11.5 - {update,cliean}_menus fix - *.desktop fix * Fri Mar 14 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.4-alt2 - Rebuild with soup2.4 * Wed Mar 12 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.3-alt5 - rebuild with separate totem-pl-parser * Fri Feb 29 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.3-alt4 Thanks to Alexey Shabalin <shaba@altlinux.ru> - enable gnome-keyring support - add patches: + patch0 - fix for upstream bug #506440 + patch1 - fix for upstream bug #512549 + patch2 - add support llibsoup-2.4 + patch3 - new multimedia keys API, fix for upstream bug #510406 + patch4 - force python thread init, fix for upstream bug #499208 + patch5 - fix for upstream bug #510323 + patch6 - disable power-plugin by default, RH bug #428034 + patch8 - fix for upstream bug #346434 + patch9 - fix for upstream bug #497430 + patch10 - fix Gnome bug #507450, RH bug #427612 + patch11-13 - patches from PLD * Fri Feb 22 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.3-alt3 - Dependency changed due gstreamer repackaging * Wed Jan 09 2008 Igor Zubkov <icesik@altlinux.org> 0.11.3-alt2 - rebuild with new totem-gstreamer * Mon Dec 17 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.3-alt1 - Include audiocd and generic-player plugins into core package (thanks to Alexey Shabalin<shaba@altlinux.ru>) * Mon Nov 19 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.3-alt0.2 - 0.11.3 * Tue Sep 11 2007 Igor Zubkov <icesik@altlinux.org> 0.11.0-alt0.2 - rebuild with libgpod-devel * Tue May 29 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.11.0-alt0.1 - Release 0.11.0 * Mon May 28 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.10.90-alt0.1 - Release 0.10.90 * Tue Apr 03 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 0.10.0-alt0.1 - Release 0.10.0 * Tue Feb 06 2007 ALT QA Team Robot <qa-robot@altlinux.org> 0.9.7-alt1.0 - Rebuilt with libgpod.so.1. * Sat Jan 13 2007 Ilya Mashkin <oddity@altlinux.ru> 0.9.7-alt1 - new version * Sat Oct 07 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.6-alt2 - Rebuilt with new nautilus-cd-burner * Sun Oct 01 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.6-alt1 - Release 0.9.6 - Added cd-recorder plugin package - Updated dependencies * Sun Jun 18 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.5-alt1 - Release 0.9.5 - Patch1 is obsolete - Added plugin package for ipod - No more rhythmbox-devel * Mon Jun 05 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.4.1-alt2 - Conditionally enabled python support - Provide dependency targets needed for the python plugin * Fri Jun 02 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.4.1-alt1 - Release 0.9.4.1 - Patch0: has gone upstream - Patch1: correct a libnotify version condition check to work with 0.4.0 - Do not require gst-plugins-visualization * Wed Apr 26 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.4-alt1 - Release 0.9.4 - Added plugin packages - Buildreq * Fri Mar 17 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.9.3.1-alt1 - Updated to 0.9.3.1 - Build with GStreamer 0.10 - Removed Debian-style menu - Removed most of enable/with options - Disabled iPod support by default - Patch0: fix link order to build with ld --as-needed * Wed Oct 06 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.8-alt0.5 - 0.8.8 * Mon Sep 20 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.6-alt0.5 - 0.8.6 * Thu Jul 01 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.5-alt0.5 - 0.8.5 * Sat May 08 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.3-alt0.5 - 0.8.3 * Wed Apr 21 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.1-alt0.5 - 0.8.1 * Sat Apr 17 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.0-alt0.5 - 0.8.0 * Sat Apr 03 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.7.2-alt0.5 - 0.7.2 * Fri Apr 02 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.7.1-alt0.5 - 0.7.1 * Mon Dec 22 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.6.3-alt0.5 - 0.6.3 * Thu Dec 18 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.6.2-alt0.5 - 0.6.2 * Thu Nov 20 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.6.1-alt0.5 - 0.6.1 * Mon Oct 27 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.5.88-alt0.5 - 0.5.88 * Fri Sep 05 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.5.3-alt0.5 - 0.5.3 * Thu Aug 28 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.5.2-alt0.5 - 0.5.2 * Wed Aug 20 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.5.1-alt0.5 - 0.5.1 * Tue Mar 04 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.4.1-alt0.5 - First build for Sisyphus.