X-Git-Url: http://git.pld-linux.org/?p=packages%2Fka5-kontact.git;a=blobdiff_plain;f=ka5-kontact.spec;h=db91ae46e3c37d4ec37573dfbbb4fd56fdb374d1;hp=783aa91fc6aa299697a59a7d4fae98bb605ebda5;hb=c27f05a;hpb=c6a6a64ea4b9f4acfe0a8da88a4376cfb77653f8 diff --git a/ka5-kontact.spec b/ka5-kontact.spec index 783aa91..db91ae4 100644 --- a/ka5-kontact.spec +++ b/ka5-kontact.spec @@ -1,15 +1,18 @@ -%define kdeappsver 21.04.2 +# +# Conditional build: +%bcond_with tests # build with tests +%define kdeappsver 22.04.2 %define kframever 5.56.0 %define qtver 5.9.0 %define kaname kontact Summary: kontact Name: ka5-%{kaname} -Version: 21.04.2 -Release: 1 +Version: 22.04.2 +Release: 2 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: 7f076a9cde6c4bd330e4e12bc4ef9613 +Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz +# Source0-md5: 87ecffdfb92d1100009830faaa34bca5 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,8 @@ 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 +%dir %{_libdir}/qt5/plugins/pim/kcms/kontact +%attr(755,root,root) %{_libdir}/qt5/plugins/pim/kcms/kontact/kcm_kontact.so %{_desktopdir}/org.kde.kontact.desktop %{_datadir}/config.kcfg/kontact.kcfg %{_iconsdir}/hicolor/128x128/apps/kontact.png @@ -91,8 +109,6 @@ 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