rpms/sound-juicer/devel sound-juicer.spec,1.116,1.117
Matthias Clasen
mclasen at fedoraproject.org
Wed Jul 29 05:23:30 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/sound-juicer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6729
Modified Files:
sound-juicer.spec
Log Message:
Drop unneded direct deps
Index: sound-juicer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sound-juicer/devel/sound-juicer.spec,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -p -r1.116 -r1.117
--- sound-juicer.spec 27 Jul 2009 03:22:41 -0000 1.116
+++ sound-juicer.spec 29 Jul 2009 05:23:30 -0000 1.117
@@ -8,7 +8,7 @@
Name: sound-juicer
Summary: Clean and lean CD ripper
Version: 2.26.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: Applications/Multimedia
Source: http://download.gnome.org/sources/sound-juicer/2.26/%{name}-%{version}.tar.bz2
@@ -38,6 +38,7 @@ BuildRequires: scrollkeeper >= %{scroll
BuildRequires: gcc-c++
BuildRequires: gettext intltool
BuildRequires: libcanberra-devel
+BuildRequires: automake autoconf libtool
ExcludeArch: s390 s390x
@@ -48,12 +49,19 @@ GStreamer-based CD ripping tool. Saves a
%setup -q
%patch0 -p1 -b .gvfs-crasher
+autoreconf -i -f
+
%build
# work around a gstreamer problem where it
# doesn't find plugins the first time around
DBUS_FATAL_WARNINGS=0 /usr/bin/gst-inspect-0.10 --print-all
%configure --disable-scrollkeeper
+# drop unneeded direct library deps with --as-needed
+# libtool doesn't make this easy, so we do it the hard way
+sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+export tagname=CC
make AM_CFLAGS=-export-dynamic
@@ -109,12 +117,14 @@ fi
%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
%{_datadir}/sound-juicer
%{_datadir}/applications/sound-juicer.desktop
-%{_datadir}/omf/sound-juicer
%{_datadir}/icons/hicolor/*/apps/sound-juicer.png
%{_datadir}/icons/hicolor/*/apps/sound-juicer.svg
%{_mandir}/man1/*
%changelog
+* Wed Jul 29 2009 Matthias Clasen <mclasen at redhat.com> - 2.26.1-5
+- Drop unneeded direct deps
+
* Sun Jul 26 2009 Matthias Clasen <mclasen at redhat.com> - 2.26.1-4
- Rebuild to shrink GConf schemas
More information about the fedora-extras-commits
mailing list