Summary: Library to handle various audio file formats Name: audiofile Version: 0.2.3 Release: 1 License: LGPL Group: System Environment/Libraries Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Obsoletes: libaudiofile %description Library to handle various audio file formats. Used by the esound daemon. %package devel Summary: Libraries, includes, etc to develop audiofile applications Group: Development/Libraries Requires: %name = %version %description devel Libraries, include files, etc you can use to develop audiofile applications. %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} --includedir=%{_includedir} \ --datadir=%{_datadir} --libdir=%{_libdir} make $MAKE_FLAGS %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT # # makefile is broken, sets exec_prefix explicitely. # make exec_prefix=$RPM_BUILD_ROOT/%{_prefix} \ prefix=$RPM_BUILD_ROOT/%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \ includedir=$RPM_BUILD_ROOT%{_includedir} \ datadir=$RPM_BUILD_ROOT%{_datadir} \ libdir=$RPM_BUILD_ROOT%{_libdir} install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc COPYING TODO README ChangeLog docs %{_bindir}/* %{_libdir}/lib*.so.* %files devel %defattr(-, root, root) %{_libdir}/lib*.so %{_libdir}/*.a %{_includedir}/* %{_datadir}/aclocal/* %changelog * Tue Sep 4 2001 Gregory Leblanc - made setup quiet * Thu Aug 16 2001 Gregory Leblanc - removed unncessary %defines - fixed buildroot - fixed source URL * Sun Apr 29 2001 Gregory Leblanc - changed groups to be RH compliant - replaced copyright with license - made -devel require audiofile * Mon Feb 19 2001 Gregory Leblanc - Updated and fixed macros * Fri Nov 20 1998 Michael Fulbright - First try at a spec file