Sync from SUSE:SLFO:Main vo-amrwbenc revision 4ea0940193729a9805bd9abee7002555

This commit is contained in:
Adrian Schröter 2024-05-04 01:47:49 +02:00
commit cd91f0da35
8 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

17
_service Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://git.code.sf.net/p/opencore-amr/vo-amrwbenc</param>
<param name="revision">3b3fcd</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.code.sf.net/p/opencore-amr/vo-amrwbenc</param>
<param name="changesrevision">3b3fcd0d250948e74cd67e7ea81af431ab3928f9</param></service></servicedata>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libvo-amrwbenc0

BIN
vo-amrwbenc-0.1.3+5.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

4
vo-amrwbenc.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Mar 25 14:32:53 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

4
vo-amrwbenc.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: vo-amrwbenc
version: 0.1.3+5
mtime: 1415351305
commit: 3b3fcd0d250948e74cd67e7ea81af431ab3928f9

87
vo-amrwbenc.spec Normal file
View File

@ -0,0 +1,87 @@
#
# spec file for package vo-amrwbenc
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_nr 0
Name: vo-amrwbenc
Version: 0.1.3+5
Release: 0
Summary: VisualOn AMR-WB encoder library
License: Apache-2.0
Group: System/Libraries
URL: http://opencore-amr.sourceforge.net/
Source0: %{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: c_compiler
BuildRequires: libtool
BuildRequires: pkgconfig
%description
This library contains an encoder implementation of the Adaptive
Multi Rate Wideband (AMR-WB) audio codec. The library is based
on a codec implementation by VisualOn as part of the Stagefright
framework from the Google Android project.
%package -n lib%{name}%{so_nr}
Summary: VisualOn AMR-WB encoder library
Group: System/Libraries
%description -n lib%{name}%{so_nr}
This library contains an encoder implementation of the Adaptive
Multi Rate Wideband (AMR-WB) audio codec. The library is based
on a codec implementation by VisualOn as part of the Stagefright
framework from the Google Android project.
%package -n lib%{name}-devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: lib%{name}%{so_nr} = %{version}
%description -n lib%{name}-devel
This package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
autoreconf -fiv
%configure \
--disable-silent-rules \
--disable-static \
%{nil}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n lib%{name}%{so_nr}
%files -n lib%{name}%{so_nr}
%license COPYING
%doc README NOTICE
%{_libdir}/lib%{name}.so.*
%files -n lib%{name}-devel
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog