1 Summary: MPEG audio decoder library
2 Summary(pl.UTF-8): Biblioteka dekodera strumieni audio MPEG
8 Source0: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
9 # Source0-md5: 1be543bc30c56fb6bea1d7bf6a64e66c
10 Patch0: %{name}-pkgconfig.patch
11 Patch1: %{name}-no_fforce_mem.patch
12 URL: http://www.underbit.com/products/mad/
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake
15 BuildRequires: libtool
16 Provides: mad-libs = %{version}
17 Obsoletes: mad-libs < 0.15.0b
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1
22 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
23 so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II
24 and Layer III a.k.a. MP3) are fully implemented.
26 %description -l pl.UTF-8
27 MAD jest wysokiej jakości dekoderem audio MPEG. Obecnie obsługuje
28 MPEG-1 oraz rozszerzenie MPEG-2 dla niższych częstotliwości
29 próbkowania, jak również tzw. MPEG 2.5. Wszystkie trzy warstwy audio
30 (Layer I, Layer II oraz Layer III znany również jako MP3) są w pełni
34 Summary: Header files for libmad library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmad
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Provides: mad-devel = %{version}
39 Obsoletes: mad-devel < 0.15.0b
42 Header files for libmad library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki libmad.
48 Summary: Static mad library
49 Summary(pl.UTF-8): Biblioteka statyczna mad
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
52 Provides: mad-static = %{version}
53 Obsoletes: mad-static < 0.15.0b
58 %description static -l pl.UTF-8
59 Biblioteka statyczna mad.
73 --%{!?debug:dis}%{?debug:en}able-debugging \
78 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %doc CHANGES COPYRIGHT CREDITS README TODO
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93 %attr(755,root,root) %ghost %{_libdir}/lib*.so.0
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_pkgconfigdir}/*.pc
103 %defattr(644,root,root,755)