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