osc copypac from project:multimedia:libs package:libldacbt revision:3

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ldacBT?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal 2019-02-13 11:21:16 +00:00 committed by Git OBS Bridge
commit d19089fdbc
5 changed files with 121 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ldacBT-2.0.2.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2baebf72de366178de67d014e52490577673858d030284243d61d0e507753d5e
size 70120

9
libldac.changes Normal file
View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Wed Feb 13 11:14:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Split the library to subpackage based on soname
-------------------------------------------------------------------
Wed Feb 13 11:04:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, based of Fedora package

85
libldac.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package libldac
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
%global archivename ldacBT
%global libname libldac2
Name: libldac
Version: 2.0.2.2
Release: 0
Summary: A lossy audio codec for Bluetooth connections
License: Apache-2.0
Group: Productivity/Multimedia/Sound/Utilities
URL: https://github.com/EHfive/ldacBT
Source0: https://github.com/EHfive/ldacBT/releases/download/v%{version}/%{archivename}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: pkgconfig
%description
LDAC is an audio coding technology developed by Sony.
It enables the transmission of High-Resolution Audio content,
even over a Bluetooth connection.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n %{libname}
Summary: A lossy audio codec for Bluetooth connections
Group: System/Libraries
%description -n %{libname}
LDAC is an audio coding technology developed by Sony.
It enables the transmission of High-Resolution Audio content,
even over a Bluetooth connection.
%prep
%autosetup -n %{archivename}
%build
%cmake \
-DLDAC_SOFT_FLOAT=OFF \
-DINSTALL_LIBDIR=%{_libdir}
%make_jobs
%install
%cmake_install
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%{_libdir}/libldacBT_abr.so.*
%{_libdir}/libldacBT_enc.so.*
%files devel
%dir %{_includedir}/ldac
%{_includedir}/ldac/ldacBT_abr.h
%{_includedir}/ldac/ldacBT.h
%{_libdir}/pkgconfig/ldacBT-abr.pc
%{_libdir}/pkgconfig/ldacBT-enc.pc
%{_libdir}/libldacBT_abr.so
%{_libdir}/libldacBT_enc.so
%changelog