Group :: System/Libraries
RPM: kf5-kirigami
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname kirigami2
Name: kf5-kirigami
Version: 5.110.0
Release: alt1
%K5init
Group: System/Libraries
Summary: A QtQuick based components set
Url: https://techbase.kde.org/Kirigami
License: LGPL-2.1-or-later
Requires: %name-common
Requires: qt5-quickcontrols2 qt5-graphicaleffects
Source0: %rname-%version.tar
BuildRequires(pre): rpm-build-kf5
BuildRequires: libgomp-devel
BuildRequires: extra-cmake-modules qt5-quickcontrols2-devel
BuildRequires: qt5-svg-devel qt5-tools-devel
BuildRequires: kf5-kpackage-devel kf5-kservice-devel kf5-kwindowsystem-devel
#BuildRequires: kf5-plasma-framework-devel
%description
Kirigami is a set of QtQuick components at the moment targeted for mobile use
(in the future desktop as well) targeting both Plasma Mobile and Android. It's
not a whole set of components, all the "Primitive" ones like buttons and
textboxes are a job for QtQuickControls (soon QtQuickControls2) but it's a set
of high level components to make the creation of applications that look and feel
great on mobile as well as desktop devices and follow the
https://community.kde.org/KDE_Visual_Design_Group/KirigamiHIG . The target of
those components is anybody that wants to do an application using QtQuick as its
main UI, especially if targeting a mobile platform, without adding many
dependencies. They work on a variety of platforms, such as Plasma Mobile,
Desktop Linux, Android and Windows. It will eventually become a Tier-1 KDE
Framework.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
Requires: %name-common
%description devel
The %name-devel package contains libraries and header files for developing
applications that use %name
%package -n libkf5kirigami2
Group: System/Libraries
Summary: KF5 library
Requires: %name-common
%description -n libkf5kirigami2
KF5 library
%prep
%setup -n %rname-%version
%ifarch %e2k
# same problem as with MSVC
sed -i "s/_MSC_VER/__e2k__/" src/imagecolors.cpp
%endif
%build
%K5build
%install
%K5install
%K5install_move data kdevappwizard
%find_lang %name --all-name
%K5find_qtlang %name --all-name
%files common -f %name.lang
%files
%_K5qml/org/kde/kirigami.2/
%files devel
%_K5link/lib*.so
%_K5inc/Kirigami2/
%_libdir/cmake/KF5Kirigami2/
%_K5archdata/mkspecs/modules/qt_Kirigami2.pri
%_K5data/kdevappwizard/templates/*kirigami*
%files -n libkf5kirigami2
%_K5lib/libKF5Kirigami2.so.*
%changelog
…
Full changelog you can see here
Name: kf5-kirigami
Version: 5.110.0
Release: alt1
%K5init
Group: System/Libraries
Summary: A QtQuick based components set
Url: https://techbase.kde.org/Kirigami
License: LGPL-2.1-or-later
Requires: %name-common
Requires: qt5-quickcontrols2 qt5-graphicaleffects
Source0: %rname-%version.tar
BuildRequires(pre): rpm-build-kf5
BuildRequires: libgomp-devel
BuildRequires: extra-cmake-modules qt5-quickcontrols2-devel
BuildRequires: qt5-svg-devel qt5-tools-devel
BuildRequires: kf5-kpackage-devel kf5-kservice-devel kf5-kwindowsystem-devel
#BuildRequires: kf5-plasma-framework-devel
%description
Kirigami is a set of QtQuick components at the moment targeted for mobile use
(in the future desktop as well) targeting both Plasma Mobile and Android. It's
not a whole set of components, all the "Primitive" ones like buttons and
textboxes are a job for QtQuickControls (soon QtQuickControls2) but it's a set
of high level components to make the creation of applications that look and feel
great on mobile as well as desktop devices and follow the
https://community.kde.org/KDE_Visual_Design_Group/KirigamiHIG . The target of
those components is anybody that wants to do an application using QtQuick as its
main UI, especially if targeting a mobile platform, without adding many
dependencies. They work on a variety of platforms, such as Plasma Mobile,
Desktop Linux, Android and Windows. It will eventually become a Tier-1 KDE
Framework.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
Requires: %name-common
%description devel
The %name-devel package contains libraries and header files for developing
applications that use %name
%package -n libkf5kirigami2
Group: System/Libraries
Summary: KF5 library
Requires: %name-common
%description -n libkf5kirigami2
KF5 library
%prep
%setup -n %rname-%version
%ifarch %e2k
# same problem as with MSVC
sed -i "s/_MSC_VER/__e2k__/" src/imagecolors.cpp
%endif
%build
%K5build
%install
%K5install
%K5install_move data kdevappwizard
%find_lang %name --all-name
%K5find_qtlang %name --all-name
%files common -f %name.lang
%files
%_K5qml/org/kde/kirigami.2/
%files devel
%_K5link/lib*.so
%_K5inc/Kirigami2/
%_libdir/cmake/KF5Kirigami2/
%_K5archdata/mkspecs/modules/qt_Kirigami2.pri
%_K5data/kdevappwizard/templates/*kirigami*
%files -n libkf5kirigami2
%_K5lib/libKF5Kirigami2.so.*
%changelog
…
Full changelog you can see here