X-Git-Url: http://git.pld-linux.org/?p=packages%2Famrnb.git;a=blobdiff_plain;f=amrnb.spec;h=980a0804d121fa5844c0a5479f261e995d11ef45;hp=9febec32b659441b12c731ee730472224e17632a;hb=447e53274de91b7a4d8582b583d306a8038f8645;hpb=b763978e6c40f558a6f9748ea694f423c82ef4ea diff --git a/amrnb.spec b/amrnb.spec index 9febec3..980a080 100644 --- a/amrnb.spec +++ b/amrnb.spec @@ -2,41 +2,40 @@ # Conditional build: %bcond_without static_libs # don't build static library # -Summary: 3GPP AMR Floating-point Speech Codec -Summary(pl.UTF-8): Zmiennoprzecinkowy kodek mowy 3GPP AMR +Summary: 3GPP AMR-NB Floating-point Speech Codec +Summary(pl.UTF-8): Zmiennoprzecinkowy kodek mowy 3GPP AMR-NB Name: amrnb -Version: 0.0.1 -Release: 2 -# AUTHORS specifies "License unknown", 26104-610.doc in original sources says: +Version: 10.0.0.0 +Release: 1 +# 26104-a00.doc says: # Copyright Notification # No part may be reproduced except as authorized by written permission. # The copyright and the foregoing restriction extend to reproduction in all media. -# (c) 2004, 3GPP Organizational Partners (ARIB, CCSA, ETSI, T1, TTA, TTC). +# (c) 2011, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC). # All rights reserved. License: restricted Group: Libraries -# autotooled version of http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip -Source0: http://ronald.bitfreak.net/priv/%{name}-%{version}.tar.gz -# NoSource0-md5: c4546d2920cf287847a7286b4dea7472 -NoSource: 0 -Patch0: %{name}-inttypes.patch +Source0: http://ftp.penguin.cz/pub/users/utx/amr/%{name}-%{version}.tar.bz2 +# Source0-md5: b83654e7be037989f61fe87a9a460783 +Source1: http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-a00.zip +# NoSource1-md5: b349da3e27d16d025e8e2a393c634cf9 +NoSource: 1 URL: http://www.3gpp.org/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: libtool +BuildRequires: unzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define specflags -fno-strict-aliasing - %description -3GPP AMR Floating-point Speech Codec. +3GPP AMR-NB Floating-point Speech Codec. %description -l pl.UTF-8 -Zmiennoprzecinkowy kodek mowy 3GPP AMR. +Zmiennoprzecinkowy kodek mowy 3GPP AMR-NB. %package devel Summary: Header files for amrnb library -Summary(pl.UTF-8): Pliki nagłówkowe biblioteki amrnb +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki amrnb Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -48,7 +47,7 @@ Pliki nagłówkowe biblioteki amrnb. %package static Summary: Static amrnb library -Summary(pl.UTF-8): Statyczna biblioteka amrnb +Summary(pl.UTF-8): Statyczna biblioteka amrnb Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} @@ -60,13 +59,13 @@ Statyczna biblioteka amrnb. %prep %setup -q -%patch0 -p1 + +ln -s %{SOURCE1} . %build %{__libtoolize} -%{__aclocal} +%{__aclocal} -I m4 %{__autoconf} -%{__autoheader} %{__automake} %configure \ %{?with_static_libs:--enable-static} @@ -87,8 +86,11 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS README +%doc 26104-a00.doc readme.txt +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/amrnb-* %attr(755,root,root) %{_libdir}/libamrnb.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libamrnb.so.3 %files devel %defattr(644,root,root,755)