76 lines
2.0 KiB
RPMSpec
76 lines
2.0 KiB
RPMSpec
%global framework qqc2-desktop-style
|
|
|
|
Name: %{framework}
|
|
Version: 5.113.0
|
|
Release: 1
|
|
Summary: QtQuickControls2 style for consistency between QWidget and QML apps
|
|
License: (LGPLv3 or GPLv3) and LGPLv2+
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
%global majmin %majmin_ver_kf5
|
|
%global stable %stable_kf5
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: kf5-kirigami2-devel >= %{majmin}
|
|
Requires: kf5-kirigami2 >= %{majmin}
|
|
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
|
|
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
# Cmake need this
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
Requires: qt5-qtquickcontrols2
|
|
|
|
|
|
%description
|
|
This is a style for QtQuickControls 2 that uses QWidget's QStyle for
|
|
painting, making possible to achieve an higher degree of consistency
|
|
between QWidget-based and QML-based apps.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
%build
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} ..
|
|
popd
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSES/*.txt
|
|
%dir %{_kf5_plugindir}/kirigami/
|
|
%{_kf5_plugindir}/kirigami/org.kde.desktop.so
|
|
%{_qt5_qmldir}/QtQuick/Controls.2/org.kde.desktop/
|
|
%{_qt5_qmldir}/org/kde/qqc2desktopstyle/
|
|
%{_kf5_libdir}/cmake/KF5QQC2DeskopStyle/
|
|
%{_kf5_libdir}/cmake/KF5QQC2DesktopStyle/
|
|
|
|
|
|
%changelog
|
|
* Thu Jan 11 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
|
|
- Update package to version 5.113.0
|
|
|
|
* Thu Aug 31 2023 peijiankang <peijiankang@kylinos.cn> - 5.108.0-1
|
|
- 5.108.0
|
|
|
|
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 5.97.0-1
|
|
- Init package
|