File ffmulticonverter.spec of Package ffmulticonverter
#
# spec file for package ffmulticonverter
#
# Copyright (c) 2015 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: ffmulticonverter
Version: 1.8.0
Release: 0
Summary: GUI File Format Converter
License: GPL-3.0
Group: Productivity/Multimedia/Other
Url: https://sites.google.com/site/ffmulticonverter/home
Source0: https://github.com/Ilias95/FF-Multi-Converter/archive/v%{version}.tar.gz
Source90: README.SUSE
BuildArch: noarch
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: update-desktop-files
BuildRequires: fdupes
Requires: python3-qt5
Requires: ImageMagick
Requires: unoconv
Requires: ffmpeg
%description
Graphical application which enables you to convert audio, video, image and
document files between all popular formats using ffmpeg, unoconv, and
ImageMagick.
Features:
- Conversions for several file formats.
- Very easy to use interface.
- Access to common conversion options.
- Audio/video ffmpeg-presets management.
- Options for saving and naming files.
- Recursive conversions
%prep
%setup -q -n FF-Multi-Converter-%{version}
%{__cp} -v %{S:90} .
%build
python3 setup.py build
%install
python3 setup.py install -O1 --root=%{buildroot}
%suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing
%fdupes %{buildroot}
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README.txt AUTHORS TRANSLATORS README.SUSE
%dir %{_datadir}/%{name}
%{_bindir}/%{name}
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}-%{version}-*.egg-info
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/presets.xml
%{_datadir}/pixmaps/%{name}.png
%{_mandir}/man1/%{name}.1.gz
%changelog