]> git.pld-linux.org Git - packages/ka5-kldap.git/blobdiff - ka5-kldap.spec
- updated to 23.08.4
[packages/ka5-kldap.git] / ka5-kldap.spec
index 2e859d770e6e054df3963a03b83713be8a6a8fa8..e5727f1cdc39116e3d7d5d9a5f4306f25424ad09 100644 (file)
@@ -1,24 +1,24 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      22.08.3
+%define                kdeappsver      23.08.4
 %define                kframever       5.94.0
 %define                qtver           5.15.2
 %define                kaname          kldap
 Summary:       LDAP access API for KDE
 Name:          ka5-%{kaname}
-Version:       22.08.3
+Version:       23.08.4
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: a9909d25f264c455d2d24bef6208a4ad
+# Source0-md5: b9bcceb03860683180bb5d9a52c6c841
 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
@@ -60,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
 
 
@@ -89,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.024273 seconds and 4 git commands to generate.