Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 80ee1c3a23626488dd91e09c9603f943 > files > 2

audiofile-0.2.3-2mdk.src.rpm

%define lib_major 0
%define lib_name lib%{name}%{lib_major}

Summary: Library to handle various audio file formats.
Name:		audiofile
Version:	0.2.3
Release:	2mdk
License:	LGPL
Group:		System/Libraries

Source:		ftp://oss.sgi.com/projects/audiofile/download/%{name}-%{version}.tar.bz2
URL:		http://oss.sgi.com./projects/audiofile/
BuildRoot:	%_tmppath/%name-%version-root

%description
The Silicon Graphics Audio File Library provides a uniform programming 
interface to standard digital audio file formats.

Currently supported sound file formats include AIFF/AIFF-C, WAVE, and
NeXT/Sun .snd/.au. Supported compression formats are currently G.711 
mu-law and A-law. 
Used by the esound daemon.

%package -n %{lib_name}
Summary:	Main library for audiofile 
Group:		System/Libraries

%description -n %{lib_name}
This package contains the library needed to run programs dynamically
linked with audiofile.

%package -n %{lib_name}-devel
Summary: 	Includes and other files to develop audiofile applications
Group: 		Development/C
Requires: 	%{lib_name} = %{version}
Provides: 	lib%{name}-devel = %{version}
Provides:	audiofile-devel = %{version}
Obsoletes:	audiofile-devel

%description -n %{lib_name}-devel
Libraries, include files and other resources you can use to develop audiofile
applications.

%prep

%setup -q

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT

%makeinstall

%post -n %{lib_name} -p /sbin/ldconfig

%postun -n %{lib_name} -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING README
%{_bindir}/sfconvert
%{_bindir}/sfinfo

%files -n %{lib_name}
%defattr(-, root, root)
%doc COPYING README
%{_libdir}/*.so.*


%files -n %{lib_name}-devel
%defattr(-, root, root)
%doc COPYING README ACKNOWLEDGEMENTS TODO NEWS NOTES ChangeLog docs
%{_bindir}/audiofile-config
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
%{_datadir}/aclocal/*.m4
%{_libdir}/pkgconfig/*


%changelog
* Thu Nov 29 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.2.3-2mdk
- Add pkgconfig file

* Tue Nov 27 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.2.3-1mdk
- Release 0.2.3

* Fri Jul 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.2.2-1mdk
- Release 0.2.2

* Tue Feb 27 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.2.1-1mdk
- Release 0.2.1

* Wed Jan 17 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.1.11-6mdk
- Remove provides audiofile from lib
- Re-add .so in -devel package

* Fri Dec 15 2000 David BAUDENS <baudens@mandrakesoft.com> 0.1.11-5mdk
- Obsoletes: audiofile-devel to prevent conflicts

* Wed Nov 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.1.11-4mdk
- Provides audiofile and audiofile-devel.

* Mon Nov 27 2000 dam's <damien@mandrakesoft.com> 0.1.11-3mdk
- new lib policy.

* Mon Nov  6 2000 dam's <damien@mandrakesoft.com> 0.1.11-2mdk
- cosmetik changes.

* Sun Oct 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.1.11-1mdk
- new version aka shiny source.

* Fri Jul 21 2000 dam's <damien@mandrakesoft.com> 0.1.9-5mdk
- BM + macrozification

* Wed Jun 21 2000 dam's <damien@mandrakesoft.com> 0.1.9-4mdk
- mandrake release

* Wed Apr 12 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.9-3mdk
- new groups
- cleaned up specfile

* Wed Nov  3 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Update URL.
- (NMU)

* Fri Sep 24 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- 0.1.9

* Mon Jun 28 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Add the .m4 files in devel package.
- Last CVS version from Mon Jun 28 1999.

* Mon Jun 14 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- 0.1.7

* Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Mandrake adpatations.
- We stripping with our macros ;-).

* Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
- strip binaries before packaging

* Thu Feb 25 1999 Michael Fulbright <drmike@redhat.com>
- Version 0.1.6

* Sun Feb 21 1999 Michael Fulbright <drmike@redhat.com>
- Removed libtoolize from %build

* Wed Feb 3 1999 Jonathan Blandfor <jrb@redhat.com>
- Newer version with bug fix.  Upped release.

* Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
- integrating into rawhide release at GNOME freeze

* Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
- First try at a spec file