File ffx264.spec of Package ffx264 (Revision 101)

Currently displaying revision 101 , Show latest

57
 
1
#
2
# spec file for package ffx264
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:           ffx264
20
Version:        3.8.1
21
Release:        0
22
Summary:        A small shell script for encoding to H.264 with ffmpeg
23
License:        GPL-2.0+
24
Group:          Productivity/Multimedia/Video/Editors and Convertors
25
Url:            https://ffx264.teambelgium.net
26
Source0:        %{name}-%{version}.tar.gz
27
Requires:       ffmpeg
28
Requires:       bc
29
Requires:       MPlayer
30
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
31
BuildArch:      noarch
32
33
%description
34
A small shell script for encoding video files to the H.264/AVC video format
35
using ffmpeg and libx264.
36
37
%prep
38
%setup -q
39
40
%build
41
42
%install
43
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
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}/%{name}
53
%{_mandir}/man1/%{name}.1%{ext_man}
54
%doc AUTHORS ChangeLog LICENSE README *.txt
55
56
%changelog
57