Blob Blame History Raw
Summary: 	A library for reading and writing sound files.
Name: 		libsndfile
Version: 	1.0.4
Release: 	0.fdr.1.rh80
Epoch:		0
License: 	LGPL
Group: 		System Environment/Libraries
URL: 		http://www.zip.com.au/~erikd/libsndfile/
Source0: 	http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	pkgconfig

%package devel
Summary:	Development files for libsndfile.
Group:		Development/Libraries
Requires:	%{name} = %{epoch}:%{version}-%{release}

#---------------------------------------------------------------------
%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
AIFF, AU, WAV, and others through one standard interface. 
This package contains files needed to develop with libsndfile.

#---------------------------------------------------------------------
%prep
%setup -q

#---------------------------------------------------------------------
%build
%configure
make %{?_smp_mflags}

#---------------------------------------------------------------------
%install
rm -rf %{buildroot}
%makeinstall

#---------------------------------------------------------------------
%clean
rm -rf %{buildroot}

#---------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%doc COPYING AUTHORS TODO README NEWS ChangeLog
%{_bindir}/sndfile-info
%{_bindir}/sndfile-play
%{_bindir}/sndfile-convert
%{_mandir}/man1/sndfile-info.1*
%{_mandir}/man1/sndfile-play.1*
%{_mandir}/man1/sndfile-convert.1*
%{_libdir}/%{name}.so.*
%{_datadir}/octave/site/m/sndfile_load.m
%{_datadir}/octave/site/m/sndfile_play.m
%{_datadir}/octave/site/m/sndfile_save.m

%files devel
%defattr(-,root,root,-)
%exclude %{_libdir}/%{name}.la
%{_includedir}/sndfile.h
%{_libdir}/%{name}.so
%{_libdir}/%{name}.a
%{_libdir}/pkgconfig/sndfile.pc

#---------------------------------------------------------------------
%changelog
* Sat Apr 12 2003 Dams <anvil[AT]livna.org> 
- Initial build.