diff --git a/extra-cmake-modules-5.39.0-poppler_overlinking.patch b/extra-cmake-modules-5.39.0-poppler_overlinking.patch new file mode 100644 index 0000000000000000000000000000000000000000..4d895edb6a90264b1d7401df61c0327138e1a95a --- /dev/null +++ b/extra-cmake-modules-5.39.0-poppler_overlinking.patch @@ -0,0 +1,12 @@ +diff -up extra-cmake-modules-5.39.0/find-modules/FindPoppler.cmake.poppler_overlinking extra-cmake-modules-5.39.0/find-modules/FindPoppler.cmake +--- extra-cmake-modules-5.39.0/find-modules/FindPoppler.cmake.poppler_overlinking 2017-09-09 07:07:55.000000000 -0500 ++++ extra-cmake-modules-5.39.0/find-modules/FindPoppler.cmake 2017-11-06 14:26:33.473536485 -0600 +@@ -85,7 +85,7 @@ set(Poppler_known_components + ) + foreach(_comp ${Poppler_known_components}) + string(TOLOWER "${_comp}" _lc_comp) +- set(Poppler_${_comp}_component_deps "Core") ++ #set(Poppler_${_comp}_component_deps "Core") + set(Poppler_${_comp}_pkg_config "poppler-${_lc_comp}") + set(Poppler_${_comp}_lib "poppler-${_lc_comp}") + set(Poppler_${_comp}_header_subdir "poppler/${_lc_comp}") diff --git a/extra-cmake-modules-5.59.0.tar.xz b/extra-cmake-modules-5.59.0.tar.xz deleted file mode 100644 index f0cfdcc6fcb92df6d1323939de25b5e284a956d4..0000000000000000000000000000000000000000 Binary files a/extra-cmake-modules-5.59.0.tar.xz and /dev/null differ diff --git a/extra-cmake-modules-5.89.0-qt_prefix.patch b/extra-cmake-modules-5.89.0-qt_prefix.patch new file mode 100644 index 0000000000000000000000000000000000000000..2c291f2ad7e5e2aab8d5bf406aa1f837feb43b68 --- /dev/null +++ b/extra-cmake-modules-5.89.0-qt_prefix.patch @@ -0,0 +1,13 @@ +diff -up extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs5.cmake.qt_prefix extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs5.cmake +--- extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs5.cmake.qt_prefix 2021-12-02 00:14:53.000000000 -0600 ++++ extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs5.cmake 2021-12-08 09:23:47.194443267 -0600 +@@ -236,7 +236,7 @@ include("${ECM_MODULE_DIR}/ECMQueryQmake + set(_default_KDE_INSTALL_USE_QT_SYS_PATHS OFF) + if(NOT DEFINED KDE_INSTALL_USE_QT_SYS_PATHS) + query_qmake(qt_install_prefix_dir QT_INSTALL_PREFIX TRY) +- if(qt_install_prefix_dir STREQUAL "${CMAKE_INSTALL_PREFIX}") ++ if( (qt_install_prefix_dir STREQUAL "${CMAKE_INSTALL_PREFIX}") OR ( ("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr") AND (qt_install_prefix_dir STREQUAL "${CMAKE_INSTALL_FULL_LIBDIR}/qt5")) ) + message(STATUS "Installing in the same prefix as Qt, adopting their path scheme.") + set(_default_KDE_INSTALL_USE_QT_SYS_PATHS ON) + endif() +diff -up extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs6.cmake.qt_prefix extra-cmake-modules-5.89.0/kde-modules/KDEInstallDirs6.cmake diff --git a/extra-cmake-modules-5.90.0.tar.xz b/extra-cmake-modules-5.90.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..930249ebd1c8f79fa3ac21ef00e23b3dfb046b36 Binary files /dev/null and b/extra-cmake-modules-5.90.0.tar.xz differ diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index f6b79202dcc8a0996c968d3af241425a408257ba..0541ab29c966275d4faf3eddeabeee0e707230a0 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -1,22 +1,27 @@ Name: extra-cmake-modules Summary: Additional modules for CMake build system -Version: 5.59.0 -Release: 3 +Version: 5.90.0 +Release: 1 License: BSD URL: https://api.kde.org/ecm/ -Source0: http://download.kde.org/stable/frameworks/5.59/extra-cmake-modules-%{version}.tar.xz + +%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}/%{name}-%{version}.tar.xz +Patch01: extra-cmake-modules-5.39.0-poppler_overlinking.patch +Patch02: extra-cmake-modules-5.89.0-qt_prefix.patch BuildArch: noarch BuildRequires: kf5-rpm-macros qt5-qttools-devel python3-sphinx -Requires: kf5-rpm-macros cmake(Qt5LinguistTools) qt5-linguist +Requires: kf5-rpm-macros qt5-linguist %description -The package provides additional modules for CMake build system needed by KDE Frameworks. - -%package help -Summary: Documentation for extra-cmake-modules +Additional modules for CMake build system needed by KDE Frameworks. -%description help -Documentation for extra-cmake-modules. %prep %autosetup -p1 @@ -39,16 +44,20 @@ export CTEST_OUTPUT_ON_FAILURE=1 make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %files -%license COPYING-CMAKE-SCRIPTS -%{_datadir}/ECM/ - -%files help %doc README.rst +%license LICENSES/*.txt +%{_datadir}/ECM/ %{_kf5_docdir}/ECM/html/ %{_kf5_mandir}/man7/ecm*.7* %changelog +* Fri Feb 11 2022 pei-jiankang - 5.90.0-1 +- update to upstream version 5.90.0 + +* Wed Jan 12 2022 pei-jiankang - 5.88.0-1 +- update to upstream version 5.88.0 + * Thu Mar 12 2020 lingsheng - 5.59.0-3 - Remove install require appstream