]> git.pld-linux.org Git - packages/ka5-kldap.git/blobdiff - ka5-kldap.spec
- updated to 23.08.5
[packages/ka5-kldap.git] / ka5-kldap.spec
index 285a8ab3e2d851a4e9407625a8a33432aa1e0a50..bd247c17d09dafaffa3f7426044da0eb0f5e6a3c 100644 (file)
@@ -1,25 +1,27 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      22.04.1
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+%define                kdeappsver      23.08.5
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          kldap
 Summary:       LDAP access API for KDE
 Name:          ka5-%{kaname}
-Version:       22.04.1
+Version:       23.08.5
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 721585b38f8e22a60263033613d2b35c
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 39f9dafa1dedbcd147b3d887f7a056ea
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= 5.11.1
 BuildRequires: Qt5Keychain-devel >= 0.12.0
 BuildRequires: Qt5Test-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: cyrus-sasl-devel
+BuildRequires: docbook-dtd45-xml
+BuildRequires: docbook-style-xsl
 BuildRequires: gettext-devel
 BuildRequires: kf5-extra-cmake-modules >= %{kframever}
 BuildRequires: kf5-kcalendarcore-devel >= %{kframever}
@@ -58,17 +60,15 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+       -G Ninja \
        %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
@@ -87,15 +87,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{kaname}_qt.lang
 %defattr(644,root,root,755)
-%ghost %{_libdir}/libKF5Ldap.so.5
-%attr(755,root,root) %{_libdir}/libKF5Ldap.so.5.*.*
 %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/ldap.so
 %{_datadir}/qlogging-categories5/kldap.categories
 %{_datadir}/qlogging-categories5/kldap.renamecategories
+%ghost %{_libdir}/libKPim5Ldap.so.5
+%attr(755,root,root) %{_libdir}/libKPim5Ldap.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/KF5/KLDAP
-%{_libdir}/cmake/KF5Ldap
-%{_libdir}/libKF5Ldap.so
 %{_libdir}/qt5/mkspecs/modules/qt_Ldap.pri
+%{_includedir}/KPim5/KLDAP
+%{_libdir}/cmake/KPim5Ldap
+%{_libdir}/libKPim5Ldap.so
This page took 0.516432 seconds and 4 git commands to generate.