]> git.pld-linux.org Git - packages/amrnb.git/blob - amrnb.spec
- converted to UTF-8
[packages/amrnb.git] / amrnb.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        3GPP AMR Floating-point Speech Codec
6 Summary(pl.UTF-8):   Zmiennoprzecinkowy kodek mowy 3GPP AMR
7 Name:           amrnb
8 Version:        0.0.1
9 Release:        2
10 # AUTHORS specifies "License unknown", 26104-610.doc in original sources says:
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.
16 License:        restricted
17 Group:          Libraries
18 # autotooled version of http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip
19 Source0:        http://ronald.bitfreak.net/priv/%{name}-%{version}.tar.gz
20 # NoSource0-md5:        c4546d2920cf287847a7286b4dea7472
21 NoSource:       0
22 Patch0:         %{name}-inttypes.patch
23 URL:            http://www.3gpp.org/
24 BuildRequires:  autoconf >= 2.50
25 BuildRequires:  automake
26 BuildRequires:  libtool
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         specflags       -fno-strict-aliasing
30
31 %description
32 3GPP AMR Floating-point Speech Codec.
33
34 %description -l pl.UTF-8
35 Zmiennoprzecinkowy kodek mowy 3GPP AMR.
36
37 %package devel
38 Summary:        Header files for amrnb library
39 Summary(pl.UTF-8):   Pliki nagłówkowe biblioteki amrnb
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for amrnb library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki amrnb.
48
49 %package static
50 Summary:        Static amrnb library
51 Summary(pl.UTF-8):   Statyczna biblioteka amrnb
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static amrnb library.
57
58 %description static -l pl.UTF-8
59 Statyczna biblioteka amrnb.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         %{?with_static_libs:--enable-static}
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -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.089227 seconds and 3 git commands to generate.