2a2576918f
OBS-URL: https://build.opensuse.org/request/show/1008742 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kirigami-addons?expand=0&rev=1
67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package kirigami-addons
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%bcond_without released
|
|
|
|
Name: kirigami-addons
|
|
Version: 0.4
|
|
Release: 0
|
|
Summary: Add-ons for the Kirigami framework
|
|
License: LGPL-3.0-only
|
|
URL: https://invent.kde.org/libraries/kirigami-addons
|
|
Source: https://download.kde.org/unstable/kirigami-addons/%{version}/kirigami-addons-%{version}.tar.xz
|
|
%if %{with released}
|
|
Source1: https://download.kde.org/unstable/kirigami-addons/%{version}/kirigami-addons-%{version}.tar.xz.sig
|
|
Source2: plasma.keyring
|
|
%endif
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: cmake(KF5I18n)
|
|
BuildRequires: cmake(KF5Kirigami2)
|
|
BuildRequires: cmake(Qt5Core)
|
|
BuildRequires: cmake(Qt5Quick)
|
|
BuildRequires: cmake(Qt5QuickControls2)
|
|
Requires: kirigami2
|
|
|
|
%description
|
|
A set of "widgets" i.e visual end user components along with a
|
|
code to support them. Components are usable by both touch and
|
|
desktop experiences providing a native experience on both, and
|
|
look native with any QQC2 style (qqc2-desktop-theme, Material
|
|
or Plasma).
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%cmake_build
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
# No need for CMake exports
|
|
rm -r %{buildroot}%{_kf5_cmakedir}/
|
|
|
|
%files
|
|
%license LICENSES/*
|
|
%dir %{_kf5_qmldir}/org/
|
|
%dir %{_kf5_qmldir}/org/kde/
|
|
%{_kf5_qmldir}/org/kde/kirigamiaddons/
|
|
|
|
%changelog
|