[packages/ka6-merkuro] - pl
qboosh
qboosh at pld-linux.org
Sun Oct 20 20:14:50 CEST 2024
commit 073e73d1fe4978b7da2557965781ce30036bfc12
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 20 19:53:55 2024 +0200
- pl
ka6-merkuro.spec | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/ka6-merkuro.spec b/ka6-merkuro.spec
index 20a0596..d1fea11 100644
--- a/ka6-merkuro.spec
+++ b/ka6-merkuro.spec
@@ -1,11 +1,13 @@
#
# Conditional build:
-%bcond_with tests # build with tests
+%bcond_with tests # test suite
+
%define kdeappsver 24.08.2
%define kframever 5.94.0
%define qtver 5.15.2
%define kaname merkuro
Summary: Kalendar
+Summary(pl.UTF-8): Kalendarz
Name: ka6-%{kaname}
Version: 24.08.2
Release: 1
@@ -13,7 +15,7 @@ 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: 0727c6f680600fbf53aa1e8ed11157c9
-URL: http://www.kde.org/
+URL: https://apps.kde.org/merkuro/
BuildRequires: Qt6Core-devel >= 5.15.2
BuildRequires: Qt6DBus-devel >= 5.15.2
BuildRequires: Qt6Gui-devel
@@ -47,12 +49,13 @@ BuildRequires: kf6-kitemmodels-devel >= 5.105.0
BuildRequires: kf6-qqc2-desktop-style-devel >= 5.96.0
BuildRequires: ninja
BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: shared-mime-info
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires: %{name}-data = %{version}-%{release}
-Obsoletes: ka5-%{kaname} < %{version}
+Obsoletes: ka5-merkuro < 24
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -61,11 +64,17 @@ that uses Akonadi. It lets you add, edit and delete events and tasks
from local and remote accounts of your choice, while keeping changes
synchronised across your Plasma desktop or phone.
+%description -l pl.UTF-8
+Merkuro to oparty na Kirigami kalendarz i aplikacja do zarządzania
+zadaniami, wykorzystująca Akonadi. Pozwala dodawać, modyfikować i
+usuwać wydarzenia i zadania z wybranych lokalnych i zdalnych kont,
+pilnując synchronizacji z pulpitem Plazmy lub telefonem.
+
%package data
Summary: Data files for %{kaname}
Summary(pl.UTF-8): Dane dla %{kaname}
Group: X11/Applications
-Obsoletes: ka5-%{kaname}-data < %{version}
+Obsoletes: ka5-merkuro-data < 24
BuildArch: noarch
%description data
@@ -74,7 +83,6 @@ Data files for %{kaname}.
%description data -l pl.UTF-8
Dane dla %{kaname}.
-
%prep
%setup -q -n %{kaname}-%{version}
@@ -84,15 +92,16 @@ Dane dla %{kaname}.
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
%ninja_build -C build
%if %{with tests}
ctest --test-dir build
%endif
-
%install
rm -rf $RPM_BUILD_ROOT
+
%ninja_install -C build
%find_lang %{kaname} --all-name --with-kde
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-merkuro.git/commitdiff/406868c6be080c07bb2188799e931e107ed3c064
More information about the pld-cvs-commit
mailing list