53 lines
1.3 KiB
RPMSpec
53 lines
1.3 KiB
RPMSpec
Name: opencore-amr
|
|
Version: 0.1.5
|
|
Release: 7
|
|
Summary: OpenCORE Adaptive Multi Rate Narrowband and Wideband speech lib
|
|
License: ASL 2.0
|
|
URL: http://sourceforge.net/projects/opencore-amr/
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
Patch0: opencore-amr-0.1.3-fix_pc.patch
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
|
|
%description
|
|
Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband
|
|
and Wideband speech codec.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .fix
|
|
mv opencore/README opencore/README.opencore
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%make_build V=1
|
|
|
|
%install
|
|
%make_install
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libopencore-amr??.la
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%doc README opencore/ChangeLog opencore/NOTICE opencore/README.opencore
|
|
%license LICENSE
|
|
%{_libdir}/libopencore-amr??.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/opencore-amr??
|
|
%{_libdir}/libopencore-amr??.so
|
|
%{_libdir}/pkgconfig/opencore-amr??.pc
|
|
|
|
%changelog
|
|
* Fri May 07 2021 weidong <weidong@uniontech.com> - 0.1.5-7
|
|
- Initial package.
|