%define rtpname liba52_0 Summary: A free library for decoding ATSC A/52 (aka AC-3) streams. Name: a52dec Version: 0.7.4 Release: 7%{?dist} License: GPL Group: Applications/Multimedia Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz Patch0: a52dec-0.7.4-fPIC.patch URL: http://liba52.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-root BuildRequires: autoconf Requires: %{rtpname} = %{eversion} %description liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. %package -n %{rtpname} Summary: A free library for decoding ATSC A/52 (aka AC-3) streams. Group: Applications/Multimedia %description -n %{rtpname} liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. %package devel Summary: Header files and static libraries for liba52. Group: Development/Libraries Requires: %{rtpname} = %{eversion} %description devel liba52 is a free library for decoding ATSC A/52 streams. It is released under the terms of the GPL license. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. These are the header files and static libraries from liba52 that are needed to build programs that use it. %prep %setup -q %patch0 -p1 -b .fPIC %build autoconf %configure --enable-shared make %{?_smp_mflags} %install rm -rf %{buildroot} %makeinstall %clean rm -rf %{buildroot} %post -n %{rtpname} -p /sbin/ldconfig %postun -n %{rtpname} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO doc/liba52.txt %{_bindir}/* %{_mandir}/man1/* %files -n %{rtpname} %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %changelog * Mon Mar 31 2003 Matthias Saou - Rebuilt for Red Hat Linux 9. - Exclude .la file. * Thu Sep 26 2002 Matthias Saou - Rebuilt for Red Hat Linux 8.0. - Added SMP build macro. * Mon Jul 29 2002 Matthias Saou - Update to 0.7.4. * Sun Mar 24 2002 Matthias Saou - Fixed the devel file ownership error. * Tue Mar 19 2002 Matthias Saou - Update to 0.7.3. * Mon Dec 17 2001 Matthias Saou - Update to 0.7.2. * Mon Oct 29 2001 Matthias Saou - Spec file cleanup and fixes. * Thu Sep 20 2001 Martin Norbäck - Added missing .la files - Building statically * Thu Sep 20 2001 Martin Norbäck - Initial version