libilbc/libilbc.spec

67 lines
1.6 KiB
RPMSpec

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