Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > tainted-release-src > by-pkgid > 968cfd25e965523c3b5564f0ea8038f1 > files > 3

faad2-2.7-9.mga5.tainted.src.rpm

%define major 2
%define old_libname %mklibname -d %{name}_ 0
%define old_staticname %mklibname -s -d %{name}_ 0

%define libname %mklibname faad %major
%define develname %mklibname -d %name
%define staticname %mklibname -s -d %name

Name:           faad2
Version:        2.7
Release:        %mkrel 9
Epoch:          1
Summary:        Freeware Advanced Audio Decoder version 2
Source0:        http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.bz2
Patch1:		faad2-2.7-automake-1.13.patch
URL:            http://www.audiocoding.com
License:        GPLv2
Group:          Sound/Utilities
BuildRequires:  dos2unix
BuildRequires:  automake

%description
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
completely written from scratch. FAAD 2 is licensed under the GPL.

%package -n %libname
Summary:        Freeware Advanced Audio Decoder shared library
Group:          System/Libraries
Obsoletes:      %{_lib}faad2_2 < %epoch:%version-%release

%description -n %libname
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
completely written from scratch. FAAD 2 is licensed under the GPL.

This package contains the shared library needed by programs linked to
libfaad.

%package -n %develname
Summary:        Freeware Advanced Audio Decoder development files
Group:          Development/C++
Requires:       %libname = %epoch:%version
Provides:       lib%{name}-devel  = %epoch:%version-%release
Obsoletes:      %{old_libname} < %{version}-%{release}

%description -n %develname
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
completely written from scratch. FAAD 2 is licensed under the GPL.

This package contains the C++ headers needed to build programs with
libfaad.

%package -n %staticname
Summary:        Freeware Advanced Audio Decoder static libraries
Group:          Development/C++
Requires:       %develname = %epoch:%version
Provides:       lib%{name}-static-devel  = %epoch:%version-%release
Obsoletes:      %{old_staticname}  < %{version}-%{release}

%description -n %staticname
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
completely written from scratch. FAAD 2 is licensed under the GPL.

This package contains the static libraries needed to build programs
with libfaad.

%prep
%setup -q
dos2unix configure.in frontend/main.c common/mp4ff/mp4ffint.h common/mp4ff/Makefile.am
chmod 644 AUTHORS README TODO NEWS ChangeLog plugins/xmms/README
%patch1 -p1 -b .automake-1_13

%build
export CFLAGS="%optflags -fPIC -DPIC"
autoreconf -fi
%configure2_5x
%make

%install
%makeinstall_std

