2005-03-05 21:10:22 +00:00
|
|
|
Summary: Library for reading and writing sound files
|
|
|
|
Name: libsndfile
|
2006-03-16 18:26:08 +00:00
|
|
|
Version: 1.0.14
|
|
|
|
Release: 1%{?dist}
|
2005-03-05 21:10:22 +00:00
|
|
|
License: LGPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.mega-nerd.com/libsndfile/
|
|
|
|
Source0: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2005-03-05 21:10:22 +00:00
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
Provides: %{name}-octave = %{version}-%{release}
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%package devel
|
2005-03-05 01:44:40 +00:00
|
|
|
Summary: Development files for libsndfile
|
2004-11-08 04:47:40 +00:00
|
|
|
Group: Development/Libraries
|
2005-03-05 01:44:40 +00:00
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libsndfile is a C library for reading and writing sound files such as
|
|
|
|
AIFF, AU, WAV, and others through one standard interface. It can
|
|
|
|
currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and
|
|
|
|
64-bit floating point WAV files and a number of compressed formats. It
|
|
|
|
compiles and runs on *nix, MacOS, and Win32.
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libsndfile is a C library for reading and writing sound files such as
|
2005-03-05 21:10:22 +00:00
|
|
|
AIFF, AU, WAV, and others through one standard interface.
|
2004-11-08 04:47:40 +00:00
|
|
|
This package contains files needed to develop with libsndfile.
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2005-03-05 01:44:40 +00:00
|
|
|
%configure --disable-dependency-tracking
|
2004-11-08 04:47:40 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%install
|
2005-03-05 01:44:40 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT __docs
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
cp -pR $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev/html __docs
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%clean
|
2005-03-05 01:44:40 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING AUTHORS TODO README NEWS ChangeLog
|
|
|
|
%{_bindir}/sndfile-info
|
|
|
|
%{_bindir}/sndfile-play
|
|
|
|
%{_bindir}/sndfile-convert
|
2006-03-16 18:26:08 +00:00
|
|
|
%{_bindir}/sndfile-regtest
|
2004-11-08 04:47:40 +00:00
|
|
|
%{_mandir}/man1/sndfile-info.1*
|
|
|
|
%{_mandir}/man1/sndfile-play.1*
|
|
|
|
%{_mandir}/man1/sndfile-convert.1*
|
|
|
|
%{_libdir}/%{name}.so.*
|
2005-03-05 01:44:40 +00:00
|
|
|
%{_datadir}/octave
|
2004-11-08 04:47:40 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-03-05 01:44:40 +00:00
|
|
|
%doc __docs/*
|
2004-11-08 04:47:40 +00:00
|
|
|
%exclude %{_libdir}/%{name}.la
|
|
|
|
%{_includedir}/sndfile.h
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/%{name}.a
|
|
|
|
%{_libdir}/pkgconfig/sndfile.pc
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
|
2004-11-08 04:47:40 +00:00
|
|
|
%changelog
|
2006-03-16 18:26:08 +00:00
|
|
|
* Thu Mar 16 2006 Dams <anvil[AT]livna.org> - 1.0.14-1.fc5
|
|
|
|
- Updated to 1.0.14
|
|
|
|
- Dropped patch0
|
|
|
|
|
2005-05-12 17:08:58 +00:00
|
|
|
* Thu May 12 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.11-3
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-05 01:44:40 +00:00
|
|
|
* Sat Mar 5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.11-2
|
|
|
|
- Fix format string bug (#149863).
|
|
|
|
- Drop explicit Epoch 0.
|
|
|
|
|
|
|
|
* Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0.11-0.fdr.1
|
|
|
|
- Update to 1.0.11.
|
|
|
|
|
|
|
|
* Wed Oct 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0.10-0.fdr.1
|
|
|
|
- Update to 1.0.10, update URLs, include ALSA support.
|
|
|
|
- Disable dependency tracking to speed up the build.
|
|
|
|
- Add missing ldconfig invocations.
|
|
|
|
- Make -devel require pkgconfig.
|
|
|
|
- Include developer docs in -devel.
|
|
|
|
- Provide -octave in main package, own more related dirs.
|
|
|
|
- Bring specfile up to date with current spec templates.
|
2004-11-11 19:21:37 +00:00
|
|
|
|
2005-03-05 21:10:22 +00:00
|
|
|
* Sat Apr 12 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 04:47:40 +00:00
|
|
|
- Initial build.
|