2017-01-12 19:08:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package kirigami2
|
|
|
|
#
|
2021-01-09 13:18:51 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-01-12 19:08:53 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-16 14:25:34 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-01-12 19:08:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%define lname libKF5Kirigami2-5
|
2022-03-12 11:26:27 +01:00
|
|
|
%define _tar_path 5.92
|
2018-06-14 00:11:25 +02:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 10:58:02 +02:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2022-01-09 11:15:05 +01:00
|
|
|
%bcond_without released
|
2018-08-20 14:58:43 +02:00
|
|
|
Name: kirigami2
|
2022-03-12 11:26:27 +01:00
|
|
|
Version: 5.92.0
|
2018-08-20 14:58:43 +02:00
|
|
|
Release: 0
|
2017-01-12 19:08:53 +01:00
|
|
|
Summary: Set of QtQuick components
|
2018-03-14 14:00:39 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-01-12 19:08:53 +01:00
|
|
|
Group: Development/Libraries/KDE
|
2018-10-16 14:25:34 +02:00
|
|
|
URL: https://www.kde.org
|
2021-11-12 13:20:56 +01:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-09 11:15:05 +01:00
|
|
|
%if %{with released}
|
2021-11-12 13:20:56 +01:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2019-08-11 23:07:21 +02:00
|
|
|
Source2: frameworks.keyring
|
|
|
|
%endif
|
2020-07-11 12:30:51 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2017-01-12 19:08:53 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2021-08-14 18:52:24 +02:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2021-05-09 09:42:00 +02:00
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5QuickControls2) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.15.0
|
2018-06-14 00:11:25 +02:00
|
|
|
Requires: libqt5-qtgraphicaleffects
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
2022-01-09 11:15:05 +01:00
|
|
|
%if %{with released}
|
2021-05-09 09:42:00 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= 5.15.0
|
2018-08-20 14:58:43 +02:00
|
|
|
%endif
|
2017-01-12 19:08:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
QtQuick plugins to build user interfaces based on the KDE UX guidelines.
|
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%package -n %{lname}
|
|
|
|
Summary: Set of QtQuick components
|
|
|
|
Group: System/Libraries
|
|
|
|
Recommends: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n %{lname}
|
|
|
|
QtQuick plugins to build user interfaces based on the KDE UX guidelines.
|
|
|
|
Based on Qt Quick Controls 2. This package contains the base shared libraries.
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for kirigami
|
|
|
|
Group: Development/Libraries/KDE
|
2018-09-15 12:46:36 +02:00
|
|
|
Requires: %{lname} = %{version}
|
2017-01-12 19:08:53 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
QtQuick plugins to build user interfaces based on the KDE UX guidelines.
|
|
|
|
Development files.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2018-11-27 20:16:11 +01:00
|
|
|
%autosetup -p1
|
2017-01-12 19:08:53 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-08 01:14:26 +01:00
|
|
|
%cmake_build
|
2017-01-12 19:08:53 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2022-01-09 11:15:05 +01:00
|
|
|
%if %{with released}
|
2017-05-03 17:12:33 +02:00
|
|
|
%find_lang libkirigami2plugin --with-qt --without-mo
|
2017-01-12 19:08:53 +01:00
|
|
|
%endif
|
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%files
|
2019-10-11 14:56:02 +02:00
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard/
|
2020-07-11 12:30:51 +02:00
|
|
|
%{_kf5_qmldir}/
|
2019-10-11 14:56:02 +02:00
|
|
|
%{_kf5_sharedir}/kdevappwizard/templates/
|
2017-01-12 19:08:53 +01:00
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%files -n %{lname}
|
2020-07-11 12:30:51 +02:00
|
|
|
%license LICENSES/*
|
2017-10-24 07:54:58 +02:00
|
|
|
%{_kf5_libdir}/libKF5Kirigami2.so.*
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%files devel
|
2022-02-14 13:07:17 +01:00
|
|
|
%{_kf5_includedir}/Kirigami2/
|
2017-10-24 07:54:58 +02:00
|
|
|
%{_kf5_libdir}/libKF5Kirigami2.so
|
2017-01-12 19:08:53 +01:00
|
|
|
%{_kf5_mkspecsdir}/qt_Kirigami2.pri
|
2020-07-11 12:30:51 +02:00
|
|
|
%{_libdir}/cmake/KF5Kirigami2/
|
2017-01-12 19:08:53 +01:00
|
|
|
|
2022-01-09 11:15:05 +01:00
|
|
|
%if %{with released}
|
2021-05-09 09:42:00 +02:00
|
|
|
%files lang -f libkirigami2plugin.lang
|
|
|
|
%endif
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%changelog
|