Blame SPECS/a52dec.spec

f6b864
Summary:    Small test program for liba52
f6b864
Name:       a52dec
f6b864
Version:    0.7.4
f6b864
Release:    42%{?dist}
f6b864
License:    GPLv2
f6b864
URL:        http://liba52.sourceforge.net
f6b864
Source0:    %{url}/files/%{name}-%{version}.tar.gz
f6b864
Patch0:     a52dec-configure-optflags.patch
f6b864
Patch1:     a52dec-0.7.4-rpath64.patch
f6b864
Patch2:     liba52-silence.patch
f6b864
f6b864
BuildRequires: gcc
f6b864
BuildRequires: make
f6b864
f6b864
Requires:   liba52%{?_isa} = %{version}-%{release}
f6b864
#Multilib transition
f6b864
#Introduced in Fedora 26, can be dropped in Fedora 28
f6b864
Obsoletes:  %{name} < 0.7.4-25
f6b864
f6b864
f6b864
%package -n liba52
f6b864
Summary:    A free ATSC A/52 stream decoder, also known as AC-3 or AC3
f6b864
#Fix multilibs transition - introduced in f26
f6b864
Obsoletes:  a52dec < 0.7.4-25
f6b864
#Fix others 3rd part repos transition
f6b864
Obsoletes:  a52dec-libs < 0.7.4-25
f6b864
Provides:   a52dec-libs = %{version}-%{release}
f6b864
f6b864
%package -n liba52-devel
f6b864
Summary:    Development files for liba52
f6b864
Requires:   liba52%{?_isa} = %{version}-%{release}
f6b864
Provides:   %{name}-devel = %{version}-%{release}
f6b864
Obsoletes:  %{name}-devel < 0.7.4-25
f6b864
f6b864
%description
f6b864
Small test program for liba52.
f6b864
f6b864
%description -n liba52
f6b864
liba52 is a free library for decoding ATSC A/52 streams. The A/52
f6b864
standard is used in a variety of applications, including digital
f6b864
television and DVD. It is also known as AC-3 or AC3
f6b864
f6b864
%description -n liba52-devel
f6b864
The liba52-devel package contains libraries and header files for
f6b864
developing applications that use liba52-devel.
f6b864
f6b864
f6b864
%prep
f6b864
%autosetup -p1
f6b864
f6b864
sed -i -e 's/-prefer-non-pic/-prefer-pic/' \
f6b864
  configure liba52/configure.incl
f6b864
f6b864
# Convert to utf-8
f6b864
for file in AUTHORS; do
f6b864
    iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
f6b864
    touch -r $file $file.new && \
f6b864
    mv $file.new $file
f6b864
done
f6b864
f6b864
f6b864
%build
f6b864
%configure --enable-shared --disable-static
f6b864
%make_build
f6b864
f6b864
f6b864
%install
f6b864
%make_install
f6b864
f6b864
f6b864
%ldconfig_scriptlets -n liba52
f6b864
f6b864
f6b864
%files
f6b864
%exclude %{_libdir}/liba52.la
f6b864
%doc AUTHORS ChangeLog HISTORY NEWS TODO
f6b864
%{_bindir}/%{name}
f6b864
%{_bindir}/extract_a52
f6b864
%{_mandir}/man1/a52dec.1*
f6b864
%{_mandir}/man1/extract_a52.1*
f6b864
f6b864
%files -n liba52
f6b864
%license COPYING
f6b864
%{_libdir}/liba52.so.*
f6b864
f6b864
%files -n liba52-devel
f6b864
%doc doc/liba52.txt
f6b864
%{_includedir}/%{name}
f6b864
%{_libdir}/liba52.so
f6b864
f6b864
f6b864
%changelog
f6b864
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.4-42
f6b864
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
f6b864
  Related: rhbz#1991688
