From 60d23ec6ff4559cdff0a98d826899ea41438370e Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Wed, 29 Sep 2004 14:50:20 +0000 Subject: [PATCH] - link to .pdf spec rather than ship redundant copy - spec cleanups --- libvorbis.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/libvorbis.spec b/libvorbis.spec index 67dd87c..337e033 100644 --- a/libvorbis.spec +++ b/libvorbis.spec @@ -1,10 +1,10 @@ -Summary: The Vorbis General Audio Compression Codec. +Summary: The Vorbis General Audio Compression Codec. Name: libvorbis Version: 1.0.1 -Release: 4 +Release: 5 Epoch: 1 -Group: System Environment/Libraries -Copyright: BSD +Group: System Environment/Libraries +License: BSD URL: http://www.xiph.org/ Source: http://www.xiph.org/ogg/vorbis/download/%{name}-%{version}.tar.gz Patch: libvorbis-1.0-m4.patch @@ -39,18 +39,23 @@ needed to develop applications with Ogg Vorbis. %patch2 -p1 -b .underquoted perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure perl -p -i -e "s/-ffast-math//" configure +# link to .pdf spec rather than ship redundant copy +perl -p -i -e "s@Vorbis_I_spec.pdf@http://www.xiph.org/ogg/vorbis/doc/Vorbis_I_spec.pdf@" doc/index.html +rm -f doc/Vorbis_I_spec.pdf %build %configure --with-ogg-libraries=%{_libdir} make %install -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + + %files %defattr(-,root,root) %doc AUTHORS COPYING README @@ -72,13 +77,17 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_datadir}/aclocal/vorbis.m4 %clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog +* Wed Sep 29 2004 Warren Togami 1:1.0.1-5 +- link to .pdf spec rather than ship redundant copy +- spec cleanups + * Thu Jul 15 2004 Tim Waugh 1:1.0.1-4 - Fixed warnings in shipped m4 file.