File ffqueue.spec of Package ffqueue

#
# spec file for package ffqueue
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           ffqueue
Version:        @SERVICE@
Release:        0
Summary:        Advanced GUI for FFmpeg
License:        GPL-3.0-or-later
Group:          Productivity/Multimedia/Video/Editors and Convertors
URL:            http://ffqueue.bruchhaus.dk
Source:         %{name}-%{version}.tar.xz
BuildRequires:  automake
BuildRequires:  gcc-c++
#uildRequires:  help2man
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(zlib)
BuildRequires:  update-desktop-files
BuildRequires:  wxGTK3-devel
#uildRequires:  wxQt-3_2-devel
#uildRequires:  xdg-utils
Requires:       ffmpeg

%description
FFQueue is (yet another) graphical user interface for FFMpeg with
comprehensive support for both the basic features but also the more
advanced features like filtergraphs. FFQueue makes it easy to create
multiple jobs and process them as a single queue.
FFQueue can sort out the most significant output from FFMpeg and display it
in the graphical console and save it to a HTML-based (color coded) logfile
for easy review when the queue has been processed.

%prep
%autosetup -p1

%build
autoreconf -fiv
%configure
%make_build

%install
%make_install
install -Dm 0644 res/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
for i in 16 32 64 ; do
    install -Dm 0644 res/MainLogo$i\.png %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{name}.png
done

%files
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
#%%{_mandir}/man?/%%{name}.?%%{?ext_man}
%license LICENSE

%changelog
openSUSE Build Service is sponsored by