]> git.pld-linux.org Git - packages/sound-juicer.git/blobdiff - sound-juicer.spec
- applied upstream
[packages/sound-juicer.git] / sound-juicer.spec
index 2ebf2b8887a1fd57391534dc1e2c1c95ceb07f8d..a3d6334fb0acfad4d16fdbee6bfe450664427885 100644 (file)
@@ -1,57 +1,73 @@
-#
-# Conditional build
-%bcond_without hal     # disable HAL support
-#
 Summary:       CD ripper
-Summary(pl):   Ripper p³yt CD
+Summary(pl.UTF-8):     Ripper płyt CD
 Name:          sound-juicer
-Version:       0.6.0
+Version:       2.24.0
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         X11/Applications/Multimedia
-Source0:       http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
-# Source0-md5: bab9ac8e3f0ba66f360485aafdd379f8
-Patch0:                %{name}-desktop.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.24/%{name}-%{version}.tar.bz2
+# Source0-md5: 504979aadec8df1e59c1050bc968b2aa
 URL:           http://www.burtonini.com/blog/computers/sound-juicer/
-BuildRequires: GConf2-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gtk+2-devel
-BuildRequires: gnome-media-devel
-BuildRequires: gstreamer-GConf-devel >= 0.8.1
-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-5}
-BuildRequires: intltool >= 0.20
-BuildRequires: libglade2-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: libmusicbrainz-devel >= 2.1.0
+BuildRequires: GConf2-devel >= 2.24.0
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1:1.9
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils
+BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.18.0
+BuildRequires: gnome-doc-utils >= 0.14.0
+BuildRequires: gnome-media-devel >= 2.24.0
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
+BuildRequires: gtk+2-devel >= 2:2.14.0
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libcdio-devel >= 0.70
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.24.0
+BuildRequires: taglib-devel
+BuildRequires: libmusicbrainz-devel >= 2.1.3
+BuildRequires: libtool
+BuildRequires: nautilus-cd-burner-devel >= 2.24.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
+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.24.0
+Requires:      nautilus-cd-burner-libs >= 2.24.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
 
 %build
+%{__gnome_doc_prepare}
+%{__intltoolize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --disable--schemas-install \
-       --%{?with_hal:en}%{!?with_hal:dis}able-hal
-
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -61,25 +77,29 @@ 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
+%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.062104 seconds and 4 git commands to generate.