commit d19089fdbc466c8815638e77d357a3931d2785329e583756d59c746c1c7a0cde Author: Tomáš Chvátal Date: Wed Feb 13 11:21:16 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ldacBT-2.0.2.2.tar.gz b/ldacBT-2.0.2.2.tar.gz new file mode 100644 index 0000000..6b821b5 --- /dev/null +++ b/ldacBT-2.0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2baebf72de366178de67d014e52490577673858d030284243d61d0e507753d5e +size 70120 diff --git a/libldac.changes b/libldac.changes new file mode 100644 index 0000000..1efaa07 --- /dev/null +++ b/libldac.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 13 11:14:39 UTC 2019 - Tomáš Chvátal + +- Split the library to subpackage based on soname + +------------------------------------------------------------------- +Wed Feb 13 11:04:28 UTC 2019 - Tomáš Chvátal + +- Initial commit, based of Fedora package diff --git a/libldac.spec b/libldac.spec new file mode 100644 index 0000000..65ba53c --- /dev/null +++ b/libldac.spec @@ -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