michael@0: Summary: A free ATSC A/52 stream decoder michael@0: Name: a52dec michael@0: Version: 0.7.4 michael@0: Release: 17.4 michael@0: License: GPLv2 michael@0: Group: System Environment/Libraries michael@0: URL: http://liba52.sourceforge.net/ michael@0: Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz michael@0: Patch0: a52dec-configure-optflags.patch michael@0: Patch1: a52dec-0.7.4-rpath64.patch michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot michael@0: BuildRequires: perl michael@0: michael@0: %package devel michael@0: Summary: Development files needed for a52dec michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %description michael@0: liba52 is a free library for decoding ATSC A/52 streams. The A/52 michael@0: standard is used in a variety of applications, including digital michael@0: television and DVD. It is also known as AC-3. The package also michael@0: includes a52dec, a small test program for liba52. michael@0: michael@0: %description devel michael@0: liba52 is a free library for decoding ATSC A/52 streams. The A/52 michael@0: standard is used in a variety of applications, including digital michael@0: television and DVD. It is also known as AC-3. michael@0: This package contains development files for a52dec. michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 michael@0: %patch1 -p1 michael@0: %{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \ michael@0: configure liba52/configure.incl michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %build michael@0: %configure --enable-shared --disable-static michael@0: make %{?_smp_mflags} michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=%{buildroot} michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %post -p /sbin/ldconfig michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %exclude %{_libdir}/liba52.la michael@0: %doc AUTHORS COPYING ChangeLog HISTORY NEWS TODO michael@0: %{_libdir}/liba52.so.* michael@0: %{_bindir}/a52dec michael@0: %{_bindir}/extract_a52 michael@0: %{_mandir}/man1/a52dec.1* michael@0: %{_mandir}/man1/extract_a52.1* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %doc doc/liba52.txt michael@0: %{_includedir}/a52dec michael@0: %{_libdir}/liba52.so michael@0: michael@0: #--------------------------------------------------------------------- michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 0.7.4-16 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Tue Apr 28 2009 Thorsten Leemhuis - 0.7.4-15 michael@0: - rebuild michael@0: michael@0: * Sun Mar 29 2009 Thorsten Leemhuis - 0.7.4-14 michael@0: - rebuild for new F11 features michael@0: michael@0: * Sun Aug 03 2008 Thorsten Leemhuis - 0.7.4-12 michael@0: - integrate a fix from livna that got lost michael@0: michael@0: * Thu Jul 24 2008 David Juran - 0.7.4-12 michael@0: - Bump Release for RpmFusion michael@0: michael@0: * Sun Nov 11 2007 Dominik Mierzejewski 0.7.4-11.1 michael@0: - Really drop djbfft michael@0: michael@0: * Mon Oct 1 2007 David Juran - 0.7.4-11 michael@0: - Fix Licence tag to be GPLv2 michael@0: - Drop %makeinstall macro michael@0: - Drop static archive michael@0: - Drop djbfft michael@0: michael@0: * Fri Oct 06 2006 Thorsten Leemhuis 0.7.4-10 michael@0: - rebuilt for unwind info generation, broken in gcc-4.1.1-21 michael@0: michael@0: * Mon Mar 13 2006 Thorsten Leemhuis - 0.7.4-9 michael@0: - Drop epoch in devel dep, too michael@0: michael@0: * Thu Mar 09 2006 Andreas Bierfert michael@0: - switch to new release field michael@0: - drop epoch michael@0: michael@0: * Tue Feb 28 2006 Andreas Bierfert michael@0: - add dist michael@0: michael@0: * Thu Feb 16 2006 Ville Skyttä - 0:0.7.4-0.lvn.8 michael@0: - Avoid standard rpaths on lib64 archs. michael@0: michael@0: * Tue Jul 27 2004 Ville Skyttä - 0:0.7.4-0.lvn.7 michael@0: - Prefer PIC. michael@0: - (Build)Require djbfft-devel. michael@0: - Include more docs. michael@0: michael@0: * Sun Sep 28 2003 Dams 0:0.7.4-0.fdr.6 michael@0: - Removed comment after scriptlets michael@0: - buildroot -> RPM_BUILD_ROOT michael@0: michael@0: * Mon Apr 14 2003 Dams 0:0.7.4-0.fdr.5 michael@0: - devel package require djbfft (not djbfft-devel) michael@0: michael@0: * Sun Apr 13 2003 Dams 0:0.7.4-0.fdr.4 michael@0: - Enabled support for djbfft michael@0: michael@0: * Sun Apr 13 2003 Dams 0:0.7.4-0.fdr.3 michael@0: - Added post and postun scriplet michael@0: - moved man pages from devel to main package michael@0: michael@0: * Sun Apr 13 2003 Dams 0:0.7.4-0.fdr.2 michael@0: - make configure honor optflags michael@0: - devel package michael@0: - shared library added michael@0: michael@0: * Thu Apr 10 2003 Dams michael@0: - Initial build.