File QGnomePlatform.spec of Package QGnomePlatform
#
# spec file for package QGnomePlatform
#
# Copyright © 2016–2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright © 2016 Yuriy Gorodilin <yurg27@gmail.com>
# Copyright © 2018 Markus S. <kamikazow@opensuse.org>
#
# 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: QGnomePlatform
Version: 0.3
Release: 0
Summary: A better Qt application inclusion in GNOME
# Most code is LGPL-2.1-or-later but qgtk3dialoghelpers files forked from
# Qt 5 result in this licensing scheme for the combined work:
License: LGPL-3.0-only OR GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://github.com/MartinBriza/QGnomePlatform
Source: https://github.com/MartinBriza/QGnomePlatform/archive/%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libQt5Core-private-headers-devel
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: libQt5PlatformSupport-private-headers-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(gio-2.0)
Requires: adwaita-qt5
%description
QGnomePlatform is a Qt Platform Theme aimed to accommodate as much of GNOME
settings as possible and utilize them in Qt applications without modifying them -
making them fit into the environment as well as possible.
%define libqt5_archdatadir %{_libdir}/qt5
%define libqt5_plugindir %{libqt5_archdatadir}/plugins
%prep
%setup -q
%build
qmake-qt5
make %{?_smp_mflags}
%install
%qmake5_install
%files
%doc LICENSE README.md
%dir %{libqt5_plugindir}
%dir %{libqt5_plugindir}/platformthemes
%{libqt5_plugindir}/platformthemes/libqgnomeplatform.so
%changelog