]> git.pld-linux.org Git - packages/amrnb.git/blame - amrnb.spec
- tabs in preamble
[packages/amrnb.git] / amrnb.spec
CommitLineData
88f8f1c9
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
5Summary: 3GPP AMR Floating-point Speech Codec
a9ee080b 6Summary(pl.UTF-8): Zmiennoprzecinkowy kodek mowy 3GPP AMR
88f8f1c9
JB
7Name: amrnb
8Version: 0.0.1
5173b056 9Release: 2
9e49f880 10# AUTHORS specifies "License unknown", 26104-610.doc in original sources 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.
14# (c) 2004, 3GPP Organizational Partners (ARIB, CCSA, ETSI, T1, TTA, TTC).
15# All rights reserved.
9e49f880 16License: restricted
88f8f1c9 17Group: Libraries
76c90f68 18# autotooled version of http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip
88f8f1c9 19Source0: http://ronald.bitfreak.net/priv/%{name}-%{version}.tar.gz
824c1381 20# NoSource0-md5: c4546d2920cf287847a7286b4dea7472
d980598c 21NoSource: 0
467a7ad0 22Patch0: %{name}-inttypes.patch
88f8f1c9 23URL: http://www.3gpp.org/
fc90b66c
JB
24BuildRequires: autoconf >= 2.50
25BuildRequires: automake
26BuildRequires: libtool
88f8f1c9
JB
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
467a7ad0
PS
29%define specflags -fno-strict-aliasing
30
88f8f1c9
JB
31%description
323GPP AMR Floating-point Speech Codec.
33
b763978e 34%description -l pl.UTF-8
88f8f1c9
JB
35Zmiennoprzecinkowy kodek mowy 3GPP AMR.
36
37%package devel
38Summary: Header files for amrnb library
a9ee080b 39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki amrnb
88f8f1c9
JB
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Header files for amrnb library.
45
b763978e
JR
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki amrnb.
88f8f1c9
JB
48
49%package static
50Summary: Static amrnb library
a9ee080b 51Summary(pl.UTF-8): Statyczna biblioteka amrnb
88f8f1c9
JB
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static amrnb library.
57
b763978e 58%description static -l pl.UTF-8
88f8f1c9
JB
59Statyczna biblioteka amrnb.
60
61%prep
62%setup -q
467a7ad0 63%patch0 -p1
88f8f1c9
JB
64
65%build
fc90b66c
JB
66%{__libtoolize}
67%{__aclocal}
68%{__autoconf}
69%{__autoheader}
70%{__automake}
88f8f1c9
JB
71%configure \
72 %{?with_static_libs:--enable-static}
467a7ad0 73
88f8f1c9
JB
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
88%files
89%defattr(644,root,root,755)
90%doc AUTHORS README
91%attr(755,root,root) %{_libdir}/libamrnb.so.*.*.*
92
93%files devel
94%defattr(644,root,root,755)
95%attr(755,root,root) %{_libdir}/libamrnb.so
96%{_libdir}/libamrnb.la
97%{_includedir}/amrnb
98
99%if %{with static_libs}
100%files static
101%defattr(644,root,root,755)
102%{_libdir}/libamrnb.a
103%endif
This page took 0.083903 seconds and 4 git commands to generate.