Corrections from package review

This commit is contained in:
Matthias Clasen 2007-02-04 02:13:53 +00:00
parent d3027f2cc3
commit 2177baacc2
1 changed files with 15 additions and 16 deletions

View File

@ -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 @@ Install audiofile if you are installing EsounD or you need an API for
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 @@ other resources you can use to develop Audio File applications.
%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 @@ rm -rf %{buildroot}
%{_datadir}/aclocal/*
%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
- Fix multilib conflicts
- Don't ship static libraries