rpms/audiofile/devel audiofile.spec,1.22,1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sun Feb 4 02:13:55 UTC 2007


Author: mclasen

Update of /cvs/dist/rpms/audiofile/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32675

Modified Files:
	audiofile.spec 
Log Message:
Corrections from package review



Index: audiofile.spec
===================================================================
RCS file: /cvs/dist/rpms/audiofile/devel/audiofile.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- audiofile.spec	27 Jul 2006 23:29:00 -0000	1.22
+++ audiofile.spec	4 Feb 2007 02:13:53 -0000	1.23
@@ -1,16 +1,16 @@
-Summary: A library for accessing various audio file formats.
+Summary: A library for accessing various audio file formats
 Name: audiofile
 Version: 0.2.6
-Release: 5
+Release: 6%{?dist}
 Epoch: 1
 License: LGPL
 Group: System Environment/Libraries
 Source: ftp://ftp.gnome.org/pub/gnome/sources/audiofile/0.2/audiofile-%{version}.tar.bz2
+URL: http://www.68k.org/~michael/audiofile/
 Patch0: audiofile-underquoted.patch
 Patch1: audiofile-const.patch
 Patch2: audiofile-multilib.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Prereq: /sbin/ldconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
 %description
 The Audio File library is an implementation of the Audio File Library
@@ -22,10 +22,10 @@
 any of the sound file formats it can handle.
 
 %package devel
-Summary: Development files for Audio File applications.
+Summary: Development files for Audio File applications
 Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}
-Requires: pkgconfig >= 0:0.8
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: pkgconfig >= 1:0.8
 
 %description devel
 The audiofile-devel package contains libraries, include files, and
@@ -38,27 +38,23 @@
 %patch2 -p1 -b .multilib
 
 %build
-%configure
+%configure --disable-static
 make
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %makeinstall
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f docs/Makefile*
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-, root, root)
@@ -76,6 +72,9 @@
 %{_datadir}/aclocal/*
 
 %changelog
+* Sat Feb  3 2007 Matthias Clasen <mclasen at redhat.com> - 1:0.2.6-6
+- Corrections from package review
+ 
 * Thu Jul 27 2006 Matthias Clasen <mclasen at redhat.com> - 1:0.2.6-5
 - Fix multilib conflicts
 - Don't ship static libraries




More information about the fedora-cvs-commits mailing list