[packages/ka5-akonadi-contacts] - updated dependencies

qboosh qboosh at pld-linux.org
Sun Oct 27 15:33:16 CET 2024


commit 1df5d304c4c28253146255b53e8f137393c99f36
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 27 14:57:06 2024 +0100

    - updated dependencies

 ka5-akonadi-contacts.spec | 80 +++++++++++++++++++++++++++++++----------------
 1 file changed, 53 insertions(+), 27 deletions(-)
---
diff --git a/ka5-akonadi-contacts.spec b/ka5-akonadi-contacts.spec
index 24260f2..7748a39 100644
--- a/ka5-akonadi-contacts.spec
+++ b/ka5-akonadi-contacts.spec
@@ -2,7 +2,10 @@
 # Conditional build:
 %bcond_with	tests		# test suite
 
-%define		kdeappsver	23.08.5
+%define		kdeappsver	%{version}
+# packages version, not cmake config version (which is 5.24.5)
+%define		ka_ver		%{version}
+%define		kf_ver		5.105.0
 %define		qt_ver		5.15.2
 %define		kaname		akonadi-contacts
 Summary:	Akonadi Contacts
@@ -16,32 +19,52 @@ Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kan
 # Source0-md5:	e4b501e5a6fedcb972b3ff2c31e8577a
 URL:		https://kde.org/
 BuildRequires:	Qt5Core-devel >= %{qt_ver}
-BuildRequires:	Qt5Gui-devel >= 5.11.1
-BuildRequires:	Qt5Test-devel
-BuildRequires:	Qt5Widgets-devel
+BuildRequires:	Qt5Gui-devel >= %{qt_ver}
+BuildRequires:	Qt5Test-devel >= %{qt_ver}
+BuildRequires:	Qt5Widgets-devel >= %{qt_ver}
 BuildRequires:	cmake >= 3.20
-BuildRequires:	gettext-devel
-BuildRequires:	gpgme-qt5-devel
-BuildRequires:	ka5-akonadi-devel >= %{kdeappsver}
-BuildRequires:	ka5-grantleetheme-devel >= %{kdeappsver}
-BuildRequires:	ka5-kmime-devel >= %{kdeappsver}
-BuildRequires:	ka5-libkleo-devel >= %{kdeappsver}
-BuildRequires:	kf5-extra-cmake-modules >= 5.51.0
-BuildRequires:	kf5-kcmutils-devel >= 5.87.0
-BuildRequires:	kf5-kcodecs-devel >= 5.51.0
-BuildRequires:	kf5-kcompletion-devel >= 5.51.0
-BuildRequires:	kf5-kcontacts-devel >= 5.65.0
-BuildRequires:	kf5-kdbusaddons-devel >= 5.51.0
-BuildRequires:	kf5-ki18n-devel >= 5.51.0
-BuildRequires:	kf5-kiconthemes-devel >= 5.51.0
-BuildRequires:	kf5-kio-devel >= 5.51.0
-BuildRequires:	kf5-kitemmodels-devel >= 5.87.0
-BuildRequires:	kf5-ktextwidgets-devel >= 5.51.0
-BuildRequires:	kf5-prison-devel >= 5.51.0
+BuildRequires:	gettext-tools
+BuildRequires:	grantlee-qt5-devel >= 5.3
+BuildRequires:	ka5-akonadi-devel >= %{ka_ver}
+BuildRequires:	ka5-grantleetheme-devel >= %{ka_ver}
+BuildRequires:	ka5-kmime-devel >= %{ka_ver}
+BuildRequires:	kf5-extra-cmake-modules >= %{kf_ver}
+BuildRequires:	kf5-kcodecs-devel >= %{kf_ver}
+BuildRequires:	kf5-kcompletion-devel >= %{kf_ver}
+BuildRequires:	kf5-kconfig-devel >= %{kf_ver}
+BuildRequires:	kf5-kconfigwidgets-devel >= %{kf_ver}
+BuildRequires:	kf5-kcontacts-devel >= %{kf_ver}
+BuildRequires:	kf5-kcoreaddons-devel >= %{kf_ver}
+BuildRequires:	kf5-ki18n-devel >= %{kf_ver}
+BuildRequires:	kf5-kiconthemes-devel >= %{kf_ver}
+BuildRequires:	kf5-kio-devel >= %{kf_ver}
+BuildRequires:	kf5-kservice-devel >= %{kf_ver}
+BuildRequires:	kf5-ktextwidgets-devel >= %{kf_ver}
+BuildRequires:	kf5-kwidgetsaddons-devel >= %{kf_ver}
+BuildRequires:	kf5-kxmlgui-devel >= %{kf_ver}
+BuildRequires:	kf5-prison-devel >= %{kf_ver}
 BuildRequires:	ninja
+BuildRequires:	qt5-build >= %{qt_ver}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires:	grantlee-qt5 >= 5.3
+Requires:	ka5-akonadi >= %{ka_ver}
+Requires:	ka5-grantleetheme >= %{ka_ver}
+Requires:	ka5-kmime >= %{ka_ver}
+Requires:	kf5-kcodecs >= %{kf_ver}
+Requires:	kf5-kcompletion >= %{kf_ver}
+Requires:	kf5-kconfig >= %{kf_ver}
+Requires:	kf5-kconfigwidgets >= %{kf_ver}
+Requires:	kf5-kcontacts >= %{kf_ver}
+Requires:	kf5-kcoreaddons >= %{kf_ver}
+Requires:	kf5-ki18n >= %{kf_ver}
+Requires:	kf5-kiconthemes >= %{kf_ver}
+Requires:	kf5-kio >= %{kf_ver}
+Requires:	kf5-prison >= %{kf_ver}
+Requires:	kf5-ktextwidgets >= %{kf_ver}
+Requires:	kf5-kwidgetsaddons >= %{kf_ver}
+Requires:	kf5-kxmlgui >= %{kf_ver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,9 +86,9 @@ Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kpname}
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	Qt5Widgets-devel >= %{qt_ver}
-Requires:	ka5-akonadi-devel >= 5.24.5
-Requires:	ka5-grantleetheme-devel >= 5.24.5
-Requires:	kf5-kcontacts-devel >= 5.105.0
+Requires:	ka5-akonadi-devel >= %{ka_ver}
+Requires:	ka5-grantleetheme-devel >= %{ka_ver}
+Requires:	kf5-kcontacts-devel >= %{kf_ver}
 
 %description devel
 Header files for %{kaname} development.
@@ -80,7 +103,8 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
 %cmake -B build \
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
-	-DHTML_INSTALL_DIR=%{_kdedocdir} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
 	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
 
 %ninja_build -C build
@@ -94,7 +118,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %ninja_install -C build
 
-%find_lang %{kaname} --all-name --with-kde
+# akonadicontact5 and akonadicontact5-serializer domains
+%find_lang %{kaname} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -104,6 +129,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
+%doc README.md
 %ghost %{_libdir}/libKPim5AkonadiContact.so.5
 %attr(755,root,root) %{_libdir}/libKPim5AkonadiContact.so.*.*.*
 %ghost %{_libdir}/libKPim5ContactEditor.so.5
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-akonadi-contacts.git/commitdiff/1df5d304c4c28253146255b53e8f137393c99f36



More information about the pld-cvs-commit mailing list