2004-01-24 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
[rhythmbox.git] / rhythmbox.spec.in
blob3d116d65351a9cc92ceea28cd757be6250c67ddb
1 # arch-tag: Rhythmbox RPM specification
3 %define gstreamer_version 0.6.0
4 %define libvorbis_version 1.0
5 %define gtk2_version 2.2.0
6 %define libgnomeui_version 2.2.0
8 Name: rhythmbox
9 Summary: Music Management Application
10 Version: @VERSION@
11 Release: 1
12 License: GPL
13 Group: Applications/Multimedia
14 Source: %{name}-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-root
16 Requires: gtk2 >= %{gtk2_version}
17 Requires: libgnomeui >= %{libgnomeui_version}
18 Requires: gstreamer >= %{gstreamer_version}
19 Requires: gstreamer-plugins >= %{gstreamer_version}
20 Requires: libvorbis >= %{libvorbis_version}
22 Prereq: GConf2
23 Prereq: /usr/bin/gconftool-2
25 BuildRequires: gstreamer-devel >= %{gstreamer_version}
26 BuildRequires: gstreamer-plugins-devel >= %{gstreamer_version}
27 BuildRequires: gtk2-devel >= %{gtk2_version}
29 %description
30 A program for organizing and playing back your music. It supports
31 most popular music formats, also supports extracting CDs.
33 %prep
34 %setup -q
36 %build
38 %configure
40 make %{?_smp_mflags}
42 %install
43 rm -rf %{buildroot}
45 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
46 %makeinstall
47 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
49 %find_lang %name
51 %clean
52 rm -rf %{buildroot}
54 %post
55 /sbin/ldconfig
56 scrollkeeper-update -q
57 GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/rhythmbox.schemas > /dev/null;
59 %postun
60 /sbin/ldconfig
61 scrollkeeper-update
63 %files -f %name.lang
64 %defattr(-, root, root)
65 %doc AUTHORS COPYING ChangeLog INSTALL README NEWS
66 %{_bindir}/rhythmbox
67 %{_sysconfdir}/gconf/schemas/rhythmbox.schemas
68 %{_datadir}/rhythmbox/*
69 %{_datadir}/applications/rhythmbox.desktop
70 %{_datadir}/application-registry/rhythmbox.applications
71 %{_datadir}/pixmaps/rhythmbox.png
72 %{_datadir}/locale/*
73 %{_datadir}/gnome-2.0/ui/*.xml
74 %{_datadir}/idl/Rhythmbox.idl
75 %{_libdir}/bonobo/librb-nautilus-context-menu.*
76 %{_libdir}/bonobo/servers/*
77 %{_libdir}/pkgconfig/*
78 %{_datadir}/gnome/help/rhythmbox/C/*
79 %{_datadir}/omf/rhythmbox/rhythmbox-C.omf
80 %{_datadir}/mime-info/rhythmbox.keys
82 %changelog
83 * Fri Nov 07 2003 Colin Walters <walters@verbum.org>
84 - Fix description, bump required gst version
86 * Wed Sep 10 2003 William Jon McCann <mccann@jhu.edu>
87 - Added missing files
89 * Thu Aug 14 2003 William Jon McCann <mccann@jhu.edu>
90 - Don't install Rhythmbox.h.
92 * Wed Aug 13 2003 William Jon McCann <mccann@jhu.edu>
93 - Updated dependencies and files
95 * Sun Oct 20 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
96 - Added documentation
98 * Thu Oct 10 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
99 - Added .applications file, rpmbuild complains about .mo files being listed twice, dont see how.
101 * Sat Jun 22 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
102 - Added gconf file
103 - Added i18n directory
105 * Sat Jun 15 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
106 - Updated for new rewrite of rhythmbox, thanks to Jeroen
108 * Mon Mar 18 2002 Jorn Baayen <jorn@nl.linux.org>
109 - removed bonobo dependency
110 * Sat Mar 02 2002 Christian Schaller <Uraeus@linuxrising.org>
111 - created new spec file