Summary: CD ripper
Summary(pl): Ripper p³yt CD
Name: sound-juicer
-Version: 0.2
-Release: 1
+Version: 0.5.10.1
+Release: 2
License: GPL
Group: X11/Applications/Multimedia
Source0: http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
-# Source0-md5: 3a7e4e8f4ba889fd0ab5588660c87fe6
-URL: http://www.burtonini.com
+# Source0-md5: a879cce136a1f26274f0cb1906fbec71
+Patch0: %{name}-locale-names.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.6.0
-BuildRequires: gstreamer-devel >= 0.6.0
-BuildRequires: gstreamer-vorbis >= 0.6.0
+BuildRequires: gstreamer-cdparanoia >= 0.6.1
+BuildRequires: gstreamer-devel >= 0.6.1
+BuildRequires: gstreamer-vorbis >= 0.6.1
+Buildrequires: intltool >= 0.20
BuildRequires: libglade2-devel
BuildRequires: libgnomeui-devel
-BuildRequires: libmusicbrainz-devel >= 2.0.0
-Requires: gstreamer-cdparanoia >= 0.6.0
-Requires: gstreamer-vorbis >= 0.6.0
+BuildRequires: libmusicbrainz-devel >= 2.1.0
Requires(post): GConf2
+Requires(post): scrollkeeper
+Requires: gstreamer-cdparanoia >= 0.6.1
+Requires: gstreamer-vorbis >= 0.6.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
+
+mv po/{no,nb}.po
%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure \
--disable--schemas-install
%install
rm -rf $RPM_BUILD_ROOT
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+ DESTDIR=$RPM_BUILD_ROOT \
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%find_lang %{name} --with-gnome
rm -rf $RPM_BUILD_ROOT
%post
+/usr/bin/scrollkeeper-update
%gconf_schema_install
+%postun -p /usr/bin/scrollkeeper-update
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README TODO
%attr(755,root,root) %{_bindir}/*
%{_sysconfdir}/gconf/schemas/*
%{_datadir}/%{name}
-%{_datadir}/applications/*
+%{_desktopdir}/*
%{_pixmapsdir}/*
+%{_omf_dest_dir}/%{name}