]> git.pld-linux.org Git - packages/ka5-kontact.git/blobdiff - ka5-kontact.spec
- updated to 22.08.3
[packages/ka5-kontact.git] / ka5-kontact.spec
index dfd019217eedfd3a1f8d44cb8f6a7f4a68d19fdd..7a733dcefdf58742bffb3c4107a6361514df22dc 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.04.1
-%define                kframever       5.56.0
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      22.08.3
+%define                kframever       5.94.0
+%define                qtver           5.15.2
 %define                kaname          kontact
 Summary:       kontact
 Name:          ka5-%{kaname}
-Version:       21.04.1
+Version:       22.08.3
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
-Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: cbf66372d73ea1a970ee867d1240acd8
+Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 3b33f0dcca1645cede7273dfda537e30
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel
@@ -42,6 +45,7 @@ BuildRequires:        rpmbuild(macros) >= 1.164
 BuildRequires: shared-mime-info
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+ExcludeArch:   x32
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,6 +55,13 @@ KMail, KOrganizer and KAddressBook into a single interface to provide
 easy access to mail, scheduling, address book and other PIM
 functionality.
 
+%description -l pl.UTF-8
+Kontact jest zintegrowanym rozwiązaniem do zarządzania informacją
+osobistą (PIM). W jego skład wchodzą dobrze znane aplikacje KDE,
+takie jak KMail, KOrganizer i KAddressBook. Mają ujednolicony
+interfejs i dają łatwy dostęp do poczty, listy zadań, książki
+adresowej i innych funkcjonalności PIM.
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -59,11 +70,17 @@ install -d build
 cd build
 %cmake \
        -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -81,7 +98,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/kontact
 %ghost %{_libdir}/libkontactprivate.so.5
 %attr(755,root,root) %{_libdir}/libkontactprivate.so.*.*.*
-%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kontact.so
 %{_desktopdir}/org.kde.kontact.desktop
 %{_datadir}/config.kcfg/kontact.kcfg
 %{_iconsdir}/hicolor/128x128/apps/kontact.png
@@ -91,12 +107,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/48x48/apps/kontact.png
 %{_iconsdir}/hicolor/64x64/apps/kontact.png
 %{_iconsdir}/hicolor/scalable/apps/kontact.svg
-%attr(755,root,root) %{_datadir}/kconf_update/kontact-15.08-kickoff.sh
-%{_datadir}/kconf_update/kontact.upd
-%{_datadir}/kservices5/kontactconfig.desktop
 %{_datadir}/messageviewer/about/default/introduction_kontact.html
 %{_datadir}/messageviewer/about/default/loading_kontact.html
 %{_datadir}/metainfo/org.kde.kontact.appdata.xml
 %{_datadir}/dbus-1/services/org.kde.kontact.service
 %{_datadir}/qlogging-categories5/kontact.categories
 %{_datadir}/qlogging-categories5/kontact.renamecategories
+%dir %{_libdir}/qt5/plugins/pim5/kcms/kontact
+%{_libdir}/qt5/plugins/pim5/kcms/kontact/kcm_kontact.so
This page took 0.058107 seconds and 4 git commands to generate.