2004-09-09 04:45:51 +00:00
|
|
|
%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
|
2005-03-28 17:11:48 +00:00
|
|
|
Version: 1.1.2
|
|
|
|
Release: 1
|
2004-09-09 04:45:51 +00:00
|
|
|
License: LGPL/GPL
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz
|
2005-03-28 17:11:48 +00:00
|
|
|
Patch1: flac-1.1.2-libtool.patch
|
2005-02-23 19:26:34 +00:00
|
|
|
Patch3: flac-1.1.0-gnu-stack.patch
|
2004-09-09 04:45:51 +00:00
|
|
|
URL: http://flac.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2005-02-23 19:26:34 +00:00
|
|
|
BuildRequires: xmms-devel, glib-devel, libogg-devel, doxygen, nasm
|
2004-09-09 04:47:19 +00:00
|
|
|
Obsoletes: flac-libs
|
2004-09-09 04:45:51 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2004-09-09 04:47:19 +00:00
|
|
|
%package -n xmms-%{name}
|
|
|
|
Summary: XMMS input plugin needed to play FLAC (Free Lossless Audio Codec) files.
|
2004-09-09 04:45:51 +00:00
|
|
|
Group: Applications/Multimedia
|
2004-09-09 04:47:19 +00:00
|
|
|
Requires: xmms >= 1:1.2.7
|
|
|
|
Obsoletes: flac-xmms
|
2004-09-09 04:45:51 +00:00
|
|
|
|
2004-09-09 04:47:19 +00:00
|
|
|
%description -n xmms-%{name}
|
|
|
|
FLAC is a Free Lossless Audio Codec. The FLAC format supports
|
|
|
|
streaming, seeking, and archival, and gives 25-75% compression on
|
|
|
|
typical CD audio.
|
|
|
|
This is the input plugin for XMMS to be able to FLAC files.
|
2004-09-09 04:45:51 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-03-28 19:07:14 +00:00
|
|
|
%patch1 -p1 -b .libtool
|
2005-02-23 19:26:34 +00:00
|
|
|
%patch3 -p1 -b .gnu-stack
|
2004-09-09 04:45:51 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%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
|
2004-09-09 04:47:19 +00:00
|
|
|
%defattr(-, root, root,-)
|
2004-09-09 04:45:51 +00:00
|
|
|
%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
|
|
|
|
|
2004-09-09 04:47:19 +00:00
|
|
|
%files -n xmms-%{name}
|
|
|
|
%defattr(-, root, root,-)
|
2004-09-09 04:45:51 +00:00
|
|
|
%exclude %{xmmsinputdir}/*.la
|
|
|
|
%{xmmsinputdir}/*.so
|
|
|
|
|
|
|
|
%changelog
|
2005-03-28 17:11:48 +00:00
|
|
|
* Mon Mar 28 2005 John (J5) Palmieri <johnp@redhat.com> 1.1.2-1
|
|
|
|
- Update to upstream version 1.1.2
|
|
|
|
- Replace flac-1.1.0-libtool.patch with flac-1.1.2-libtool.patch
|
|
|
|
|
2005-03-02 23:31:16 +00:00
|
|
|
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> 1.1.0-9
|
|
|
|
- rebuild for gcc 4.0
|
|
|
|
|
2005-02-23 19:26:34 +00:00
|
|
|
* Wed Feb 23 2005 Colin Walters <walters@redhat.com> 1.1.0-8
|
|
|
|
- New patch flac-1.1.0-gnu-stack.patch from Ulrich Drepper to mark asm
|
|
|
|
as not requiring an executable stack
|
2005-02-01 16:12:32 +00:00
|
|
|
|
2004-09-09 04:47:30 +00:00
|
|
|
* Thu Jul 15 2004 Tim Waugh <twaugh@redhat.com> 1.1.0-7
|
|
|
|
- Fixed warnings in shipped m4 file.
|
|
|
|
|
2004-09-09 04:47:27 +00:00
|
|
|
* Mon Jun 21 2004 Colin Walters <walters@redhat.com> 1.1.0-6
|
|
|
|
- BuildRequire glib-devel for xmms plugin
|
|
|
|
- BuildRequire nasm
|
|
|
|
|
2004-09-09 04:47:22 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:47:19 +00:00
|
|
|
* Sun Apr 04 2004 Warren Togami <wtogami@redhat.com> 1.1.0-4
|
|
|
|
- #119551 flac-xmms -> xmms-flac to match fedora.us and freshrpms.net
|
|
|
|
- Obsoletes flac-libs to upgrade smoothly from fedora.us
|
|
|
|
|
2004-09-09 04:46:20 +00:00
|
|
|
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 1.1.0-3
|
|
|
|
- fix x86_64 linkage (#117893)
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:45:51 +00:00
|
|
|
* Wed Aug 6 2003 Bill Nottingham <notting@redhat.com> 1.1.0-1
|
|
|
|
- initial build
|