a4d6826
%define desktop_file_utils_version 0.9
a4d6826
cvsdist f7afce8
Name: rhythmbox
cvsdist f7afce8
Summary: Music Management Application 
cd82a8e
Version: 0.9.3.1
cd82a8e
Release: 1
cvsdist f7afce8
License: GPL
cvsdist 71e5ebc
Group: Applications/Multimedia
afbac00
Source: ftp://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.8/%{name}-%{version}.tar.bz2
cvsdist a0a8572
cvsdist f7afce8
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist eba34bc
Requires: gtk2 >= 2.4.0
cvsdist eba34bc
Requires: libgnomeui >= 2.6.0
cvsdist f7afce8
Requires: eel2 >= 2.0.0
e6418be
Requires: libgpod 
e6418be
BuildRequires: libgpod-devel
cvsdist eba34bc
BuildRequires: libgnomeui-devel >= 2.6.0
485ff35
BuildRequires: nautilus-cd-burner-devel
cd82a8e
BuildRequires: gstreamer-plugins-base-devel >= 0.10
cvsdist 71e5ebc
BuildRequires: gettext, scrollkeeper
426fbc5
BuildRequires: totem-devel >= 1.1.5
05fb6a9
BuildRequires: gnome-vfs2 >= 2.7.4
05fb6a9
BuildRequires: avahi-glib-devel >= 0.6
05fb6a9
BuildRequires: libmusicbrainz-devel >= 2.1.0
4bc7bab
BuildRequires: dbus-devel >= 0.60
a4d6826
PreReq: desktop-file-utils >= %{desktop_file_utils_version}
3f41830
# no nautilus-cd-burner on s390
3f41830
ExcludeArch: s390 s390x
cvsdist f7afce8
cvsdist f7afce8
%description
cvsdist 71e5ebc
Rhythmbox is an integrated music management application based on the powerful
cvsdist ba72409
GStreamer media framework. It has a number of features, including an easy to
cvsdist 71e5ebc
use music browser, searching and sorting, comprehensive audio format support
cvsdist 71e5ebc
through GStreamer, Internet Radio support, playlists and more.
cvsdist f7afce8
cvsdist f7afce8
%prep
afbac00
%setup -q
cvsdist f7afce8
cvsdist 71e5ebc
%build
cvsdist a0a8572
e6418be
%configure --with-bonobo --with-ipod --with-dbus --with-mdns=avahi
cvsdist ba72409
%{__make} %{?_smp_mflags}
cvsdist f7afce8
cvsdist f7afce8
%install
cvsdist f7afce8
rm -rf %{buildroot}
cvsdist f7afce8
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
3ebeaae
make install DESTDIR=$RPM_BUILD_ROOT 
cvsdist f7afce8
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
cvsdist 71e5ebc
rm -f %{buildroot}%{_libdir}/bonobo/*.{a,la}
3ebeaae
rm -f %{buildroot}%{_libdir}/bonobo/librb-nautilus-context-menu.so
2316114
2316114
for serverfile in $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server; do
68b8d4e
    sed -i -e 's|location *= *"/usr/lib\(64\)*/|location="/usr/$LIB/|' $serverfile
