|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
%global framework kdeclarative
|
|
|
|
|
|
|
|
|
|
# uncomment to enable bootstrap mode
|
|
|
|
@ -14,7 +13,7 @@ Release: 1%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 3 addon for Qt declarative
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git/
|
|
|
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
|
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
@ -42,13 +41,17 @@ BuildRequires: kf5-kpackage-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
|
|
|
|
|
BuildRequires: libepoxy-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
# https://bugs.kde.org/show_bug.cgi?id=365569#c8 claims this may be needed,
|
|
|
|
|
# so err on the side of caution
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
|
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
BuildRequires: dbus-x11
|
|
|
|
|
BuildRequires: mesa-dri-drivers
|
|
|
|
@ -75,8 +78,9 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{cmake_kf5} \
|
|
|
|
|
%cmake_kf5 \
|
|
|
|
|
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -132,6 +136,7 @@ make test ARGS="--output-on-failure --timeout 10 --verbose" -C %{_target_platfor
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 19 08:59:21 CST 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.76.0-1
|
|
|
|
|
- 5.76.0
|
|
|
|
|
- .spec cleanup, update URL
|
|
|
|
|
|
|
|
|
|
* Wed Oct 14 09:50:44 CDT 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.75.0-1
|
|
|
|
|
- 5.75.0
|
|
|
|
|