Corrections from package review

epel9
Matthias Clasen 18 years ago
parent d3027f2cc3
commit 2177baacc2

@ -1,16 +1,16 @@
Summary: A library for accessing various audio file formats. Summary: A library for accessing various audio file formats
Name: audiofile Name: audiofile
Version: 0.2.6 Version: 0.2.6
Release: 5 Release: 6%{?dist}
Epoch: 1 Epoch: 1
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.gnome.org/pub/gnome/sources/audiofile/0.2/audiofile-%{version}.tar.bz2 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 Patch0: audiofile-underquoted.patch
Patch1: audiofile-const.patch Patch1: audiofile-const.patch
Patch2: audiofile-multilib.patch Patch2: audiofile-multilib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prereq: /sbin/ldconfig
%description %description
The Audio File library is an implementation of the Audio File Library The Audio File library is an implementation of the Audio File Library
@ -22,10 +22,10 @@ Install audiofile if you are installing EsounD or you need an API for
any of the sound file formats it can handle. any of the sound file formats it can handle.
%package devel %package devel
Summary: Development files for Audio File applications. Summary: Development files for Audio File applications
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version} Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: pkgconfig >= 0:0.8 Requires: pkgconfig >= 1:0.8
%description devel %description devel
The audiofile-devel package contains libraries, include files, and The audiofile-devel package contains libraries, include files, and
@ -38,27 +38,23 @@ other resources you can use to develop Audio File applications.
%patch2 -p1 -b .multilib %patch2 -p1 -b .multilib
%build %build
%configure %configure --disable-static
make make
%install %install
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}
%makeinstall %makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f docs/Makefile* rm -f docs/Makefile*
%post %post -p /sbin/ldconfig
/sbin/ldconfig
%postun %postun -p /sbin/ldconfig
/sbin/ldconfig
%clean %clean
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
@ -76,6 +72,9 @@ rm -rf %{buildroot}
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%changelog %changelog
* Sat Feb 3 2007 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-6
- Corrections from package review
* Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-5 * Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 1:0.2.6-5
- Fix multilib conflicts - Fix multilib conflicts
- Don't ship static libraries - Don't ship static libraries

Loading…
Cancel
Save