File ffhevc.spec of Package ffhevc (Revision ea7a9c4275d6634ab1ae56eec1eedf61)

Currently displaying revision ea7a9c4275d6634ab1ae56eec1eedf61 , Show latest

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