libopencore-amr/libopencore-amr.spec

73 lines
2.1 KiB
RPMSpec

Name: libopencore-amr
Version: 0.1.4
Release: 1mamba
Summary: Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband and Wideband speech codec
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://opencore-amr.sourceforge.net/
Source: http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband and Wideband speech codec.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband and Wideband speech codec.
This package contains static libraries and header files need for development.
%prep
%setup -q -n opencore-amr-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libopencore-amrnb.so.*
%{_libdir}/libopencore-amrwb.so.*
%doc ChangeLog LICENSE README
%files devel
%defattr(-,root,root)
%{_includedir}/opencore-amrnb/*.h
%{_includedir}/opencore-amrwb/*.h
%{_libdir}/libopencore-amrnb.a
%{_libdir}/libopencore-amrnb.la
%{_libdir}/libopencore-amrnb.so
%{_libdir}/libopencore-amrwb.a
%{_libdir}/libopencore-amrwb.la
%{_libdir}/libopencore-amrwb.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Thu Mar 16 2017 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
- automatic version update by autodist
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
- update to 0.1.3
* Thu Nov 19 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-1mamba
- package created by autospec