]> git.pld-linux.org Git - packages/sound-juicer.git/blobdiff - sound-juicer.spec
- 2.15.3
[packages/sound-juicer.git] / sound-juicer.spec
index 60d2d620d272221018dea6dba7952335d62813d5..62631ccd854fa215ac02bff79ccb04991f14858b 100644 (file)
@@ -1,34 +1,39 @@
-# Conditional build
-%bcond_with    hal     # enable HAL support
-#
 Summary:       CD ripper
 Summary(pl):   Ripper p³yt CD
 Name:          sound-juicer
-Version:       0.5.13
-Release:       0.91
-License:       GPL
+Version:       2.15.3
+Release:       1
+License:       GPL v2+
 Group:         X11/Applications/Multimedia
-Source0:       http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
-# Source0-md5: 0b3fcd80d91c78153961378b5c2f01a3
-Patch0:                %{name}-am_include.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.15/%{name}-%{version}.tar.bz2
+# Source0-md5: 050cc1db0c681d023b784a4c8a9c9738
+Patch0:                %{name}-desktop.patch
 URL:           http://www.burtonini.com/blog/computers/sound-juicer/
-BuildRequires: GConf2-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gtk+2-devel
-BuildRequires: gstreamer-cdparanoia >= 0.8.1
-BuildRequires: gstreamer-devel >= 0.8.3
-BuildRequires: gstreamer-vorbis >= 0.8.1
-%{?with_hal:BuildRequires:      hal-devel >= 0.2.98}
-Buildrequires: intltool >= 0.20
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel
+BuildRequires: GConf2-devel >= 2.14.0
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.9
+BuildRequires: gnome-doc-utils >= 0.7.1
+BuildRequires: gnome-media-devel >= 2.14.0
+BuildRequires: gnome-vfs2-devel >= 2.15.2
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.7
+BuildRequires: gtk+2-devel >= 2:2.9.2
+BuildRequires: intltool >= 0.35
+BuildRequires: libcdio-devel
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeui-devel >= 2.15.1
 BuildRequires: libmusicbrainz-devel >= 2.1.0
+BuildRequires: libtool
+BuildRequires: nautilus-cd-burner-devel >= 2.15.3
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper >= 0.3.5
-Requires(post):        GConf2
-Requires(post):        scrollkeeper
-Requires:      gstreamer-cdparanoia >= 0.8.1
-Requires:      gstreamer-vorbis >= 0.8.1
+Requires(post,preun):  GConf2 >= 2.14.0
+Requires(post,postun): gtk+2 >= 2:2.9.2
+Requires(post,postun): scrollkeeper
+Requires:      gstreamer-cdparanoia >= 0.10
+Requires:      hicolor-icon-theme
+Requires:      libgnomeui >= 2.15.1
+Requires:      nautilus-cd-burner-libs >= 2.15.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,13 +47,15 @@ Sound Juicer, ripper p
 %patch0 -p1
 
 %build
+gnome-doc-prepare --copy --force
+%{__intltoolize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable--schemas-install \
-       --%{?with_hal:en}%{!?with_hal:dis}able-hal
-
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -58,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
 
 %find_lang %{name} --with-gnome
 
@@ -66,17 +73,30 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
+%gconf_schema_install sound-juicer.schemas
+%scrollkeeper_update_post
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%banner %{name} -e << EOF
+To be able to rip a CD, You need to install appropriate
+GStreamer plugins:
+- gstreamer-audio-formats (encoding to WAVE)
+- gstreamer-flac (encoding to FLAC)
+- gstreamer-vorbis (encoding to Ogg Vorbis)
+EOF
+
+%preun
+%gconf_schema_uninstall sound-juicer.schemas
 
-%postun -p /usr/bin/scrollkeeper-update
+%postun
+%scrollkeeper_update_postun
+gtk-update-icon-cache -qf %{_datadir}/icons/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}/*
 %{_omf_dest_dir}/%{name}
+%{_iconsdir}/hicolor/*/apps/*
+%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.058495 seconds and 4 git commands to generate.