From 41b063e3995fc02232a8daa969102d49078f96ab Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:38:12 +0100 Subject: [PATCH] package created by autospec [release rfc3951-1mamba;Tue Feb 21 2012] --- README.md | 2 ++ ilbc-pkgconfig | 10 ++++++++ libilbc.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 ilbc-pkgconfig create mode 100644 libilbc.spec diff --git a/README.md b/README.md index d9d88e2..e3f4847 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libilbc +Internet Low Bitrate Codec (iLBC) library. + diff --git a/ilbc-pkgconfig b/ilbc-pkgconfig new file mode 100644 index 0000000..a81768a --- /dev/null +++ b/ilbc-pkgconfig @@ -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 diff --git a/libilbc.spec b/libilbc.spec new file mode 100644 index 0000000..fdbeb73 --- /dev/null +++ b/libilbc.spec @@ -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 +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 rfc3951-1mamba +- package created by autospec