1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/a52dec/a52dec.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,148 @@ 1.4 +Summary: A free ATSC A/52 stream decoder 1.5 +Name: a52dec 1.6 +Version: 0.7.4 1.7 +Release: 17.4 1.8 +License: GPLv2 1.9 +Group: System Environment/Libraries 1.10 +URL: http://liba52.sourceforge.net/ 1.11 +Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz 1.12 +Patch0: a52dec-configure-optflags.patch 1.13 +Patch1: a52dec-0.7.4-rpath64.patch 1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 1.15 +BuildRequires: perl 1.16 + 1.17 +%package devel 1.18 +Summary: Development files needed for a52dec 1.19 +Group: Development/Libraries 1.20 +Requires: %{name} = %{version}-%{release} 1.21 + 1.22 +#--------------------------------------------------------------------- 1.23 + 1.24 +%description 1.25 +liba52 is a free library for decoding ATSC A/52 streams. The A/52 1.26 +standard is used in a variety of applications, including digital 1.27 +television and DVD. It is also known as AC-3. The package also 1.28 +includes a52dec, a small test program for liba52. 1.29 + 1.30 +%description devel 1.31 +liba52 is a free library for decoding ATSC A/52 streams. The A/52 1.32 +standard is used in a variety of applications, including digital 1.33 +television and DVD. It is also known as AC-3. 1.34 +This package contains development files for a52dec. 1.35 + 1.36 +#--------------------------------------------------------------------- 1.37 + 1.38 +%prep 1.39 +%setup -q 1.40 +%patch0 1.41 +%patch1 -p1 1.42 +%{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \ 1.43 + configure liba52/configure.incl 1.44 + 1.45 +#--------------------------------------------------------------------- 1.46 + 1.47 +%build 1.48 +%configure --enable-shared --disable-static 1.49 +make %{?_smp_mflags} 1.50 + 1.51 +#--------------------------------------------------------------------- 1.52 + 1.53 +%install 1.54 +rm -rf $RPM_BUILD_ROOT 1.55 +make install DESTDIR=%{buildroot} 1.56 + 1.57 +#--------------------------------------------------------------------- 1.58 + 1.59 +%clean 1.60 +rm -rf $RPM_BUILD_ROOT 1.61 + 1.62 +#--------------------------------------------------------------------- 1.63 + 1.64 +%post -p /sbin/ldconfig 1.65 +%postun -p /sbin/ldconfig 1.66 + 1.67 +%files 1.68 +%defattr(-,root,root,-) 1.69 +%exclude %{_libdir}/liba52.la 1.70 +%doc AUTHORS COPYING ChangeLog HISTORY NEWS TODO 1.71 +%{_libdir}/liba52.so.* 1.72 +%{_bindir}/a52dec 1.73 +%{_bindir}/extract_a52 1.74 +%{_mandir}/man1/a52dec.1* 1.75 +%{_mandir}/man1/extract_a52.1* 1.76 + 1.77 +%files devel 1.78 +%defattr(-,root,root,-) 1.79 +%doc doc/liba52.txt 1.80 +%{_includedir}/a52dec 1.81 +%{_libdir}/liba52.so 1.82 + 1.83 +#--------------------------------------------------------------------- 1.84 + 1.85 +%changelog 1.86 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.7.4-16 1.87 +- Build for MeeGo 1.1 1.88 + 1.89 +* Tue Apr 28 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-15 1.90 +- rebuild 1.91 + 1.92 +* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-14 1.93 +- rebuild for new F11 features 1.94 + 1.95 +* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-12 1.96 +- integrate a fix from livna that got lost 1.97 + 1.98 +* Thu Jul 24 2008 David Juran <david@juran.se> - 0.7.4-12 1.99 +- Bump Release for RpmFusion 1.100 + 1.101 +* Sun Nov 11 2007 Dominik Mierzejewski <dominik [AT] greysector [DOT] net> 0.7.4-11.1 1.102 +- Really drop djbfft 1.103 + 1.104 +* Mon Oct 1 2007 David Juran <david@juran.se> - 0.7.4-11 1.105 +- Fix Licence tag to be GPLv2 1.106 +- Drop %makeinstall macro 1.107 +- Drop static archive 1.108 +- Drop djbfft 1.109 + 1.110 +* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.7.4-10 1.111 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 1.112 + 1.113 +* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.7.4-9 1.114 +- Drop epoch in devel dep, too 1.115 + 1.116 +* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 1.117 +- switch to new release field 1.118 +- drop epoch 1.119 + 1.120 +* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> 1.121 +- add dist 1.122 + 1.123 +* Thu Feb 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.8 1.124 +- Avoid standard rpaths on lib64 archs. 1.125 + 1.126 +* Tue Jul 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.7 1.127 +- Prefer PIC. 1.128 +- (Build)Require djbfft-devel. 1.129 +- Include more docs. 1.130 + 1.131 +* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.6 1.132 +- Removed comment after scriptlets 1.133 +- buildroot -> RPM_BUILD_ROOT 1.134 + 1.135 +* Mon Apr 14 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.5 1.136 +- devel package require djbfft (not djbfft-devel) 1.137 + 1.138 +* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.4 1.139 +- Enabled support for djbfft 1.140 + 1.141 +* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.3 1.142 +- Added post and postun scriplet 1.143 +- moved man pages from devel to main package 1.144 + 1.145 +* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.2 1.146 +- make configure honor optflags 1.147 +- devel package 1.148 +- shared library added 1.149 + 1.150 +* Thu Apr 10 2003 Dams <anvil[AT]livna.org> 1.151 +- Initial build.