Projects
Eulaceura:Mainline
kf5-kirigami2
_service:obs_scm:kf5-kirigami2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:kf5-kirigami2.spec of Package kf5-kirigami2
%global framework kirigami2 # uncomment to enable bootstrap mode #global bootstrap 1 %if !0%{?bootstrap} %global tests 1 %endif Name: kf5-%{framework} Version: 5.115.0 Release: 1 Summary: QtQuick plugins to build user interfaces based on the KDE UX guidelines # All LGPLv2+ except for src/desktopicons.h (GPLv2+) License: GPLv2+ URL: https://techbase.kde.org/Kirigami %global majmin %majmin_ver_kf5 %global stable %stable_kf5 Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz ## upstream paches # filter qml provides %global __provides_exclude_from ^%{_kf5_qmldir}/.*\\.so$ BuildRequires: make BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-rpm-macros BuildRequires: qt5-linguist BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtquickcontrols2-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5} = %{_qt5_version}} %if 0%{?tests} BuildRequires: xorg-x11-server-Xvfb %endif Requires: qt5-qtquickcontrols Requires: qt5-qtquickcontrols2 %description %{summary}. %package devel Summary: Development files for %{name} # strictly not required, but some consumers may assume/expect runtime bits to be present too Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang_kf5 libkirigami2plugin_qt %check %if 0%{?tests} ## known failure(s), not sure if possible to enable opengl/glx using ## virtualized server (QT_XCB_FORCE_SOFTWARE_OPENGL doesn't seem to help) #2/2 Test #2: qmltests .........................***Exception: Other 0.19 sec #Could not initialize GLX export QT_XCB_FORCE_SOFTWARE_OPENGL=1 export CTEST_OUTPUT_ON_FAILURE=1 xvfb-run -a \ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: %endif %files -f libkirigami2plugin_qt.lang # README is currently only build instructions, omit for now #doc README.md %license LICENSES/*.txt %{_kf5_libdir}/libKF5Kirigami2.so.5* %dir %{_kf5_qmldir}/org/ %dir %{_kf5_qmldir}/org/kde/ %{_kf5_qmldir}/org/kde/kirigami.2/ %files devel %{_kf5_libdir}/libKF5Kirigami2.so %{_kf5_includedir}/Kirigami2/ %{_kf5_archdatadir}/mkspecs/modules/qt_Kirigami2.pri %{_kf5_libdir}/cmake/KF5Kirigami2/ %dir %{_kf5_datadir}/kdevappwizard/ %dir %{_kf5_datadir}/kdevappwizard/templates/ %{_kf5_datadir}/kdevappwizard/templates/kirigami.tar.bz2 %changelog * Mon Mar 04 2024 houhongxun <houhongxun@kylinos.cn> - 5.115.0-1 - update version to 5.115.0 * Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1 - Update package to version 5.113.0 * Thu Aug 03 2023 wangqia <wangqia@uniontech.com> - 5.108.0-1 - Update to upstream version 5.108.0 * Fri Dec 09 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.100.0-1 - Update to upstream version 5.100.0 * Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1 - update to upstream version 5.97.0 * Tue Jul 05 2022 tanyulong <tanyulong@kylinos.cn> - 5.95.0-1 - update to upstream version 5.95.0 * Sat Feb 12 2022 pei-jiankang <peijiankang@kylinos.cn> - 5.90.0-1 - update to upstream version 5.90.0 * Sun Jan 16 2022 pei-jiankang <peijiankang@kylinos.cn> - 5.88.0-1 - update to upstream version 5.88.0 * Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1 - Initial release for OpenEuler
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2