diff --git a/.cvsignore b/.cvsignore index e69de29..aa60a45 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +flac-1.1.0.tar.gz diff --git a/flac.spec b/flac.spec new file mode 100644 index 0000000..6963fd4 --- /dev/null +++ b/flac.spec @@ -0,0 +1,87 @@ +%define xmmsinputdir %(test -f /usr/bin/xmms-config && /usr/bin/xmms-config --input-plugin-dir || :) + +Summary: An encoder/decoder for the Free Lossless Audio Codec. +Name: flac +Version: 1.1.0 +Release: 1 +License: LGPL/GPL +Group: Applications/Multimedia +Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz +Patch: flac-1.1.0-m4.patch +URL: http://flac.sourceforge.net/ +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: xmms-devel, libogg-devel, doxygen + +%description +FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC +is similar to Ogg Vorbis, but lossless. The FLAC project consists of +the stream format, reference encoders and decoders in library form, +flac, a command-line program to encode and decode FLAC files, metaflac, +a command-line metadata editor for FLAC files and input plugins for +various music players (the xmms plugin is in a sub-package). + +%package devel +Summary: Static libraries and header files from FLAC. +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This package contains all the files needed to develop applications that +will use the Free Lossless Audio Codec. + +%package xmms +Summary: X MultiMedia System plugin to play FLAC files. +Group: Applications/Multimedia +Requires: xmms >= 0.9.5.1, %{name} = %{version} + +%description xmms +An input plugin that enables playback of FLAC files in xmms. + +%prep +%setup -q +%patch -p1 + +%build +%configure +make %{?_smp_mflags} +#make check + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{xmmsinputdir} +%makeinstall \ + xmmsinputplugindir=%{buildroot}%{xmmsinputdir} +find doc/ -name "Makefile*" -exec rm -f {} \; + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%doc AUTHORS COPYING* README +%{_bindir}/flac +%{_bindir}/metaflac +%{_libdir}/*.so.* +%{_mandir}/man1/* + +%files devel +%defattr(-, root, root) +%doc doc/html +%{_includedir}/* +%{_libdir}/*.a +%exclude %{_libdir}/*.la +%{_libdir}/*.so +%{_datadir}/aclocal/*.m4 + +%files xmms +%defattr(-, root, root) +%exclude %{xmmsinputdir}/*.la +%{xmmsinputdir}/*.so + +%changelog +* Wed Aug 6 2003 Bill Nottingham 1.1.0-1 +- initial build diff --git a/sources b/sources index e69de29..1f7dfaa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +19b456a27b5fcf502c76cc33f33e1490 flac-1.1.0.tar.gz