]> git.pld-linux.org Git - packages/sound-juicer.git/blobdiff - sound-juicer.spec
- fixed hal build, reverted hal bcond, rel.1, tested - ready for STBR
[packages/sound-juicer.git] / sound-juicer.spec
index 460275122b35d308b555a7dba58e0d54cdab6e05..596bba20b08b8e252852efbe84f0ff3a7a8199ff 100644 (file)
@@ -1,24 +1,34 @@
+# Conditional build
+%bcond_without hal     # disable HAL support
+#
 Summary:       CD ripper
 Summary(pl):   Ripper p³yt CD
 Name:          sound-juicer
-Version:       0.4.1
+Version:       0.5.13
 Release:       1
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
-# Source0-md5: 79fbeb3fc6228dd1aa4c06f272b9dff5
+# Source0-md5: 0b3fcd80d91c78153961378b5c2f01a3
+Patch0:                %{name}-hal_build_fixes.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.1
-BuildRequires: gstreamer-devel >= 0.6.1
-BuildRequires: gstreamer-vorbis >= 0.6.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}
+Buildrequires: intltool >= 0.20
 BuildRequires: libglade2-devel
 BuildRequires: libgnomeui-devel
-BuildRequires: libmusicbrainz-devel >= 2.0.1
-Requires:      gstreamer-cdparanoia >= 0.6.1
-Requires:      gstreamer-vorbis >= 0.6.1
+BuildRequires: libmusicbrainz-devel >= 2.1.0
+BuildRequires: scrollkeeper >= 0.3.5
 Requires(post):        GConf2
+Requires(post):        scrollkeeper
+Requires:      gstreamer-cdparanoia >= 0.8.1
+Requires:      gstreamer-vorbis >= 0.8.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,10 +39,15 @@ Sound Juicer, ripper p
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
-       --disable--schemas-install
+       --disable--schemas-install \
+       --%{?with_hal:en}%{!?with_hal:dis}able-hal
 
 %{__make}
 
@@ -43,19 +58,25 @@ 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
 %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}
This page took 0.063914 seconds and 4 git commands to generate.