]> git.pld-linux.org Git - packages/sound-juicer.git/blobdiff - sound-juicer.spec
- 2.23.3
[packages/sound-juicer.git] / sound-juicer.spec
index 56f864e5b742303e454e5c69587a256d53bae94d..6201712bd1454a3e4fcd4b2c3b8ccd818cc8305d 100644 (file)
@@ -1,53 +1,77 @@
 Summary:       CD ripper
-Summary(pl):   Ripper p³yt CD
+Summary(pl.UTF-8):     Ripper płyt CD
 Name:          sound-juicer
-Version:       0.5.12
+Version:       2.23.3
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         X11/Applications/Multimedia
-Source0:       http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
-# Source0-md5: 5ad2cbb1acb91d51d2a67f14d552ae4e
-Patch0:                %{name}-locale-names.patch
-Patch1:                %{name}-devfs.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.23/%{name}-%{version}.tar.bz2
+# Source0-md5: 5507bcdc6051d520c6a7aa150c2f48ba
+# http://bugzilla.gnome.org/show_bug.cgi?id=552090
+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
-Buildrequires: intltool >= 0.20
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: libmusicbrainz-devel >= 2.1.0
+BuildRequires: GConf2-devel >= 2.22.0
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1:1.9
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gnome-doc-utils
+BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.16.0
+BuildRequires: gnome-doc-utils >= 0.12.1
+BuildRequires: gnome-media-devel >= 2.22.0
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
+BuildRequires: gtk+2-devel >= 2:2.12.8
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libcdio-devel >= 0.70
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.22.0
+BuildRequires: taglib-devel
+BuildRequires: libmusicbrainz-devel >= 2.1.3
+BuildRequires: libtool
+BuildRequires: nautilus-cd-burner-devel >= 2.22.0
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.5
-Requires(post):        GConf2
-Requires(post):        scrollkeeper
-Requires:      gstreamer-cdparanoia >= 0.8.1
-Requires:      gstreamer-vorbis >= 0.8.1
+BuildRequires: sed >= 4.0
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      gstreamer-cdparanoia >= 0.10.10
+Requires:      libgnomeui >= 2.22.0
+Requires:      nautilus-cd-burner-libs >= 2.22.0
+Suggests:      gstreamer-audio-formats
+Suggests:      gstreamer-flac
+Suggests:      gstreamer-lame
+Suggests:      gstreamer-taglib
+Suggests:      gstreamer-vorbis
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
 
-%description -l pl
-Sound Juicer, ripper p³yt CD u¿ywaj±cy GTK+ i GStreamera.
+%description -l pl.UTF-8
+Sound Juicer, ripper płyt CD używający GTK+ i GStreamera.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-
-mv po/{no,nb}.po
 
 %build
+%{__gnome_doc_prepare}
+%{__intltoolize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --disable--schemas-install
-
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -57,23 +81,29 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
+%gconf_schema_install sound-juicer.schemas
+%scrollkeeper_update_post
+%update_icon_cache hicolor
+
+%preun
+%gconf_schema_uninstall sound-juicer.schemas
 
-%postun -p /usr/bin/scrollkeeper-update
+%postun
+%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/*
+%attr(755,root,root) %{_bindir}/sound-juicer
 %{_datadir}/%{name}
-%{_desktopdir}/*
-%{_pixmapsdir}/*
-%{_omf_dest_dir}/%{name}
+%{_mandir}/man1/sound-juicer.1*
+%{_desktopdir}/sound-juicer.desktop
+%{_iconsdir}/hicolor/*/apps/*
+%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.088305 seconds and 4 git commands to generate.