File kirigami-addons.spec of Package kirigami-addons-0.2.30-40.53
#
# 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/
#
Name: kirigami-addons
Version: 0.2.30
Release: 40.53
License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only
Summary: Add-ons for the Kirigami framework
Url: https://invent.kde.org/libraries/kirigami-addons
Source0: kirigami-addons-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: AppStream
BuildRequires: extra-cmake-modules
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5Kirigami2)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: kirigami-addons-dateandtime < %{version}
Provides: kirigami-addons-dateandtime = %{version}
%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
%setup -q -n %{name}-%{version}
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%files
%license LICENSES/*.txt
%dir %{_kf5_qmldir}/org
%dir %{_kf5_qmldir}/org/kde
%{_kf5_qmldir}/org/kde/kirigamiaddons/
%{_kf5_cmakedir}/KF5KirigamiAddons/
%changelog
* Thu Dec 16 2021 Andrés B. S. <andresbs@opensuse.org>
- Adapt changes from KDE:Unstable:Extra, mainly packaging improve-
ments.