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
|
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}')}
|
2024-01-15 15:09:52 +01:00
|
|
|
%define qt5_version 5.15.2
|
2022-01-09 11:15:05 +01:00
|
|
|
%bcond_without released
|
2018-08-20 14:58:43 +02:00
|
|
|
Name: kirigami2
|
2024-01-14 16:36:52 +01:00
|
|
|
Version: 5.114.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
|
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
|
2024-01-15 15:09:52 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
2022-12-11 12:33:10 +01:00
|
|
|
%if 0%{?suse_version} == 1500
|
|
|
|
BuildRequires: gcc10-c++
|
|
|
|
BuildRequires: gcc10-PIE
|
|
|
|
%endif
|
2024-01-15 15:09:52 +01:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5QuickControls2) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Svg) >= %{qt5_version}
|
|
|
|
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
|
2018-06-14 00:11:25 +02:00
|
|
|
Requires: libqt5-qtgraphicaleffects
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
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
|
|
|
|
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
|
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
|
2022-12-11 12:33:10 +01:00
|
|
|
%if 0%{?suse_version} == 1500
|
|
|
|
export CXX=g++-10
|
|
|
|
%endif
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%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
|
|
|
|
|
2017-05-03 17:12:33 +02:00
|
|
|
%find_lang libkirigami2plugin --with-qt --without-mo
|
2017-01-12 19:08:53 +01:00
|
|
|
|
2023-02-12 10:53:02 +01:00
|
|
|
%ldconfig_scriptlets -n %{lname}
|
2017-10-24 07:54:58 +02:00
|
|
|
|
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
|
|
|
|
2021-05-09 09:42:00 +02:00
|
|
|
%files lang -f libkirigami2plugin.lang
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%changelog
|