package created by autospec [release rfc3951-1mamba;Tue Feb 21 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 04:38:12 +01:00
parent a7f81ff814
commit 41b063e399
3 changed files with 78 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libilbc # libilbc
Internet Low Bitrate Codec (iLBC) library.

10
ilbc-pkgconfig Normal file
View File

@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
Name: ilbc
Description: ilbc library
Version: 0.0.0
Cflags: -I${includedir}/ilbc
Libs: -L${libdir} -lilbc

66
libilbc.spec Normal file
View File

@ -0,0 +1,66 @@
Name: libilbc
Version: rfc3951
Release: 1mamba
Summary: Internet Low Bitrate Codec (iLBC) library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ilbcfreeware.org
Source: http://simon.morlat.free.fr/download/1.1.x/source/ilbc-%{version}.tar.gz
Source1: ilbc-pkgconfig
License: Freeware
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Internet Low Bitrate Codec (iLBC) library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q -n ilbc-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/ilbc.pc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libilbc.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/ilbc
%{_includedir}/ilbc/iLBC_decode.h
%{_includedir}/ilbc/iLBC_define.h
%{_includedir}/ilbc/iLBC_encode.h
%{_libdir}/libilbc.a
%{_libdir}/libilbc.la
%{_libdir}/libilbc.so
%{_datadir}/pkgconfig/ilbc.pc
%doc README
%changelog
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> rfc3951-1mamba
- package created by autospec