Name: libsndfile Version: 1.0.20 Release: 1ark Summary: Library for reading and writing files containing sampled sound URL: http://www.mega-nerd.com/libsndfile/ Source: http://www.mega-nerd.com/libsndfile/%name-%version.tar.gz Patch1: libsndfile-1.0.17-autotools.patch License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root %track prog %name = { url = http://www.mega-nerd.com/libsndfile/ regex = %name-(__VER__)\.tar\.gz version = %version } %description Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development files (Headers etc.) for %{name}. %package static Summary: Static libraries for linking ot %{name} Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static libraries for linking to %{name}. Install this package if you wish to develop or compile applications using %name statically (users of the resulting binary won't need %name installed with static linking). %prep %setup %patch1 -p1 -b .autotools~ libtoolize --force aclocal -I M4 automake -a autoconf %configure %build make %?_smp_mflags htmldocdir=%_docdir/%name-devel-%version %install rm -rf $RPM_BUILD_ROOT make %?_smp_mflags install DESTDIR=$RPM_BUILD_ROOT htmldocdir=%_docdir/%name-devel-%version %files %defattr(-,root,root) %{_libdir}/*.so* %{_bindir}/* %{_mandir}/man1/* %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/sndfile.pc %{_includedir}/* %optional %{_datadir}/octave/site/m/sndfile* %doc %_docdir/%name-devel-%version %files static %defattr(-,root,root) %{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Mon Aug 3 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.20-1ark - 1.0.20 - Add rpm5 tracking info * Tue Mar 10 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.19-1ark - 1.0.19 * Thu Jul 17 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.17-3ark - Rebuild so rpm 5.x can pick up the "libsndfile.so.1(libsndfile.so.1.0) provide * Sun Jun 10 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.17-2ark - Rebuild against libFLAC.so.8 * Thu Nov 2 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.17-1ark - 1.0.17 - Follow current packaging standards (.so -> core, .la -> /dev/null) * Tue Dec 27 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.12-1ark - 1.0.12 * Tue Sep 14 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.10-2ark - Fix build as non-root user * Thu Aug 26 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.10-1ark - 1.0.10 * Tue May 20 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.5-1ark - initial RPM