rm -f %{buildroot}%{_libdir}/*.la

#gw rename it to a more standard name
mkdir -p %buildroot%_mandir/man1
mv %buildroot%_mandir/manm/faad.man %buildroot%_mandir/man1/faad.1

%files
%doc README NEWS TODO AUTHORS ChangeLog
%_bindir/faad
%_mandir/man1/faad.1*

%files -n %libname
%defattr(-,root,root)
%_libdir/libfaad.so.%{major}*

%files -n %develname
%defattr(-,root,root)
%_libdir/libfaad.so
%_includedir/*

%files -n %staticname
%defattr(-,root,root)
%_libdir/libfaad.a
%_libdir/libmp4ff.a


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1:2.7-9.mga5
+ Revision: 748250
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1:2.7-8.mga5.tainted
+ Revision: 679077
- Mageia 5 Mass Rebuild

* Thu Oct 31 2013 tmb <tmb> 1:2.7-7.mga4.tainted
+ Revision: 548171
- Mageia 4 rebuild

* Fri Jan 11 2013 cjw <cjw> 1:2.7-6.mga3.tainted
+ Revision: 350166
- patch1: fix build with automake 1.13

  + umeabot <umeabot>
    - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Dec 01 2012 barjac <barjac> 1:2.7-5.mga3.tainted
+ Revision: 324475
- Change group to new policy

* Fri Mar 23 2012 fwang <fwang> 1:2.7-4.mga2.tainted
+ Revision: 225817
- it seems that the needed files are already installed

* Fri Mar 23 2012 fwang <fwang> 1:2.7-3.mga2.tainted
+ Revision: 225813
- force reconf
- specify cflags with env
- drop .la files
- cleanup unused switches
- drop unneeded br

* Tue Apr 19 2011 obgr_seneca <obgr_seneca> 1:2.7-2.mga1
+ Revision: 88284
- imported package faad2


* Mon Mar 28 2011 Oliver Burger <oliver.bgr@googlemail.com> 2.7-2.mga1
- cleaned up spec
- removed plf things
- removed buildroot tag
- set xmms build to false

* Wed Feb 11 2009 Götz Waschk <goetz@zarb.org> 2.7-1plf2009.1
- fix faad man page name
- update file list
- new major
- rediff patch 4
- drop patch 0
- new version

* Sun Sep 28 2008 Götz Waschk <goetz@zarb.org> 2.6.1-2plf2009.0
- add upstream security patch

* Thu Jan 17 2008 Götz Waschk <goetz@zarb.org> 2.6.1-1plf2008.1
- new version

* Thu Oct 11 2007 Götz Waschk <goetz@zarb.org> 2.6-1plf2008.1
- drop some patches
- disable mpeg4ip plugin
- new devel name
- new version

* Thu Oct 26 2006 Götz Waschk <goetz@zarb.org> 1:2.5-3plf2007.1
- readd libmp4ff  and headers

* Tue Oct 24 2006 Anssi Hannula <anssi@zarb.org> 1:2.5-2plf2007.1
- standardize PLF reason
- add mpeg4ip build switch for bootstrapping
- fix buildrequires
- from joeghi:
  o fixed building with mpeg4ip 1.5.0.1 (added Patch5, adapted from PLD's faad2-2.0 and Patch6)
  o added mpeg4ip subpackage

* Sun Aug 13 2006 Götz Waschk <goetz@zarb.org> 1:2.5-1plf2007.0
- fix build
- rediff patch 4
- drop merged patches 2,3
- new version

* Mon Jul 31 2006 Götz Waschk <goetz@zarb.org> 21:.1-0.20050201.4plf2007.0
- remove menu

* Thu Oct  6 2005 Anssi Hannula <anssi@zarb.org> 2.1-0.20050201.3plf
- fix build on x86_64 (patch4)
- add mkrel distsuffix

* Sun Jul 10 2005 Stefan van der Eijk <stefan@eijk.nu> 2.1-0.20050201.2plf
- add gcc4 patch

* Mon May  2 2005 Götz Waschk <goetz@zarb.org> 2.1-0.20050201.1plf
- small build patch
- new snapshot

* Sat Apr 23 2005 Götz Waschk <goetz@zarb.org> 2.1-0.20040915.1plf
- drop mp4v2
- new version

* Sat Feb  5 2005 Götz Waschk <goetz@zarb.org> 2.0-7plf
- add missing headers

* Mon Sep 20 2004 Götz Waschk <goetz@zarb.org> 2.0-6plf
- fix URL

* Thu Jul 22 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-5plf
- update descriptions
- add menu entry for the xmms plugin

* Tue Jun  8 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-4plf
- fix patch 1

* Mon Jun  7 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-3plf
- fix devel provides
- patch for new g++

* Thu Apr  8 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-2plf
- fix devel deps

* Mon Feb  9 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-1plf
- remove the aac plugin
- patch broken makefile
- new version

* Mon Jan  5 2004 Götz Waschk <goetz@plf.zarb.org> 2.0-0.rc3.2plf
- fix build on 9.1
- use the mdkversion macro

* Thu Nov 13 2003 Götz Waschk <goetz@plf.zarb.org> 2.0-0.rc3.1plf
- drop prefix
- update file list
- fix build
- fix buildrequires
- drop patches
- mklibname macro
- new version

* Fri Jul 11 2003 Götz Waschk <goetz@plf.zarb.org> 1.1-6plf
- rebuild for new rpm

* Sun Apr 13 2003 Götz Waschk <goetz@plf.zarb.org> 1.1-5plf
- fix buildrequires
- new id3lib

* Wed Jan 15 2003 Götz Waschk <goetz@plf.zarb.org> 1.1-4plf
- split out static-devel package

* Mon Nov 25 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 1.1-3plf
- rebuild with new id3lib

* Mon Nov  4 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 1.1-2plf
- fix id3lib buildrequires
- update patch1 (Jose Antonio Becerra Permuy <ronin@mail2.udc.es>)

* Thu Aug 22 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 1.1-1plf
- patch for xmms plugin makefile
- package xmms plugin
- merge with mp4v2 package
- tiny patch for final libsndfile api
- drop all old patches
- new libsndfile 1
- autoconf 2.5
- epoch 1
- new version

* Fri Aug 16 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 20020126-3plf
- gcc 3.2-0.3mdk rebuild

* Mon Jul 29 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 20020126-2plf
- gcc 3.2 build
- quick fix to work around libtool problem

* Wed Jul 24 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 20020126-1plf
- initial package