Fri, 11 Mar 2011 21:41:16 +0100
Import unmodified vendor specs for introduction into repository.
1 Name: libmad
2 Summary: MPEG audio decoder library
3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
6 Version: 0.15.1b
7 Release: 20101201
8 Group: System Environment/Libraries
9 License: GPLv2
10 URL: http://www.underbit.com/products/mad/
11 Source0: http://download.sourceforge.net/mad/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14 %description
15 MAD is a high quality MPEG audio decoder. It currently supports MPEG-1
16 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
17 so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
18 and Layer III a.k.a. MP3) are fully implemented.
20 %package devel
21 Summary: MPEG audio decoder library development files
22 Vendor: Europalab Software
23 Packager: Michael Schloh von Bennewitz
24 Distribution: MeeGo Thirdparty
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: pkgconfig
29 %description devel
30 MAD is a high quality MPEG audio decoder. It currently supports MPEG-1
31 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
32 so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
33 and Layer III a.k.a. MP3) are fully implemented. This package contains
34 the header and library files needed to develop with %{name}.
36 %prep
37 %setup -q
38 sed -i -e /-fforce-mem/d configure*
39 touch -r aclocal.m4 configure.ac NEWS AUTHORS ChangeLog
41 # Create an additional pkgconfig file
42 %{__cat} << EOF > mad.pc
43 prefix=%{_prefix}
44 exec_prefix=%{_prefix}
45 libdir=%{_libdir}
46 includedir=%{_includedir}
48 Name: mad
49 Description: MPEG Audio Decoder
50 Requires:
51 Version: %{version}
52 Libs: -L%{_libdir} -lmad -lm
53 Cflags: -I%{_includedir}
54 EOF
56 %build
57 %configure \
58 %ifarch x86_64 ia64 ppc64
59 --enable-fpm=64bit \
60 %endif
61 --enable-accuracy \
62 --disable-debugging
63 make %{?_smp_mflags}
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 make install DESTDIR=$RPM_BUILD_ROOT
68 %{__install} -D -p -m 0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
70 %clean
71 rm -rf $RPM_BUILD_ROOT
73 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
77 %files
78 %defattr(-,root,root,-)
79 %doc CHANGES COPYING COPYRIGHT CREDITS README TODO
80 %{_libdir}/libmad.so.*
82 %files devel
83 %defattr(-,root,root,-)
84 %{_libdir}/libmad.a
85 %{_libdir}/libmad.la
86 %{_libdir}/libmad.so
87 %{_libdir}/pkgconfig/mad.pc
88 %{_includedir}/mad.h
90 %changelog
91 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.15.1b-20101201
92 - Adjust packaging and patch logic
94 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.15.1b-14
95 - Build for MeeGo 1.1
97 * Sun Jul 19 2009 David Juran <david@juran.se> - 0.15.1b-13
98 - ppc asm patch from David Woodhouse (Bz 730)
99 - rpmlint warnings
101 * Wed Jul 1 2009 David Juran <david@juran.se> - 0.15.1b-12
102 - fix typo in multiarch patch
103 - fix ppc64 version (Bz 691)
105 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.15.1b-11
106 - rebuild for new F11 features
108 * Wed Jan 28 2009 David Juran <david@juran.se> - 0.15.1b-10
109 - fix timestamps (Bz 264)
111 * Sun Jan 25 2009 David Juran <david@juran.se> - 0.15.1b-9
112 - fix multiarch (Bz 264)
114 * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.15.1b-8
115 - rebuild for buildsys cflags issue
117 * Thu Jul 24 2008 David Juran <david@juran.se> - 0.15.1b-7
118 - Bump release for RpmFusion
120 * Tue Feb 19 2008 David Juran <david@juran.se> - 0.15.1b-6
121 - use $RPM_OPT_FLAGS - Bz 1873
123 * Sun Sep 30 2007 David Juran <david@juran.se> - 0.15.1b-5
124 - Grab mad.pc from freshrpms.
125 - merge configure-optioins with freshrpms
126 - Adjusted Licence tag (GPLv2)
127 - Drop static archive
129 * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.15.1b-4
130 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
132 * Tue Sep 19 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.15.1b-3
133 - Use 64bit fixed point math on x86_64.
134 - Filter deprecated gcc flags, build with dependency tracking disabled.
135 - Move "b" to version field.
137 * Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.15.1-2.b
138 - Drop Epoch in devel dep, too
140 * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
141 - switch to new release field
142 - drop Epoch
144 * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
145 - add dist
147 * Wed Feb 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.15.1-0.lvn.1.b
148 - Update to 0.15.1b.
150 * Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.15.0-0.fdr.1.b.0.94
151 - Remove comment after scriptlets
153 * Mon Jun 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.15.0-0.fdr.1.b
154 - Update to 0.15.0b.
155 - Split separate from the old mad package to follow upstream.
156 - -devel requires pkgconfig.
158 * Thu Apr 24 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.14.2-0.fdr.3.b
159 - Fix missing "main" package dependencies in *-devel.
160 - Include patch from Debian, possibly fixes #187 comment 7, and adds
161 pkgconfig files for libraries.
163 * Sun Apr 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.14.2-0.fdr.2.b
164 - Split into mad, libmad, -devel, libid3tag and -devel packages (#187).
165 - Provide mp3-cmdline virtual package and alternative.
166 - Build shared library.
168 * Fri Apr 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.14.2-0.fdr.1.b
169 - Update to current Fedora guidelines.
170 - Exclude %%{_libdir}/*.la.
172 * Thu Feb 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.14.2b-1.fedora.1
173 - First Fedora release, based on Matthias Saou's work.
175 * Fri Sep 27 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
176 - Rebuild for Red Hat Linux 8.0 (missing because of license issues).
177 - Spec file cleanup.
179 * Tue Mar 12 2002 Bill Nottingham <notting@redhat.com> 0.14.2b-3
180 - ship libid3tag too
182 * Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
183 - rebuild
185 * Mon Jan 28 2002 Bill Nottingham <notting@redhat.com>
186 - split libmad off into a separate package