Blame a52dec.spec

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