]> git.pld-linux.org Git - packages/sound-juicer.git/blobdiff - sound-juicer.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/sound-juicer.git] / sound-juicer.spec
index 8ac9f0c482abe6cc8fcd578d42db7f59e9004a0e..a11840e8b1fd4eabf7306795ba01d868c76dc6b9 100644 (file)
@@ -1,34 +1,39 @@
 Summary:       CD ripper
 Summary(pl):   Ripper p³yt CD
 Name:          sound-juicer
-Version:       2.10.1
+Version:       2.16.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Multimedia
-Source0:       http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.10/%{name}-%{version}.tar.bz2
-# Source0-md5: 59a5e142cf39152bcbc1467d02e4494a
+Source0:       http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.16/%{name}-%{version}.tar.bz2
+# Source0-md5: 4611ab664a863fe68ea1f3b0aeb7aa7b
 Patch0:                %{name}-desktop.patch
 URL:           http://www.burtonini.com/blog/computers/sound-juicer/
-BuildRequires: GConf2-devel
+BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf >= 2.52
-BuildRequires: automake >= 1.6
-BuildRequires: gnome-media-devel >= 2.10.0-0.2
-BuildRequires: gnome-vfs2-devel >= 2.10.0-2
-BuildRequires: gstreamer-GConf-devel >= 0.8.8
-BuildRequires: gstreamer-devel >= 0.8.9
-BuildRequires: gtk+2-devel >= 2:2.6.3
-BuildRequires: intltool >= 0.33
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel >= 2.10.0-2
+BuildRequires: automake >= 1.9
+BuildRequires: gnome-doc-utils >= 0.8.0
+BuildRequires: gnome-media-devel >= 2.16.1
+BuildRequires: gnome-vfs2-devel >= 2.16.1
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
+BuildRequires: gtk+2-devel >= 2:2.10.5
+BuildRequires: intltool >= 0.35
+BuildRequires: libcdio-devel
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeui-devel >= 2.16.0
 BuildRequires: libmusicbrainz-devel >= 2.1.0
-BuildRequires: nautilus-cd-burner-devel >= 2.10.0-2
+BuildRequires: libtool
+BuildRequires: nautilus-cd-burner-devel >= 2.16.1
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.196
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.5
-Requires(post,preun):  GConf2
+Requires(post,preun):  GConf2 >= 2.14.0
+Requires(post,postun): gtk+2 >= 2:2.10.5
 Requires(post,postun): scrollkeeper
-Requires:      gstreamer-cdparanoia >= 0.8.8
-Requires:      nautilus-cd-burner-libs >= 2.10.0-2
+Requires:      gstreamer-cdparanoia >= 0.10.10
+Requires:      hicolor-icon-theme
+Requires:      libgnomeui >= 2.16.0
+Requires:      nautilus-cd-burner-libs >= 2.16.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,11 +47,15 @@ Sound Juicer, ripper p
 %patch0 -p1
 
 %build
+%{__gnome_doc_prepare}
+%{__intltoolize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable--schemas-install \
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -56,16 +65,15 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-
 %find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update -q
-%gconf_schema_install /etc/gconf/schemas/sound-juicer.schemas
+%gconf_schema_install sound-juicer.schemas
+%scrollkeeper_update_post
+%update_icon_cache hicolor
 %banner %{name} -e << EOF
 To be able to rip a CD, You need to install appropriate
 GStreamer plugins:
@@ -75,21 +83,18 @@ GStreamer plugins:
 EOF
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/sound-juicer.schemas
-fi
+%gconf_schema_uninstall sound-juicer.schemas
 
 %postun
-if [ $1 = 0 ]; then
-       /usr/bin/scrollkeeper-update -q
-fi
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/gconf/schemas/*
 %{_datadir}/%{name}
-%{_desktopdir}/*
-%{_pixmapsdir}/*
+%{_desktopdir}/*.desktop
 %{_omf_dest_dir}/%{name}
+%{_iconsdir}/hicolor/*/apps/*
+%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.072758 seconds and 4 git commands to generate.