File ffx264.spec of Package ffx264
#
# spec file for package ffx264
#
# Copyright (c) 2025 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 http://bugs.opensuse.org/
#
Name: ffx264
Version: 4.2.13
Release: %mkrel 1
Summary: A small shell script for encoding to H.264/AVC with FFmpeg
License: GPL-2.0+
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: https://ffx264.teambelgium.net
Source0: %{name}-%{version}.tar.gz
Requires: ffmpeg
Requires: bc
Requires: mplayer
Requires: gpac >= 0.8.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
A small shell script for encoding video files to the H.264/AVC video format
using FFmpeg and libx264.
%prep
%setup -q
%build
%install
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
gzip -9 %{name}.1
install -D -m 644 %{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man1/*
%doc AUTHORS ChangeLog LICENSE README *.txt
%changelog