File acetoneiso2.spec of Package acetoneiso2

#
# spec file for package acetoneiso2
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2007-2008 Nikolay Derkach
#
# 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:           acetoneiso2
Version:        2.4
Release:        0
Summary:        A complete software to manage CD/DVD images rich of features
License:        GPL-3.0-only
Group:          System/GUI/KDE
URL:            https://sourceforge.net/projects/acetoneiso
Source0:        acetoneiso_%{version}.tar.bz2
# PATCH-FEATURE-UPSTREAM -- https://sourceforge.net/p/acetoneiso/bugs/10/
Patch0:         acetoneiso-2.4-qt5.patch
Patch1:         acetoneiso-2.4-qttranslations.patch
# PATCH-FIX-OPENSUSE
Patch2:         acetoneiso-no-qtwebkit.patch
BuildRequires:  update-desktop-files
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Widgets)
%if 0%{?suse_version} <= 1500
BuildRequires:  cmake(Qt5WebKit)
BuildRequires:  cmake(Qt5WebKitWidgets)
%endif
Requires:       cdparanoia
Requires:       cdrdao
Requires:       fuseiso
Requires:       gpg2
Requires:       pinentry-qt
Requires:       xorriso
Requires:       genisoimage
Requires:       p7zip-full

%description
A complete software to manage CD/DVD images rich of features. In example it can
Mount typical proprietary images formats of the windows world and do plenty of
other things.

%prep
%autosetup -p1 -n acetoneiso_%{version}

%build
cd acetoneiso
%qmake5 -config debug acetoneiso.pro
%make_jobs
cd ..

%install
cd acetoneiso
%qmake5_install
cd ..

%suse_update_desktop_file -r AcetoneISO Qt System Filesystem

%files
%license LICENSE
%doc AUTHORS CHANGELOG FEATURES README
%{_bindir}/acetoneiso
%{_datadir}/pixmaps/Acetino2.png
%{_datadir}/applications/AcetoneISO.desktop

%changelog
openSUSE Build Service is sponsored by