Author: qboosh Date: Sat Jan 14 23:57:23 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: amrnb.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/amrnb.spec diff -u /dev/null SPECS/amrnb.spec:1.1 --- /dev/null Sun Jan 15 00:57:23 2006 +++ SPECS/amrnb.spec Sun Jan 15 00:57:18 2006 @@ -0,0 +1,92 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # don't build static library +# +Summary: 3GPP AMR Floating-point Speech Codec +Summary(pl): Zmiennoprzecinkowy kodek mowy 3GPP AMR +Name: amrnb +Version: 0.0.1 +Release: 1 +License: unknown +Group: Libraries +Source0: http://ronald.bitfreak.net/priv/%{name}-%{version}.tar.gz +# Source0-md5: c4546d2920cf287847a7286b4dea7472 +URL: http://www.3gpp.org/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +3GPP AMR Floating-point Speech Codec. + +%description -l pl +Zmiennoprzecinkowy kodek mowy 3GPP AMR. + +%package devel +Summary: Header files for amrnb library +Summary(pl): Pliki nagłówkowe biblioteki amrnb +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for amrnb library. + +%description devel -l pl +Pliki nagłówkowe biblioteki amrnb. + +%package static +Summary: Static amrnb library +Summary(pl): Statyczna biblioteka amrnb +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static amrnb library. + +%description static -l pl +Statyczna biblioteka amrnb. + +%prep +%setup -q + +%build +%configure \ + %{?with_static_libs:--enable-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 AUTHORS README +%attr(755,root,root) %{_libdir}/libamrnb.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libamrnb.so +%{_libdir}/libamrnb.la +%{_includedir}/amrnb + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libamrnb.a +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/01/14 23:57:18 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
