]> git.pld-linux.org Git - packages/amrnb.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Jan 2006 23:57:18 +0000 (23:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amrnb.spec -> 1.1

amrnb.spec [new file with mode: 0644]

diff --git a/amrnb.spec b/amrnb.spec
new file mode 100644 (file)
index 0000000..cf8c462
--- /dev/null
@@ -0,0 +1,82 @@
+#
+# 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
This page took 0.06798 seconds and 4 git commands to generate.