michael@1: Name: libmad michael@1: Summary: MPEG audio decoder library michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Version: 0.15.1b michael@1: Release: 20101201 michael@1: Group: System Environment/Libraries michael@1: License: GPLv2 michael@1: URL: http://www.underbit.com/products/mad/ michael@1: Source0: http://download.sourceforge.net/mad/%{name}-%{version}.tar.gz michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: michael@0: %description michael@1: MAD is a high quality MPEG audio decoder. It currently supports MPEG-1 michael@0: and the MPEG-2 extension to Lower Sampling Frequencies, as well as the michael@0: so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, michael@0: and Layer III a.k.a. MP3) are fully implemented. michael@0: michael@1: %package devel michael@1: Summary: MPEG audio decoder library development files michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Group: Development/Libraries michael@1: Requires: %{name} = %{version}-%{release} michael@1: Requires: pkgconfig michael@0: michael@1: %description devel michael@1: MAD is a high quality MPEG audio decoder. It currently supports MPEG-1 michael@1: and the MPEG-2 extension to Lower Sampling Frequencies, as well as the michael@1: so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, michael@1: and Layer III a.k.a. MP3) are fully implemented. This package contains michael@1: the header and library files needed to develop with %{name}. michael@0: michael@0: %prep michael@0: %setup -q michael@1: sed -i -e /-fforce-mem/d configure* michael@0: touch -r aclocal.m4 configure.ac NEWS AUTHORS ChangeLog michael@0: michael@0: # Create an additional pkgconfig file michael@0: %{__cat} << EOF > mad.pc michael@0: prefix=%{_prefix} michael@0: exec_prefix=%{_prefix} michael@0: libdir=%{_libdir} michael@0: includedir=%{_includedir} michael@0: michael@0: Name: mad michael@0: Description: MPEG Audio Decoder michael@0: Requires: michael@0: Version: %{version} michael@0: Libs: -L%{_libdir} -lmad -lm michael@0: Cflags: -I%{_includedir} michael@0: EOF michael@0: michael@0: %build michael@0: %configure \ michael@0: %ifarch x86_64 ia64 ppc64 michael@1: --enable-fpm=64bit \ michael@0: %endif michael@1: --enable-accuracy \ michael@1: --disable-debugging michael@1: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: %{__install} -D -p -m 0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc CHANGES COPYING COPYRIGHT CREDITS README TODO michael@0: %{_libdir}/libmad.so.* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@1: %{_libdir}/libmad.a michael@1: %{_libdir}/libmad.la michael@0: %{_libdir}/libmad.so michael@0: %{_libdir}/pkgconfig/mad.pc michael@0: %{_includedir}/mad.h michael@0: michael@1: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 0.15.1b-20101201 michael@1: - Adjust packaging and patch logic michael@0: michael@0: * Mon Nov 1 2010 Kozinov Ivan - 0.15.1b-14 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Sun Jul 19 2009 David Juran - 0.15.1b-13 michael@0: - ppc asm patch from David Woodhouse (Bz 730) michael@0: - rpmlint warnings michael@0: michael@0: * Wed Jul 1 2009 David Juran - 0.15.1b-12 michael@0: - fix typo in multiarch patch michael@0: - fix ppc64 version (Bz 691) michael@0: michael@0: * Sun Mar 29 2009 Thorsten Leemhuis - 0.15.1b-11 michael@0: - rebuild for new F11 features michael@0: michael@0: * Wed Jan 28 2009 David Juran - 0.15.1b-10 michael@0: - fix timestamps (Bz 264) michael@0: michael@0: * Sun Jan 25 2009 David Juran - 0.15.1b-9 michael@0: - fix multiarch (Bz 264) michael@0: michael@0: * Wed Jul 30 2008 Thorsten Leemhuis - 0.15.1b-7 michael@0: - Bump release for RpmFusion michael@0: michael@0: * Tue Feb 19 2008 David Juran - 0.15.1b-6 michael@0: - use $RPM_OPT_FLAGS - Bz 1873 michael@0: michael@0: * Sun Sep 30 2007 David Juran - 0.15.1b-5 michael@0: - Grab mad.pc from freshrpms. michael@0: - merge configure-optioins with freshrpms michael@0: - Adjusted Licence tag (GPLv2) michael@0: - Drop static archive michael@0: michael@0: * Fri Oct 06 2006 Thorsten Leemhuis 0.15.1b-4 michael@0: - rebuilt for unwind info generation, broken in gcc-4.1.1-21 michael@0: michael@0: * Tue Sep 19 2006 Ville Skyttä - 0.15.1b-3 michael@0: - Use 64bit fixed point math on x86_64. michael@0: - Filter deprecated gcc flags, build with dependency tracking disabled. michael@0: - Move "b" to version field. michael@0: michael@0: * Mon Mar 13 2006 Thorsten Leemhuis 0.15.1-2.b michael@0: - Drop Epoch in devel dep, too michael@0: michael@0: * Thu Mar 09 2006 Andreas Bierfert michael@0: - switch to new release field michael@0: - drop Epoch michael@0: michael@0: * Tue Feb 28 2006 Andreas Bierfert michael@0: - add dist michael@0: michael@0: * Wed Feb 18 2004 Ville Skyttä - 0:0.15.1-0.lvn.1.b michael@0: - Update to 0.15.1b. michael@0: michael@0: * Sun Sep 28 2003 Dams 0:0.15.0-0.fdr.1.b.0.94 michael@0: - Remove comment after scriptlets michael@0: michael@0: * Mon Jun 30 2003 Ville Skyttä - 0:0.15.0-0.fdr.1.b michael@0: - Update to 0.15.0b. michael@0: - Split separate from the old mad package to follow upstream. michael@0: - -devel requires pkgconfig. michael@0: michael@0: * Thu Apr 24 2003 Ville Skyttä - 0:0.14.2-0.fdr.3.b michael@0: - Fix missing "main" package dependencies in *-devel. michael@0: - Include patch from Debian, possibly fixes #187 comment 7, and adds michael@0: pkgconfig files for libraries. michael@0: michael@0: * Sun Apr 20 2003 Ville Skyttä - 0:0.14.2-0.fdr.2.b michael@0: - Split into mad, libmad, -devel, libid3tag and -devel packages (#187). michael@0: - Provide mp3-cmdline virtual package and alternative. michael@0: - Build shared library. michael@0: michael@0: * Fri Apr 4 2003 Ville Skyttä - 0:0.14.2-0.fdr.1.b michael@0: - Update to current Fedora guidelines. michael@0: - Exclude %%{_libdir}/*.la. michael@0: michael@0: * Thu Feb 20 2003 Ville Skyttä - 0.14.2b-1.fedora.1 michael@0: - First Fedora release, based on Matthias Saou's work. michael@0: michael@0: * Fri Sep 27 2002 Matthias Saou michael@0: - Rebuild for Red Hat Linux 8.0 (missing because of license issues). michael@0: - Spec file cleanup. michael@0: michael@0: * Tue Mar 12 2002 Bill Nottingham 0.14.2b-3 michael@0: - ship libid3tag too michael@0: michael@0: * Thu Feb 21 2002 Bill Nottingham michael@0: - rebuild michael@0: michael@0: * Mon Jan 28 2002 Bill Nottingham michael@0: - split libmad off into a separate package