]> git.pld-linux.org Git - packages/amrwb.git/blob - amrwb.spec
- up to 11.0.0.0/b00
[packages/amrwb.git] / amrwb.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        3GPP AMR-WB Floating-point Speech Codec
6 Summary(pl.UTF-8):      Zmiennoprzecinkowy kodek mowy 3GPP AMR-WB
7 Name:           amrwb
8 Version:        11.0.0.0
9 Release:        1
10 # from 26204-b00.doc:
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) 2012, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
15 # All rights reserved.
16 License:        restricted
17 Group:          Libraries
18 Source0:        http://ftp.penguin.cz/pub/users/utx/amr/%{name}-%{version}.tar.bz2
19 # Source0-md5:  f9ea63e6f8b778fe1040f73891ba3720
20 Source1:        http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-b00.zip
21 # NoSource1-md5:        9fd5a681beb11277ce370deafa4a494d
22 NoSource:       1
23 URL:            http://www.3gpp.org/
24 BuildRequires:  autoconf >= 2.50
25 BuildRequires:  automake
26 BuildRequires:  libtool
27 BuildRequires:  unzip
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         specflags       -fno-strict-aliasing
31
32 %description
33 3GPP AMR-WB Floating-point Speech Codec.
34
35 %description -l pl.UTF-8
36 Zmiennoprzecinkowy kodek mowy 3GPP AMR-WB.
37
38 %package devel
39 Summary:        Header files for amrwb library
40 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki amrwb
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43
44 %description devel
45 Header files for amrwb library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki amrwb.
49
50 %package static
51 Summary:        Static amrwb library
52 Summary(pl.UTF-8):      Statyczna biblioteka amrwb
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static amrwb library.
58
59 %description static -l pl.UTF-8
60 Statyczna biblioteka amrwb.
61
62 %prep
63 %setup -q
64
65 ln -s %{SOURCE1} .
66
67 %build
68 %{__libtoolize}
69 %{__aclocal} -I m4
70 %{__autoconf}
71 %{__automake}
72 %configure \
73         %{!?with_static_libs:--disable-static}
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc 26204-b00.doc readme.txt
92 %doc AUTHORS COPYING ChangeLog NEWS README TODO
93 %attr(755,root,root) %{_bindir}/amrwb-*
94 %attr(755,root,root) %{_libdir}/libamrwb.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libamrwb.so.3
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libamrwb.so
100 %{_libdir}/libamrwb.la
101 %{_includedir}/amrwb
102
103 %if %{with static_libs}
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libamrwb.a
107 %endif
This page took 0.04669 seconds and 3 git commands to generate.