Blame SPECS/a52dec.spec

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