cannam@125: cannam@125: %define name @PACKAGE@ cannam@125: %define version @VERSION@ cannam@125: %define release 1 cannam@125: cannam@125: Summary: A library to handle various audio file formats. cannam@125: Name: %{name} cannam@125: Version: %{version} cannam@125: Release: %{release} cannam@125: Copyright: LGPL cannam@125: Group: Libraries/Sound cannam@125: Source: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz cannam@125: Url: http://www.mega-nerd.com/libsndfile/ cannam@125: BuildRoot: /var/tmp/%{name}-%{version} cannam@125: cannam@125: %description cannam@125: libsndfile is a C library for reading and writing sound files such as cannam@125: AIFF, AU and WAV files through one standard interface. It can currently cannam@125: read/write 8, 16, 24 and 32-bit PCM files as well as 32-bit floating cannam@125: point WAV files and a number of compressed formats. cannam@125: cannam@125: %package devel cannam@125: Summary: Libraries, includes, etc to develop libsndfile applications cannam@125: Group: Libraries cannam@125: cannam@125: %description devel cannam@125: Libraries, include files, etc you can use to develop libsndfile applications. cannam@125: cannam@125: %prep cannam@125: %setup cannam@125: cannam@125: %build cannam@125: %configure cannam@125: make cannam@125: cannam@125: %install cannam@125: if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi cannam@125: mkdir -p $RPM_BUILD_ROOT cannam@125: make DESTDIR=$RPM_BUILD_ROOT install cannam@125: %clean cannam@125: if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi cannam@125: cannam@125: %files cannam@125: %defattr(-,root,root) cannam@125: %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc cannam@125: %{_libdir}/libsndfile.so.* cannam@125: %{_bindir}/* cannam@125: %{_mandir}/man1/* cannam@125: %{_datadir}/octave/site/m/* cannam@125: %{_defaultdocdir}/libsndfile1-dev/html/* cannam@125: cannam@125: %files devel cannam@125: %defattr(-,root,root) cannam@125: %{_libdir}/libsndfile.a cannam@125: %{_libdir}/libsndfile.la cannam@125: %{_libdir}/libsndfile.so cannam@125: %{_includedir}/sndfile.h cannam@125: %{_libdir}/pkgconfig/sndfile.pc cannam@125: cannam@125: %changelog cannam@125: * Sun May 15 2005 Erik de Castro Lopo cannam@125: - Add html files to the files section. cannam@125: * Tue Sep 16 2003 Erik de Castro Lopo cannam@125: - Apply corrections from Andrew Schultz. cannam@125: * Mon Oct 21 2002 Erik de Castro Lopo cannam@125: - Force installation of sndfile.pc file. cannam@125: * Thu Jul 6 2000 Josh Green cannam@125: - Created libsndfile.spec.in cannam@125: