Mass letter "l" update, one or more apply :

- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
This commit is contained in:
Matthias Saou 2005-03-03 22:41:32 +00:00
parent 519335f991
commit 9b415054a9

View File

@ -1,22 +1,20 @@
Summary: A library for performing sample rate conversion on audio. Summary: Library for performing sample rate conversion on audio
Name: libsamplerate Name: libsamplerate
Version: 0.0.15 Version: 0.0.15
Release: 5 Release: 5
Epoch: 0 License: GPL
License: GPL Group: System Environment/Libraries
Group: System Environment/Libraries URL: http://www.mega-nerd.com/SRC/
URL: http://www.mega-nerd.com/SRC/ Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz
Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: libsndfile-devel >= 0:1.0.2 BuildRequires: libsndfile-devel >= 0:1.0.2
BuildRequires: pkgconfig fftw-devel BuildRequires: pkgconfig fftw-devel
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{version}-%{release}
# -----------------------------------------------------------------------------
%description %description
Secret Rabbit Code is a sample rate converter for audio. It is capable Secret Rabbit Code is a sample rate converter for audio. It is capable
@ -33,38 +31,32 @@ output sample rates can be a real number. The conversion ratio can
also vary with time for speeding up and slowing down effects. also vary with time for speeding up and slowing down effects.
This package contains development files for %{name} This package contains development files for %{name}
# -----------------------------------------------------------------------------
%prep %prep
%setup -q %setup -q
# -----------------------------------------------------------------------------
%build %build
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
# -----------------------------------------------------------------------------
%install %install
rm -rf $RPM_BUILD_ROOT _doc rm -rf $RPM_BUILD_ROOT _doc
%makeinstall %makeinstall
mkdir _doc mkdir _doc
cp -a doc _doc cp -a doc _doc
rm _doc/doc/Makefile* _doc/doc/NEWS _doc/doc/ChangeLog rm _doc/doc/Makefile* _doc/doc/NEWS _doc/doc/ChangeLog
# -----------------------------------------------------------------------------
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog _doc/doc/* %doc AUTHORS COPYING ChangeLog _doc/doc/*
@ -79,7 +71,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.a %{_libdir}/lib*.a
%{_libdir}/pkgconfig/samplerate.pc %{_libdir}/pkgconfig/samplerate.pc
# -----------------------------------------------------------------------------
%changelog %changelog
* Tue Jul 13 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.0.15-0.fdr.5 * Tue Jul 13 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.0.15-0.fdr.5
@ -94,5 +85,5 @@ rm -rf $RPM_BUILD_ROOT
* Wed Jun 25 2003 Dams <anvil[AT]livna.org> 0:0.0.15-0.fdr.2 * Wed Jun 25 2003 Dams <anvil[AT]livna.org> 0:0.0.15-0.fdr.2
- Added some more doc - Added some more doc
* Thu May 22 2003 Dams <anvil[AT]livna.org> * Thu May 22 2003 Dams <anvil[AT]livna.org>
- Initial build. - Initial build.