File MystiQ.spec of Package MystiQ
#
# spec file for package MystiQ
#
# Copyright (c) 2021 Asterios Dramis <asterios.dramis@gmail.com>
#
# 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.
Name: MystiQ
Version: 20.03.23
Release: 0
Summary: FFmpeg GUI Front-end
License: GPL-3.0-only
Group: Productivity/Multimedia/Video/Editors and Convertors
URL: https://github.com/swl-x/MystiQ/
Source0: https://github.com/swl-x/MystiQ/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(libnotify)
Requires: ffmpeg
Requires: libnotify-tools
Requires: sox
%description
MystiQ is a GUI for FFmpeg, a powerful media converter. FFmpeg can read audio
and video files in various formats and convert them into other formats. MystiQ
features an intuitive graphical interface and a rich set of presets to help you
convert media files within a few clicks. Advanced users can also adjust
conversion parameters in detail.
%prep
%setup -q
# Fix rpmlint error "script-without-shebang"
chmod 644 mystiq.desktop
chmod 644 icons/mystiq.svg
%build
%qmake5 mystiq.pro "CONFIG += libnotify"
%make_jobs
%install
%qmake5_install
%files
%license LICENSE
%doc Changelog README.md
%{_bindir}/mystiq
%{_datadir}/applications/mystiq.desktop
%dir %{_datadir}/icons/hicolor/
%dir %{_datadir}/icons/hicolor/scalable/
%dir %{_datadir}/icons/hicolor/scalable/apps/
%{_datadir}/icons/hicolor/scalable/apps/mystiq.svg
%{_mandir}/man1/mystiq.1%{?ext_man}
%{_datadir}/metainfo/mystiq.appdata.xml
%changelog