File vvc-vtm.spec of Package vvc-vtm
83
1
#
2
# spec file for package vvc-vtm
3
#
4
# Copyright (c) 2024 Packman Team <packman@links2linux.de>
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via https://bugs.links2linux.org/
16
#
17
18
19
Name: vvc-vtm
20
Version: 23.4
21
Release: 0
22
Summary: VVC VTM reference software
23
License: BSD-3-Clause
24
URL: https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM
25
Source0: https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/-/archive/VTM-%{version}/VVCSoftware_VTM-VTM-%{version}.tar.gz
26
BuildRequires: cmake
27
BuildRequires: gcc-c++
28
ExclusiveArch: x86_64
29
30
%description
31
VTM reference software for VVC (H.266).
32
33
%package doc
34
Summary: Docs for %{name}
35
BuildArch: noarch
36
37
%description doc
38
Extra documentation for %{name}
39
40
%prep
41
%autosetup -p1 -n VVCSoftware_VTM-VTM-%{version}
42
43
%build
44
%cmake
45
%cmake_build
46
47
%install
48
# everything is in bin and lib
49
mkdir -pv %{buildroot}%{_bindir}
50
install -Dm755 bin/BitstreamExtractorAppStaticp "%{buildroot}%{_bindir}/vvc_bitstream_extractor"
51
install -Dm755 bin/DecoderAppStaticp "%{buildroot}%{_bindir}/vvc_decoder"
52
install -Dm755 bin/DecoderAnalyserAppStaticp "%{buildroot}%{_bindir}/vvc_decoder_analyser"
53
install -Dm755 bin/EncoderAppStaticp "%{buildroot}%{_bindir}/vvc_encoder"
54
install -Dm755 bin/parcatStaticp "%{buildroot}%{_bindir}/vvc_parcat"
55
install -Dm755 bin/SEIFilmGrainAppStaticp "%{buildroot}%{_bindir}/vvc_sei_film_grain"
56
install -Dm755 bin/SEIRemovalAppStaticp "%{buildroot}%{_bindir}/vvc_sei_removal"
57
install -Dm755 bin/StreamMergeAppStaticp "%{buildroot}%{_bindir}/vvc_stream_merge"
58
install -Dm755 bin/SubpicMergeAppStaticp "%{buildroot}%{_bindir}/vvc_subpic_merge"
59
60
mkdir -pv %{buildroot}%{_defaultdocdir}/%{name}
61
install -m0644 doc/pyuv_format.pdf doc/software-manual.pdf %{buildroot}%{_defaultdocdir}/%{name}
62
63
%check
64
65
%files
66
%license COPYING
67
%doc README.md
68
%{_bindir}/vvc_bitstream_extractor
69
%{_bindir}/vvc_decoder
70
%{_bindir}/vvc_decoder_analyser
71
%{_bindir}/vvc_encoder
72
%{_bindir}/vvc_parcat
73
%{_bindir}/vvc_sei_film_grain
74
%{_bindir}/vvc_sei_removal
75
%{_bindir}/vvc_stream_merge
76
%{_bindir}/vvc_subpic_merge
77
78
%files doc
79
%doc %{_defaultdocdir}/%{name}/pyuv_format.pdf
80
%doc %{_defaultdocdir}/%{name}/software-manual.pdf
81
82
%changelog
83