File vvc-vtm.spec of Package vvc-vtm

#
# spec file for package vvc-vtm
#
# Copyright (c) 2024 Packman Team <packman@links2linux.de>
#
# 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.links2linux.org/
#


Name:           vvc-vtm
Version:        23.3
Release:        0
Summary:        VVC VTM reference software
License:        BSD-3-Clause
URL:            https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM
Source0:        https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/-/archive/VTM-%{version}/VVCSoftware_VTM-VTM-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
ExclusiveArch:  x86_64

%description
VTM reference software for VVC (H.266).

%prep
%autosetup -p1 -n VVCSoftware_VTM-VTM-%{version}

%build
%cmake
%cmake_build

%install
# everything is in bin and lib
mkdir -pv %{buildroot}%{_bindir}
pushd bin
install -m0755 BitstreamExtractorAppStaticp %{buildroot}%{_bindir}/BitstreamExtractorAppStatic
install -m0755 DecoderAnalyserAppStaticp %{buildroot}%{_bindir}/DecoderAnalyserAppStatic
install -m0755 DecoderAppStaticp %{buildroot}%{_bindir}/DecoderAppStatic
install -m0755 EncoderAppStaticp %{buildroot}%{_bindir}/EncoderAppStatic
install -m0755 SEIFilmGrainAppStaticp %{buildroot}%{_bindir}/SEIFilmGrainAppStatic
install -m0755 SEIRemovalAppStaticp %{buildroot}%{_bindir}/SEIRemovalAppStatic
install -m0755 StreamMergeAppStaticp %{buildroot}%{_bindir}/StreamMergeAppStatic
install -m0755 SubpicMergeAppStaticp %{buildroot}%{_bindir}/SubpicMergeAppStatic
install -m0755 parcatStaticp %{buildroot}%{_bindir}/parcatStatic
popd

%check

%files
%license COPYING
%doc README.md
%{_bindir}/BitstreamExtractorAppStatic
%{_bindir}/DecoderAnalyserAppStatic
%{_bindir}/DecoderAppStatic
%{_bindir}/EncoderAppStatic
%{_bindir}/SEIFilmGrainAppStatic
%{_bindir}/SEIRemovalAppStatic
%{_bindir}/StreamMergeAppStatic
%{_bindir}/SubpicMergeAppStatic
%{_bindir}/parcatStatic

%changelog