]> git.pld-linux.org Git - packages/libmad.git/blame - libmad.spec
- release 10 (by relup.sh)
[packages/libmad.git] / libmad.spec
CommitLineData
92d1d4e9 1Summary: MPEG audio decoder library
0a906204 2Summary(pl.UTF-8): Biblioteka dekodera strumieni audio MPEG
651e3d0d 3Name: libmad
982d74a9 4Version: 0.15.1b
fba75b99 5Release: 10
36238a4c 6License: GPL v2+
651e3d0d 7Group: Libraries
8Source0: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
982d74a9 9# Source0-md5: 1be543bc30c56fb6bea1d7bf6a64e66c
e71a181e 10Patch0: %{name}-pkgconfig.patch
d0447801 11Patch1: %{name}-no_fforce_mem.patch
651e3d0d 12URL: http://www.underbit.com/products/mad/
982d74a9 13BuildRequires: autoconf >= 2.53
651e3d0d 14BuildRequires: automake
15BuildRequires: libtool
1c91878a 16Provides: mad-libs = %{version}
17Obsoletes: mad-libs < 0.15.0b
651e3d0d 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1
22and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
23so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II
24and Layer III a.k.a. MP3) are fully implemented.
25
095eea4c
JR
26%description -l pl.UTF-8
27MAD jest wysokiej jakości dekoderem audio MPEG. Obecnie obsługuje
28MPEG-1 oraz rozszerzenie MPEG-2 dla niższych częstotliwości
29pró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
651e3d0d 31zaimplementowane.
32
33%package devel
982d74a9 34Summary: Header files for libmad library
0a906204 35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmad
651e3d0d 36Group: Development/Libraries
982d74a9 37Requires: %{name} = %{version}-%{release}
1c91878a 38Provides: mad-devel = %{version}
39Obsoletes: mad-devel < 0.15.0b
651e3d0d 40
41%description devel
982d74a9 42Header files for libmad library.
651e3d0d 43
095eea4c
JR
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki libmad.
651e3d0d 46
47%package static
982d74a9 48Summary: Static mad library
0a906204 49Summary(pl.UTF-8): Biblioteka statyczna mad
651e3d0d 50Group: Development/Libraries
982d74a9 51Requires: %{name}-devel = %{version}-%{release}
1c91878a 52Provides: mad-static = %{version}
53Obsoletes: mad-static < 0.15.0b
651e3d0d 54
55%description static
982d74a9 56Static mad library.
651e3d0d 57
095eea4c 58%description static -l pl.UTF-8
982d74a9 59Biblioteka statyczna mad.
651e3d0d 60
61%prep
62%setup -q
e71a181e 63%patch0 -p1
d0447801 64%patch1 -p1
651e3d0d 65
66%build
67%{__libtoolize}
68%{__aclocal}
69%{__autoconf}
70%{__autoheader}
71%{__automake}
72%configure \
73 --%{!?debug:dis}%{?debug:en}able-debugging \
74 --enable-shared
651e3d0d 75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
651e3d0d 83%clean
84rm -rf $RPM_BUILD_ROOT
85
219d2898
JB
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
651e3d0d 89%files
90%defattr(644,root,root,755)
219d2898 91%doc CHANGES COPYRIGHT CREDITS README TODO
651e3d0d 92%attr(755,root,root) %{_libdir}/lib*.so.*.*
b0672b60 93%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
651e3d0d 94
95%files devel
96%defattr(644,root,root,755)
97%attr(755,root,root) %{_libdir}/lib*.so
98%{_libdir}/lib*.la
99%{_includedir}/*.h
e71a181e 100%{_pkgconfigdir}/*.pc
651e3d0d 101
102%files static
103%defattr(644,root,root,755)
104%{_libdir}/lib*.a
This page took 0.100064 seconds and 4 git commands to generate.