Sync from SUSE:SLFO:Main libdca revision 4695f651906031d4f793004bb3b5790b

This commit is contained in:
Adrian Schröter 2024-05-03 14:50:50 +02:00
commit d4b1ef5032
8 changed files with 173 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 @@
<services>
<service name="obs_scm" mode="manual" >
<param name="url">https://code.videolan.org/videolan/libdca.git</param>
<param name="scm">git</param>
<param name="revision">95c4bd8b</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<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://code.videolan.org/videolan/libdca.git</param>
<param name="changesrevision">95c4bd8baee808ec563120f463111e2cd6cd240e</param></service></servicedata>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libdca0

BIN
libdca-0.0.7+2.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

4
libdca.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Mar 19 17:47:03 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

4
libdca.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: libdca
version: 0.0.7+2
mtime: 1615927473
commit: 95c4bd8baee808ec563120f463111e2cd6cd240e

117
libdca.spec Normal file
View File

@ -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