File ffhevc.spec of Package ffhevc (Revision 8cdbcee052bb06430fac594e1b302a23)

Currently displaying revision 8cdbcee052bb06430fac594e1b302a23 , Show latest

59
 
1
#
2
# spec file for package ffhevc
3
#
4
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
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 http://bugs.opensuse.org/
16
#
17
18
19
Name:           ffhevc
20
Version:        3.9.7
21
Release:        0
22
Summary:        A small shell script for encoding to H.265/HEVC with FFmpeg
23
License:        GPL-2.0+
24
Group:          Productivity/Multimedia/Video/Editors and Convertors
25
Url:            https://ffhevc.teambelgium.net
26
Source0:        %{name}-%{version}.tar.gz
27
Requires:       ffmpeg
28
Requires:       bc
29
Requires:       MPlayer
30
Requires:       gpac >= 0.8.0
31
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
32
BuildArch:      noarch
33
34
%description
35
A small shell script for encoding video files to the H.265/HEVC video
36
format using FFmpeg and libx265.
37
38
%prep
39
%setup -q
40
41
%build
42
43
%install
44
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
45
install -D -m 755 hdr %{buildroot}/%{_bindir}/hdr
46
47
gzip -9 %{name}.1
48
install -D -m 644 %{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
49
50
51
52
%files
53
%defattr(-,root,root)
54
%{_bindir}/*
55
%{_mandir}/man1/%{name}.1%{ext_man}
56
%doc AUTHORS ChangeLog LICENSE README *.txt Dynamic_HDR10_Example.json
57
58
%changelog
59