File ffhevc.spec of Package ffhevc

# spec file for package ffhevc
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           ffhevc
Version:        4.4.7
Release:        %mkrel 1
Summary:        A small shell script for encoding to H.265/HEVC with FFmpeg
License:        GPL-2.0+
Group:          Productivity/Multimedia/Video/Editors and Convertors
Source0:        %{name}-%{version}.tar.gz
Requires:       ffmpeg
Requires:       bc
Requires:       mplayer
Requires:       gpac >= 0.8.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

A small shell script for encoding video files to the H.265/HEVC video
format using FFmpeg and libx265.

%setup -q


install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
install -D -m 755 hdr %{buildroot}/%{_bindir}/hdr

gzip -9 %{name}.1
install -D -m 644 %{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz

%doc AUTHORS ChangeLog LICENSE README *.txt *.json