kathenas / rpms / a52dec

Forked from rpms/a52dec 5 years ago
Clone

Blame SPECS/a52dec.spec

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