parent
818b1bbfaa
commit
7cfd8b3862
@ -0,0 +1 @@
|
||||
/qqc2-desktop-style-5.39.0.tar.xz
|
@ -0,0 +1,73 @@
|
||||
%global framework qqc2-desktop-style
|
||||
|
||||
Name: %{framework}
|
||||
Version: 5.39.0
|
||||
Release: 1%{?dist}
|
||||
Summary: QtQuickControls2 style for consistency between QWidget and QML apps
|
||||
|
||||
# kirigami-plasmadesktop-integration: LGPLv2+
|
||||
# plugin,org.kde.desktop: LGPLv3 or GPLv3
|
||||
License: (LGPLv3 or GPLv3) and LGPLv2+
|
||||
URL: https://cgit.kde.org/%{framework}.git
|
||||
|
||||
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: extra-cmake-modules >= %{version}
|
||||
BuildRequires: kf5-rpm-macros >= %{version}
|
||||
|
||||
BuildRequires: cmake(KF5Kirigami2) >= %{version}
|
||||
BuildRequires: cmake(KF5ConfigWidgets)
|
||||
BuildRequires: cmake(KF5IconThemes)
|
||||
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5Quick)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
|
||||
BuildRequires: qt5-qtquickcontrols2
|
||||
Requires: qt5-qtquickcontrols2%{?_isa}
|
||||
|
||||
%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 %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE*
|
||||
%dir %{_kf5_plugindir}/kirigami/
|
||||
%{_kf5_plugindir}/kirigami/org.kde.desktop.so
|
||||
%{_qt5_qmldir}/QtQuick/Controls.2/org.kde.desktop/
|
||||
%{_qt5_qmldir}/org/kde/qqc2desktopstyle/
|
||||
# yes, here
|
||||
%{_kf5_libdir}/cmake/KF5QQC2DeskopStyle/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.39.0-1
|
||||
- qqc2-desktop-style
|
||||
|
Loading…
Reference in new issue