File ffhevc.spec of Package ffhevc (Revision bfae8b83e5d617887a08bae8bf97461b)

Currently displaying revision bfae8b83e5d617887a08bae8bf97461b , Show latest

57
 
1
#
2
# spec file for package ffhevc
3
#
4
# Copyright (c) 2018 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.7.0
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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
30
BuildArch:      noarch
31
32
%description
33
A small shell script for encoding video files to the H.265/HEVC video
34
format using ffmpeg and libx265.
35
36
%prep
37
%setup -q
38
39
%build
40
41
%install
42
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
43
install -D -m 755 hdr %{buildroot}/%{_bindir}/hdr
44
45
gzip -9 %{name}.1
46
install -D -m 644 %{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
47
48
49
50
%files
51
%defattr(-,root,root)
52
%{_bindir}/*
53
%{_mandir}/man1/%{name}.1%{ext_man}
54
%doc AUTHORS ChangeLog LICENSE README *.txt Dynamic_HDR10_Example.json
55
56
%changelog
57