2017-01-12 19:08:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package kirigami2
|
|
|
|
#
|
2018-01-03 13:42:53 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%define lname libKF5Kirigami2-5
|
2018-09-14 15:48:57 +02:00
|
|
|
%define _tar_path 5.50
|
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}')}
|
2018-08-20 14:58:43 +02:00
|
|
|
%bcond_without lang
|
|
|
|
Name: kirigami2
|
2018-09-14 15:48:57 +02:00
|
|
|
Version: 5.50.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-08-20 14:58:43 +02:00
|
|
|
URL: http://www.kde.org/
|
2017-08-13 22:27:10 +02:00
|
|
|
Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2017-08-07 15:51:52 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
2017-01-12 19:08:53 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.7.0
|
2018-05-15 14:58:25 +02:00
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.7.0
|
2017-01-12 19:08:53 +01:00
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.7.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.7.0
|
2017-05-03 17:12:33 +02:00
|
|
|
BuildRequires: cmake(Qt5QuickControls2) >= 5.7.0
|
2017-01-12 19:08:53 +01:00
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.7.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.7.0
|
2018-06-14 00:11:25 +02:00
|
|
|
Requires: libqt5-qtgraphicaleffects
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
|
|
|
Recommends: %{name}-lang = %{version}
|
2018-08-20 14:58:43 +02:00
|
|
|
%if %{with lang}
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= 5.7.0
|
|
|
|
%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
|
2017-08-13 22:27:10 +02:00
|
|
|
%setup -q
|
2017-01-12 19:08:53 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%if %{with lang}
|
2017-05-03 17:12:33 +02:00
|
|
|
%find_lang libkirigami2plugin --with-qt --without-mo
|
2017-01-12 19:08:53 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with lang}
|
2017-05-03 17:12:33 +02:00
|
|
|
%files lang -f libkirigami2plugin.lang
|
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
|
|
|
|
%{_kf5_qmldir}/
|
|
|
|
|
2017-10-24 07:54:58 +02:00
|
|
|
%files -n %{lname}
|
2018-06-14 00:11:25 +02:00
|
|
|
%license LICENSE*
|
2017-10-24 07:54:58 +02:00
|
|
|
%{_kf5_libdir}/libKF5Kirigami2.so.*
|
|
|
|
|
2017-01-12 19:08:53 +01:00
|
|
|
%files devel
|
2017-10-24 07:54:58 +02:00
|
|
|
%dir %{_kf5_includedir}/Kirigami2/
|
|
|
|
%{_kf5_includedir}/Kirigami2/*
|
2017-01-12 19:08:53 +01:00
|
|
|
%{_libdir}/cmake/KF5Kirigami2/
|
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
|
|
|
|
|
|
|
|
%changelog
|