f6b864
f6b864
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.4-41
f6b864
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
f6b864
f6b864
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-40
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f6b864
f6b864
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-39
f6b864
- Second attempt - Rebuilt for
f6b864
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f6b864
f6b864
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-38
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f6b864
f6b864
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-37
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f6b864
f6b864
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-36
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f6b864
f6b864
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-35
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f6b864
f6b864
* Tue Jul 17 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-34
f6b864
- Add missng cc
f6b864
f6b864
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-33
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f6b864
f6b864
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-32
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f6b864
f6b864
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.4-31
f6b864
- Switch to %%ldconfig_scriptlets
f6b864
f6b864
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-30
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f6b864
f6b864
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-29
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f6b864
f6b864
* Fri Apr 07 2017 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-28
f6b864
- Obsoletes at the same version see rhbz#1439690#c16
f6b864
f6b864
* Tue Apr 04 2017 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-27
f6b864
- Fix others 3rd part repos
f6b864
f6b864
* Thu Mar 30 2017 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-26
f6b864
- Fix multilibs transition
f6b864
f6b864
* Tue Mar 21 2017 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-25
f6b864
- Fixup Obsoletes/Provides for the devel
f6b864
- Use sed instead of perl to avoid a build dependency
f6b864
f6b864
* Mon Mar 20 2017 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-24
f6b864
- Multilibs support - rhbz#1433758
f6b864
- Simplify description
f6b864
- Convert AUTHORS to UTF-8
f6b864
- Drop Groups
f6b864
- Add Obsoletes/Provides for a52dec-devel
f6b864
f6b864
* Sat Mar 18 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 0.7.4-22
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f6b864
f6b864
* Tue Aug 23 2016 Nicolas Chauvet <nicolas.chauvet@kwizart.fr> - 0.7.4-21
f6b864
- Fix macro in comment
f6b864
f6b864
* Tue Aug 16 2016 Sérgio Basto <sergio@serjux.com> - 0.7.4-20
f6b864
- Clean spec, with Vascom, rfbz #4193, add license tag
f6b864
f6b864
* Sat Aug 30 2014 Sérgio Basto <sergio@serjux.com> - 0.7.4-19
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f6b864
f6b864
* Sun Mar 10 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-18
f6b864
- Add silence patch as we don't built with DJBFFT enabled
f6b864
f6b864
* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-17
f6b864
- Mass rebuilt for Fedora 19 Features
f6b864
f6b864
* Wed Jan 25 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-16
f6b864
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f6b864
f6b864
* Tue Apr 28 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-15
f6b864
- rebuild
f6b864
f6b864
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-14
f6b864
- rebuild for new F11 features
f6b864
f6b864
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-12
f6b864
- integrate a fix from livna that got lost
f6b864
f6b864
* Thu Jul 24 2008 David Juran <david@juran.se> - 0.7.4-12
f6b864
- Bump Release for RpmFusion
f6b864
f6b864
* Sun Nov 11 2007 Dominik Mierzejewski <dominik [AT] greysector [DOT] net> 0.7.4-11.1
f6b864
- Really drop djbfft
f6b864
f6b864
* Mon Oct  1 2007 David Juran <david@juran.se> - 0.7.4-11
f6b864
- Fix Licence tag to be GPLv2
f6b864
- Drop %%makeinstall macro
f6b864
- Drop static archive
f6b864
- Drop djbfft
f6b864
f6b864
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.7.4-10
f6b864
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
f6b864
f6b864
* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.7.4-9
f6b864
- Drop epoch in devel dep, too
f6b864
f6b864
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
f6b864
- switch to new release field
f6b864
- drop epoch
f6b864
f6b864
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
f6b864
- add dist
f6b864
f6b864
* Thu Feb 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.8
f6b864
- Avoid standard rpaths on lib64 archs.
f6b864
f6b864
* Tue Jul 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.7
f6b864
- Prefer PIC.
f6b864
- (Build)Require djbfft-devel.
f6b864
- Include more docs.
f6b864
f6b864
* Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.6
f6b864
- Removed comment after scriptlets
f6b864
- buildroot -> RPM_BUILD_ROOT
f6b864
f6b864
* Mon Apr 14 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.5
f6b864
- devel package require djbfft (not djbfft-devel)
f6b864
f6b864
* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.4
f6b864
- Enabled support for djbfft
f6b864
f6b864
* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.3
f6b864
- Added post and postun scriplet
f6b864
- moved man pages from devel to main package
f6b864
f6b864
* Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.2
f6b864
- make configure honor optflags
f6b864
- devel package
f6b864
- shared library added
f6b864
f6b864
* Thu Apr 10 2003 Dams <anvil[AT]livna.org> 
f6b864
- Initial build.