diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-11 12:28:21 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-11 12:29:08 +0200 |
commit | 48490a93a3b1d815cd25c369c17c69d3e25c7926 (patch) | |
tree | 7d512e4ef5ecc38b3d504933669005fe718389ae | |
parent | 0f955a8da658ae68345580192016c944482c1cb0 (diff) |
opencore-amr: import from home:markkp:openshot
The link referenced in _service is dead.
https://build.opensuse.org/package/view_file/home:markkp:openshot/opencore/opencore-amr.spec
Change-Id: I9f076a516da0b4207b51040bccdb52f9f40af02e
-rw-r--r-- | rpm-local/spec/opencore-amr/_service | 7 | ||||
-rw-r--r-- | rpm-local/spec/opencore-amr/opencore-amr.spec | 100 |
2 files changed, 100 insertions, 7 deletions
diff --git a/rpm-local/spec/opencore-amr/_service b/rpm-local/spec/opencore-amr/_service deleted file mode 100644 index 0ad0fd9..0000000 --- a/rpm-local/spec/opencore-amr/_service +++ /dev/null @@ -1,7 +0,0 @@ -<services> - <service name="download_src_package"> - <param name="host">packman.links2linux.de</param> - <param name="protocol">http</param> - <param name="path">/downloadsource/844174/opencore-amr-0.1.5-1.9.src.rpm</param> - </service> -</services> diff --git a/rpm-local/spec/opencore-amr/opencore-amr.spec b/rpm-local/spec/opencore-amr/opencore-amr.spec new file mode 100644 index 0000000..eaf8f65 --- /dev/null +++ b/rpm-local/spec/opencore-amr/opencore-amr.spec @@ -0,0 +1,100 @@ +# rootforbuild + +Name: opencore-amr +Summary: Adaptive Multi-Rate (AMR) Speech Codec +Version: 0.1.3 +Release: 1.1 +License: Apache License, Version 2.0 +Group: System/Libraries +Url: http://opencore-amr.sourceforge.net/ +Source0: http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +%description +Library of OpenCORE Framework implementation of Adaptive Multi Rate +Narrowband and Wideband speech codec. + +%package -n libopencore-amrnb0 +Group: System/Libraries +Summary: OpenCore AMR - Shared Library + +%description -n libopencore-amrnb0 +Library of OpenCORE Framework implementation of Adaptive Multi Rate +Narrowband speech codec. + +%package -n libopencore-amrwb0 +Group: System/Libraries +Summary: OpenCore AMR - Shared Library + +%description -n libopencore-amrwb0 +Library of OpenCORE Framework implementation of Adaptive Multi Rate +Wideband speech codec. + +%package -n libopencore-amr-devel +Summary: Adaptive Multi-Rate (AMR) Speech Codec Developer Package +Group: Development/Libraries/C and C++ +Requires: libopencore-amrnb0 = %{version} +Requires: libopencore-amrwb0 = %{version} + +%description -n libopencore-amr-devel +Library of OpenCORE Framework implementation of Adaptive Multi Rate +Narrowband and Wideband speech codec. +Developer Package. + +%prep +%setup -q + +%build +%configure --disable-static +%__make %{?_smp_mflags} + +%install +%{makeinstall} +find %{buildroot}%{_libdir} -name '*.la' -delete -print + +%clean +rm -rf %{buildroot} + +%post -n libopencore-amrnb0 -p /sbin/ldconfig + +%postun -n libopencore-amrnb0 -p /sbin/ldconfig + +%post -n libopencore-amrwb0 -p /sbin/ldconfig + +%postun -n libopencore-amrwb0 -p /sbin/ldconfig + +%files -n libopencore-amrnb0 +%defattr(-,root,root) +%{_libdir}/libopencore-amrnb.so.0* + +%files -n libopencore-amrwb0 +%defattr(-,root,root) +%{_libdir}/libopencore-amrwb.so.0* + +%files -n libopencore-amr-devel +%defattr (-, root, root) +%doc opencore/ChangeLog opencore/NOTICE opencore/README +%{_includedir}/opencore-amrnb/ +%{_includedir}/opencore-amrwb/ +%{_libdir}/libopencore-amr*.so +%{_libdir}/pkgconfig/opencore-amr*.pc + +%changelog +* Fri May 25 2012 dimstar@opensuse.org +- Update to version 0.1.3: + + Adjusted libtool flags for building DLLs for windows + + Update to the latest upstream opencore source + + Updated and improved example applications + + Add options for enabling the arm inline assembly + + Add options for disabling the encoder or decoder in the amrnb + library + + Avoid dependencies on libstdc++ if building the source as C + + Hide internal symbols in shared libraries + + Minor tweaks + + Remove old static makefiles and corresponding build scrip +* Thu Feb 3 2011 dominique-vlc.suse@leuenberger.net +- BuildRequire pkgconfig instead of pkg-config. +* Mon Sep 6 2010 dominique-vlc.suse@leuenberger.net +- Initial package, version 0.1.2 |