]> git.pld-linux.org Git - packages/amrnb.git/blame - amrnb.spec
- updated to 7.0.0.0 (upstream 7.0.0)
[packages/amrnb.git] / amrnb.spec
CommitLineData
88f8f1c9
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
b0bd2350
JB
5Summary: 3GPP AMR-NB Floating-point Speech Codec
6Summary(pl.UTF-8): Zmiennoprzecinkowy kodek mowy 3GPP AMR-NB
88f8f1c9 7Name: amrnb
21e0a52c 8Version: 7.0.0.0
b0bd2350 9Release: 1
21e0a52c 10# 26104-700.doc says:
76c90f68
JB
11# Copyright Notification
12# No part may be reproduced except as authorized by written permission.
13# The copyright and the foregoing restriction extend to reproduction in all media.
21e0a52c 14# (c) 2007, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
76c90f68 15# All rights reserved.
9e49f880 16License: restricted
88f8f1c9 17Group: Libraries
b0bd2350 18Source0: http://ftp.penguin.cz/pub/users/utx/amr/%{name}-%{version}.tar.bz2
21e0a52c
JB
19# Source0-md5: c89d657b75c936a061a8eaf12decadf8
20Source1: http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip
21# NoSource1-md5: e8cedb8d502294ab7833ced0b407d238
b0bd2350 22NoSource: 1
88f8f1c9 23URL: http://www.3gpp.org/
fc90b66c
JB
24BuildRequires: autoconf >= 2.50
25BuildRequires: automake
26BuildRequires: libtool
b0bd2350 27BuildRequires: unzip
88f8f1c9
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
b0bd2350 313GPP AMR-NB Floating-point Speech Codec.
88f8f1c9 32
b763978e 33%description -l pl.UTF-8
b0bd2350 34Zmiennoprzecinkowy kodek mowy 3GPP AMR-NB.
88f8f1c9
JB
35
36%package devel
37Summary: Header files for amrnb library
a9ee080b 38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki amrnb
88f8f1c9
JB
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for amrnb library.
44
b763978e
JR
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki amrnb.
88f8f1c9
JB
47
48%package static
49Summary: Static amrnb library
a9ee080b 50Summary(pl.UTF-8): Statyczna biblioteka amrnb
88f8f1c9
JB
51Group: Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55Static amrnb library.
56
b763978e 57%description static -l pl.UTF-8
88f8f1c9
JB
58Statyczna biblioteka amrnb.
59
60%prep
61%setup -q
62
63%build
fc90b66c 64%{__libtoolize}
21e0a52c 65%{__aclocal} -I m4
fc90b66c 66%{__autoconf}
fc90b66c 67%{__automake}
88f8f1c9
JB
68%configure \
69 %{?with_static_libs:--enable-static}
467a7ad0 70
88f8f1c9
JB
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(644,root,root,755)
21e0a52c 87%doc 26104-700.doc readme.txt
b0bd2350
JB
88%doc AUTHORS COPYING ChangeLog NEWS README TODO
89%attr(755,root,root) %{_bindir}/amrnb-*
88f8f1c9
JB
90%attr(755,root,root) %{_libdir}/libamrnb.so.*.*.*
91
92%files devel
93%defattr(644,root,root,755)
94%attr(755,root,root) %{_libdir}/libamrnb.so
95%{_libdir}/libamrnb.la
96%{_includedir}/amrnb
97
98%if %{with static_libs}
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libamrnb.a
102%endif
This page took 0.081828 seconds and 4 git commands to generate.