SPECS: amrwb.spec (NEW) - AMR-WB codec as shared library
qboosh
qboosh at pld-linux.org
Sun Jul 2 00:31:25 CEST 2006
Author: qboosh Date: Sat Jul 1 22:31:25 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- AMR-WB codec as shared library
---- Files affected:
SPECS:
amrwb.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/amrwb.spec
diff -u /dev/null SPECS/amrwb.spec:1.1
--- /dev/null Sun Jul 2 00:31:25 2006
+++ SPECS/amrwb.spec Sun Jul 2 00:31:19 2006
@@ -0,0 +1,118 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
+Summary: 3GPP AMR-WB Floating-point Speech Codec
+Summary(pl): Zmiennoprzecinkowy kodek mowy 3GPP AMR-WB
+Name: amrwb
+Version: 6.0.0
+Release: 1
+# from 26204-600.doc:
+# 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).
+# All rights reserved.
+License: restricted
+Group: Libraries
+Source0: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip
+# NoSource0-md5: e78e35eabe09eea50198f1a27b81eb60
+NoSource: 0
+Patch0: %{name}-inttypes.patch
+Patch1: %{name}-acam.patch
+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-WB Floating-point Speech Codec.
+
+%description -l pl
+Zmiennoprzecinkowy kodek mowy 3GPP AMR-WB.
+
+%package devel
+Summary: Header files for amrwb library
+Summary(pl): Pliki nagłówkowe biblioteki amrwb
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for amrwb library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki amrwb.
+
+%package static
+Summary: Static amrwb library
+Summary(pl): Statyczna biblioteka amrwb
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static amrwb library.
+
+%description static -l pl
+Statyczna biblioteka amrwb.
+
+%prep
+%setup -q -c
+
+unzip -q 26204-600_ANSI-C_source_code.zip
+mv -f c-code/*.[ch] .
+
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ %{!?with_static_libs:--disable-static}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc 26204-600.doc
+%attr(755,root,root) %{_libdir}/libamrwb.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libamrwb.so
+%{_libdir}/libamrwb.la
+%{_includedir}/amrwb
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libamrwb.a
+%endif
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/07/01 22:31:19 qboosh
+- AMR-WB codec as shared library
================================================================
More information about the pld-cvs-commit
mailing list