2316114
done
2316114
cvsdist f7afce8
%find_lang %name
cvsdist f7afce8
4867a43
# Default internet radio stations use mp3
cvsdist 71e5ebc
rm %{buildroot}%{_datadir}/rhythmbox/iradio-initial.pls
cvsdist 71e5ebc
touch %{buildroot}%{_datadir}/rhythmbox/iradio-initial.pls
cvsdist 71e5ebc
05fb6a9
# Don't package api docs
05fb6a9
rm -rf %{buildroot}/%{_datadir}/gtk-doc/
05fb6a9
cvsdist f7afce8
%clean
cvsdist f7afce8
rm -rf %{buildroot}
cvsdist f7afce8
cvsdist f7afce8
%post 
cvsdist f7afce8
/sbin/ldconfig
cvsdist f7afce8
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
cvsdist 71e5ebc
SCHEMAS="rhythmbox.schemas"
cvsdist f7afce8
for S in $SCHEMAS; do 
cvsdist 71e5ebc
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
cvsdist f7afce8
done
27d696a
update-desktop-database %{_datadir}/applications
cvsdist f7afce8
184fc49
%postun
184fc49
/sbin/ldconfig
27d696a
update-desktop-database %{_datadir}/applications
cvsdist f7afce8
cvsdist 71e5ebc
%files -f %{name}.lang
cvsdist f7afce8
%defattr(-, root, root)
cvsdist 71e5ebc
%doc AUTHORS COPYING ChangeLog README NEWS
cvsdist f7afce8
%{_bindir}/*
cvsdist f7afce8
%{_sysconfdir}/gconf/schemas/rhythmbox.schemas
cvsdist f7afce8
%{_datadir}/rhythmbox/*
cvsdist f7afce8
%{_datadir}/applications/rhythmbox.desktop
cvsdist f7afce8
%{_datadir}/pixmaps/rhythmbox.png
cvsdist f7afce8
%{_datadir}/application-registry/*
cvsdist f7afce8
%{_datadir}/gnome/help/rhythmbox
cvsdist f7afce8
%{_datadir}/omf/rhythmbox/*
cvsdist 71e5ebc
%{_datadir}/idl/Rhythmbox.idl
cvsdist 71e5ebc
%{_datadir}/mime-info/rhythmbox.keys
cvsdist 71e5ebc
%{_libdir}/bonobo/servers/*.server
3ebeaae
%{_datadir}/dbus-1/services/org.gnome.Rhythmbox.service
cvsdist 71e5ebc
%{_libdir}/pkgconfig/rhythmbox.pc
cvsdist f7afce8
cvsdist f7afce8
%changelog
cd82a8e
* Sat Feb  4 2006 Christopher Aillon <caillon@redhat.com> 0.9.3.1-1
cd82a8e
- Update to 0.9.3.1
cd82a8e
- Use gstreamer (0.10)
cd82a8e
83e044f
* Wed Feb  1 2006 Christopher Aillon <caillon@redhat.com> 0.9.3-2
83e044f
- Remove hack for 173869, as its no longer needed.
83e044f
b53f1d8
* Wed Feb  1 2006 Christopher Aillon <caillon@redhat.com> 0.9.3-1
b53f1d8
- 0.9.3
b53f1d8
5ebe3cb
* Wed Feb  1 2006 Christopher Aillon <caillon@redhat.com> 0.9.2.cvs20060201-1
5ebe3cb
- Newer CVS snapshot
5ebe3cb
910323d
* Sun Jan 22 2006 Christopher Aillon <caillon@redhat.com> 0.9.2.cvs20060123-1
c399cb1
- Update to latest CVS
c399cb1
- Add hack to workaround bug #173869
4f91842
a16e76c
* Thu Jan 19 2006 Christopher Aillon <caillon@redhat.com> 0.9.2-8
a16e76c
- Rebuild, now that gstreamer08-plugins has been fixed
a16e76c
00f3d45
* Thu Jan 19 2006 Ray Strode <rstrode@redhat.com> 0.9.2-7
2316114
- bonobo multilib issue (bug 156982)
2316114
e6418be
* Wed Jan 04 2006 John (J5) Palmieri <johnp@redhat.com> 0.9.2-5
e6418be
- rebuild with ipod support
e6418be
f94fc81
* Tue Jan 03 2006 Jesse Keating <jkeating@redhat.com> 0.9.2-4
f94fc81
- rebuilt again
f94fc81
0454ab3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0454ab3
- rebuilt
0454ab3
272a07a
* Mon Dec  5 2005 Matthias Clasen <mclasen@redhat.com>
272a07a
- rebuild
272a07a
4bc7bab
* Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com>
4bc7bab
- rebuild for new dbus
4bc7bab
bc3e9e5
* Wed Nov 30 2005 Matthias Clasen <mclasen@redhat.com>
bc3e9e5
- Update to 0.9.2
bc3e9e5
afbac00
* Tue Oct 25 2005 Matthias Clasen <mclasen@redhat.com>
afbac00
- Update to 0.9.1
afbac00
485ff35
* Fri Sep 02 2005 Colin Walters <walters@redhat.com> 
23d7607
- Add configure flags --with-bonobo --with-dbus
485ff35
- BR nautilus-cd-burner-devel
3ebeaae
- New upstream CVS snapshot for testing
3ebeaae
- Drop IDL file and ui .xml
3ebeaae
- Add dbus service file
3ebeaae
- Drop upstreamed rhythmbox-bluecurve.tar.gz
3ebeaae
- Drop upstreamed rhythmbox-0.8.8-cell-renderer.patch
3ebeaae
6015c58
* Fri Jun 13 2005 Colin Walters <walters@redhat.com> - 0.8.8-3
4867a43
- Add Bluecurve-ized icons from Jeff Schroeder (157716)
6015c58
- Add rhythmbox-0.8.8-cell-renderer.patch to remove use of custom
6015c58
  cell renderer for playback icon (no longer necessary) and
6015c58
  changes the rating renderer to work with non-b&w icons
4867a43
c3dcb25
* Mon Mar 14 2005 Colin Walters <walters@redhat.com> - 0.8.8-2
c3dcb25
- Rebuild for GCC4
c3dcb25
b7eda3f
* Tue Oct 05 2004 Colin Walters <walters@redhat.com> - 0.8.8-1
b7eda3f
- New upstream version
b7eda3f
- Remove librb-nautilus-context-menu.so, killed upstream
b7eda3f
a4d6826
* Thu Sep 30 2004 Christopher Aillon <caillon@redhat.com> 0.8.7-2
a4d6826
- PreReq desktop-file-utils >= 0.9
a4d6826
5b4b1cf
* Sat Sep 29 2004 Colin Walters <walters@redhat.com> - 0.8.7-1
5b4b1cf
- New upstream version
5b4b1cf
184fc49
* Sat Sep 18 2004 Colin Walters <walters@redhat.com> - 0.8.6-2
184fc49
- Fix postun to use correct syntax, thanks Nils Philippsen
184fc49
27d696a
* Sat Sep 18 2004 Colin Walters <walters@redhat.com> - 0.8.6-1
27d696a
- New upstream version
27d696a
- Call update-desktop-database in post and postun
27d696a
cvsdist c0d57f1
* Thu Jun 24 2004 Colin Walters <walters@redhat.com> - 0.8.5-1
cvsdist c0d57f1
- New upstream version
cvsdist c0d57f1
cvsdist 81a6c4f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 81a6c4f
- rebuilt
cvsdist 81a6c4f
cvsdist eba34bc
* Tue May 18 2004 Colin Walters <walters@redhat.com> - 0.8.4-1
cvsdist eba34bc
- New upstream version
cvsdist eba34bc
- Remove backported patches
cvsdist eba34bc
- Gratuitiously bump various BuildRequires versions
cvsdist eba34bc
cvsdist eba34bc
* Mon May 10 2004 Colin Walters <walters@redhat.com> - 0.8.3-4
cvsdist eba34bc
- Remove code to unregister GConf schema for now (Closes: #122532)
cvsdist eba34bc
cvsdist ba72409
* Thu May 07 2004 Colin Walters <walters@redhat.com> - 0.8.3-3
cvsdist ba72409
- Apply tiny patch from 0.8 arch to fix GConf key used
cvsdist ba72409
  for initial sorting
cvsdist ba72409
cvsdist ba72409
* Thu May 07 2004 Colin Walters <walters@redhat.com> - 0.8.3-2
cvsdist ba72409
- Apply patch from 0.8 arch tree to fix a number of memleaks
cvsdist ba72409
cvsdist ba72409
* Thu May 02 2004 Colin Walters <walters@redhat.com> - 0.8.3-1
cvsdist ba72409
- Update to 0.8.3: fixes showstopper bug with internet radio
cvsdist ba72409
cvsdist ba72409
* Thu Apr 30 2004 Colin Walters <walters@redhat.com> - 0.8.2-1
cvsdist ba72409
- Update to 0.8.2
cvsdist ba72409
- Fix Source url
cvsdist ba72409
- Add smp_mflags
cvsdist ba72409
- Bump BuildRequires on gstreamer to 0.8.1
cvsdist ba72409
cvsdist ba72409
* Tue Apr 23 2004 Colin Walters <walters@redhat.com> - 0.8.1-2
cvsdist ba72409
- Uninstall GConf schemas on removal
cvsdist ba72409
cvsdist ba72409
* Tue Apr 20 2004 Colin Walters <walters@redhat.com> - 0.8.1-1
cvsdist ba72409
- Update to 0.8.1
cvsdist ba72409
cvsdist ba72409
* Fri Apr 16 2004 Colin Walters <walters@redhat.com> - 0.8.0-1
cvsdist ba72409
- Update to 0.8.0
cvsdist ba72409
cvsdist ba72409
* Fri Apr 02 2004 Colin Walters <walters@redhat.com> - 0.7.2-1
cvsdist ba72409
- Update to 0.7.2
cvsdist ba72409
cvsdist ba72409
* Mon Mar 29 2004 Colin Walters <walters@redhat.com> - 0.7.1-2
cvsdist ba72409
- Remove BuildRequires on autoconf and libvorbis-devel
cvsdist ba72409
cvsdist ba72409
* Mon Mar 29 2004 Colin Walters <walters@redhat.com> - 0.7.1-1
cvsdist ba72409
- New major version - I know we are past major version slush, but
cvsdist ba72409
  this should have been done two weeks ago along with the GNOME 2.6
cvsdist ba72409
  upload.  As upstream author as well, I believe this version is
cvsdist ba72409
  good enough for FC2.
cvsdist ba72409
- Remove --disable-mp3
cvsdist ba72409
- Remove id3, flac variables
cvsdist ba72409
- Remove GStreamer major version patch
cvsdist ba72409
- Fix typo in description
cvsdist ba72409
cvsdist a0a8572
* Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> - 0.6.8-2
cvsdist a0a8572
- rebuild for new gstreamer
cvsdist a0a8572
cvsdist a0a8572
* Thu Mar 11 2004 Alex Larsson <alexl@redhat.com> 0.6.8-1
cvsdist a0a8572
- update to 0.6.8
cvsdist a0a8572
cvsdist a0a8572
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a0a8572
- rebuilt
cvsdist a0a8572
cvsdist a0a8572
* Mon Mar  1 2004 Alexander Larsson <alexl@redhat.com> 0.6.7-1
cvsdist a0a8572
- update to 0.6.7
cvsdist a0a8572
cvsdist a0a8572
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a0a8572
- rebuilt
cvsdist a0a8572
cvsdist f15e236
* Mon Jan 12 2004 Colin Walters <walters@verbum.org> 0.6.4-1
cvsdist f15e236
- New upstream version
cvsdist f15e236
- Don't re-run the autotools; upstream incorporates newer versions.
cvsdist 71e5ebc
* Tue Oct 28 2003 Jonathan Blandford <jrb@redhat.com> 0.5.4-1
cvsdist 71e5ebc
- new version
cvsdist 71e5ebc
- remove smp_flags
cvsdist 71e5ebc
cvsdist 71e5ebc
* Fri Oct 24 2003 Jonathan Blandford <jrb@redhat.com> 0.5.3-5
cvsdist 71e5ebc
- remove the initial iradio channels as they all are mp3 based.
cvsdist 71e5ebc
cvsdist 71e5ebc
* Wed Oct  8 2003 Matthias Saou <matthias@rpmforge.net> 0.5.3-3
cvsdist 71e5ebc
- Fix category from Development/Libraries to Applications/Multimedia.
cvsdist 71e5ebc
- Use bz2 instead of gz as ftp.gnome.org has both, 300k saved in the src.rpm.
cvsdist 71e5ebc
- Fix SCHEMES vs. SCHEMAS in the post scriplet.
cvsdist 71e5ebc
- Added gstreamer-plugins-devel, libvorbis-devel, scrollkeeper and gettext deps.
cvsdist 71e5ebc
- Removed unnecessary date expansion define.
cvsdist 71e5ebc
- Updated description, including mp3 reference removal.
cvsdist 71e5ebc
- Added libid3tag and flac optional support for convenient rebuild.
cvsdist 71e5ebc
- Removed obsolete omf.make and xmldocs.make (included ones are the same now).
cvsdist 71e5ebc
cvsdist 71e5ebc
* Mon Sep 22 2003 Jonathan Blandford <jrb@redhat.com> 0.5.3-1
cvsdist 71e5ebc
- new version
cvsdist 71e5ebc
- use %{_sysconfdir} instead of /etc
cvsdist 71e5ebc
cvsdist 71e5ebc
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 71e5ebc
- rebuilt
cvsdist 71e5ebc
cvsdist f7afce8
* Wed Dec 18 2002 Jonathan Blandford <jrb@redhat.com>
cvsdist f7afce8
- gave up on other archs for the Beta
cvsdist f7afce8
- new version
cvsdist f7afce8
- remove werror and add missing files
cvsdist f7afce8
cvsdist f7afce8
* Thu Nov  7 2002 Jeremy Katz <katzj@redhat.com>
cvsdist f7afce8
- update to newer cvs snap
cvsdist f7afce8
cvsdist f7afce8
* Mon Sep 23 2002 Jeremy Katz <katzj@redhat.com>
cvsdist f7afce8
- update to cvs snap
cvsdist f7afce8
cvsdist f7afce8
* Sun Sep 22 2002 Jeremy Katz <katzj@redhat.com>
cvsdist f7afce8
- use %%(lang)
cvsdist f7afce8
cvsdist f7afce8
* Sun Aug 11 2002 Jeremy Katz <katzj@redhat.com>
cvsdist f7afce8
- fix post to actually install the schema
cvsdist f7afce8
cvsdist f7afce8
* Sat Jun 22 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
cvsdist f7afce8
- Added gconf file
cvsdist f7afce8
- Added i18n directory
cvsdist f7afce8
cvsdist f7afce8
* Sat Jun 15 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
cvsdist f7afce8
- Updated for new rewrite of rhythmbox, thanks to Jeroen
cvsdist f7afce8
cvsdist f7afce8
* Mon Mar 18 2002 Jorn Baayen <jorn@nl.linux.org>
cvsdist f7afce8
- removed bonobo dependency
cvsdist f7afce8
* Sat Mar 02 2002 Christian Schaller <Uraeus@linuxrising.org>
cvsdist f7afce8
- created new spec file