.spec cosmetics

epel9
Rex Dieter 3 years ago
parent 6d905c1b9f
commit c1f19b2e33

@ -1,4 +1,3 @@
%undefine __cmake_in_source_build
%global framework kcmutils %global framework kcmutils
# uncomment to enable bootstrap mode # uncomment to enable bootstrap mode
@ -9,13 +8,13 @@
#global tests 1 #global tests 1
%endif %endif
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.94.0 Version: 5.94.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 3 addon with extra API to write KConfigModules Summary: KDE Frameworks 5 Tier 3 addon with extra API to write KConfigModules
License: LGPLv2+ License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework} URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %(echo %{version} | cut -d. -f1-2) %global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -24,9 +23,8 @@ URL: https://invent.kde.org/frameworks/%{framework}
%else %else
%global stable stable %global stable stable
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: make
BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin} BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{majmin} BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
@ -109,12 +107,13 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%files devel %files devel
%{_kf5_includedir}/KCMUtils/ %{_kf5_includedir}/KCMUtils/
%{_kf5_includedir}/KCMUtilsCore %{_kf5_includedir}/KCMUtilsCore/
%{_kf5_libdir}/libKF5KCMUtils.so %{_kf5_libdir}/libKF5KCMUtils.so
%{_kf5_libdir}/libKF5KCMUtilsCore.so %{_kf5_libdir}/libKF5KCMUtilsCore.so
%{_kf5_libdir}/cmake/KF5KCMUtils/ %{_kf5_libdir}/cmake/KF5KCMUtils/
%{_kf5_archdatadir}/mkspecs/modules/qt_KCMUtils.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KCMUtils.pri
%changelog %changelog
* Fri May 13 2022 Rex Dieter <rdieter@fedoraproject.org> - 5.94.0-1 * Fri May 13 2022 Rex Dieter <rdieter@fedoraproject.org> - 5.94.0-1
- 5.94.0 - 5.94.0

Loading…
Cancel
Save