update to 3.0.4 [release 3.0.4-1mamba;Tue Nov 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 04:38:12 +01:00
parent 41b063e399
commit 4450f07867

View File

@ -1,19 +1,21 @@
Name: libilbc
Version: rfc3951
Epoch: 1
Version: 3.0.4
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
URL: https://github.com/TimothyGu/libilbc/
Source: https://github.com/TimothyGu/libilbc.git/v%{version}/libilbc-%{version}.tar.bz2
Source1: ilbc-pkgconfig
License: Freeware
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Internet Low Bitrate Codec (iLBC) library.
@ -26,17 +28,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n ilbc-%{version}
%setup -q
%build
%configure
%make
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/ilbc.pc
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -51,16 +55,18 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/ilbc.pc
%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
%{_bindir}/ilbc_test
%{_includedir}/ilbc.h
%{_includedir}/ilbc_export.h
%{_libdir}/libilbc.so
%{_datadir}/pkgconfig/ilbc.pc
%doc README
%{_libdir}/pkgconfig/libilbc.pc
%dir %{_docdir}/libilbc
%{_docdir}/libilbc/*
%doc README.md
%changelog
* Tue Nov 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1mamba
- update to 3.0.4
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> rfc3951-1mamba
- package created by autospec