commit b19c7e3ef1c19e9c550560d9e51e1a135260b3db Author: Adrian Schröter Date: Mon Oct 14 14:53:58 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 libdca revision 4695f651906031d4f793004bb3b5790b diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/_service b/_service new file mode 100644 index 0000000..ae6afbd --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + https://code.videolan.org/videolan/libdca.git + git + 95c4bd8b + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + enable + + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..0d91d38 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://code.videolan.org/videolan/libdca.git + 95c4bd8baee808ec563120f463111e2cd6cd240e \ No newline at end of file diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..4962f01 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libdca0 diff --git a/libdca-0.0.7+2.obscpio b/libdca-0.0.7+2.obscpio new file mode 100644 index 0000000..c988b95 --- /dev/null +++ b/libdca-0.0.7+2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33b0c95f29b8b71e148fe47e62d5f40920e62df1a2773caa6c448c04b25fe74d +size 699404 diff --git a/libdca.changes b/libdca.changes new file mode 100644 index 0000000..aeac3ac --- /dev/null +++ b/libdca.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Mar 19 17:47:03 UTC 2023 - Bjørn Lie + +- Initial packaging for openSUSE. diff --git a/libdca.obsinfo b/libdca.obsinfo new file mode 100644 index 0000000..80c41d1 --- /dev/null +++ b/libdca.obsinfo @@ -0,0 +1,4 @@ +name: libdca +version: 0.0.7+2 +mtime: 1615927473 +commit: 95c4bd8baee808ec563120f463111e2cd6cd240e diff --git a/libdca.spec b/libdca.spec new file mode 100644 index 0000000..1af689d --- /dev/null +++ b/libdca.spec @@ -0,0 +1,117 @@ +# +# spec file for package libdca +# +# 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 sover 0 + +Name: libdca +Version: 0.0.7+2 +Release: 0 +Summary: DTS Coherent Acoustics decoder library +License: GPL-2.0-or-later +URL: https://www.videolan.org/developers/libdca.html +Source0: %{name}-%{version}.tar.xz +Source99: baselibs.conf + +BuildRequires: c_compiler +BuildRequires: fdupes +BuildRequires: libtool +BuildRequires: pkgconfig + +%description +libdca is a free library for decoding DTS Coherent Acoustics +streams. It is released under the terms of the GPL license. The DTS +Coherent Acoustics standard is used in a variety of applications, +including DVD, DTS audio CD and radio broadcasting. + +%package -n libdca%{sover} +Summary: DTS Coherent Acoustics decoder library + +%description -n libdca%{sover} +libdca is a free library for decoding DTS Coherent Acoustics +streams. It is released under the terms of the GPL license. The DTS +Coherent Acoustics standard is used in a variety of applications, +including DVD, DTS audio CD and radio broadcasting. + +This package contains the library for decoding DTS Coherent +Acoustics streams. + +%package -n dcatools +Summary: Free DTS Coherent Acoustics decoder tools + +%description -n dcatools +libdca is a free library for decoding DTS Coherent Acoustics +streams. It is released under the terms of the GPL license. The DTS +Coherent Acoustics standard is used in a variety of applications, +including DVD, DTS audio CD and radio broadcasting. + +This package contains tools for decoding DTS Coherent Acoustics +streams. + +%package devel +Summary: Header files for the libdca library +Requires: libdca%{sover} = %{version} + +%description devel +libdca is a free library for decoding DTS Coherent Acoustics +streams. It is released under the terms of the GPL license. The DTS +Coherent Acoustics standard is used in a variety of applications, +including DVD, DTS audio CD and radio broadcasting. + +This package contains header files and static library for the +libdca library. Install this package if you want to compile +programs using the library. + +%prep +%autosetup -p1 + +%build +./bootstrap +%configure \ + %{nil} +%make_build + +%install +%make_install +find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f +%fdupes -s %{buildroot}%{_bindir} + +%ldconfig_scriptlets -n libdca%{sover} + +%files -n libdca%{sover} +%doc COPYING +%{_libdir}/%{name}.so.* + +%files -n dcatools +%{_bindir}/dcadec +%{_bindir}/dtsdec +%{_bindir}/extract_dca +%{_bindir}/extract_dts +%{_mandir}/man?/dcadec.?%{ext_man} +%{_mandir}/man?/dtsdec.?%{ext_man} +%{_mandir}/man?/extract_dca.?%{ext_man} +%{_mandir}/man?/extract_dts.?%{ext_man} + +%files devel +%doc AUTHORS ChangeLog NEWS README +%{_includedir}/dca.h +%{_includedir}/dts.h +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/libdca.pc +%{_libdir}/pkgconfig/libdts.pc + +%changelog