[packages/ka6-qmlkonsole] - pl, cleanup
qboosh
qboosh at pld-linux.org
Sun Oct 20 20:53:05 CEST 2024
commit 6e3bb156c93015a4871d77f724563859f6686d45
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 20 20:44:00 2024 +0200
- pl, cleanup
ka6-qmlkonsole.spec | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/ka6-qmlkonsole.spec b/ka6-qmlkonsole.spec
index 3763992..f16e411 100644
--- a/ka6-qmlkonsole.spec
+++ b/ka6-qmlkonsole.spec
@@ -1,11 +1,13 @@
#
# Conditional build:
-%bcond_with tests # build with tests
+%bcond_with tests # test suite
+
%define kdeappsver 24.08.2
%define qtver 5.15.2
%define kf5ver 5.71.0
%define kaname qmlkonsole
Summary: A terminal application built for touch
+Summary(pl.UTF-8): Aplikacja terminala dla ekranów dotykowych
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: 7d679db43ad4063863a2e0394933779c
-URL: http://www.kde.org/
+URL: https://apps.kde.org/qmlkonsole/
BuildRequires: Qt6Core-devel
BuildRequires: Qt6Gui-devel >= 5.15.2
BuildRequires: Qt6Network-devel >= 5.15.10
@@ -39,12 +41,16 @@ BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires: qmltermwidget
-Obsoletes: ka5-%{kaname} < %{version}
+Obsoletes: ka5-qmlkonsole < 24
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-A terminal application built for touch, based on
-[qmltermwidget](https://github.com/Swordfish90/qmltermwidget).
+A terminal application built for touch, based on qmltermwidget
+<https://github.com/Swordfish90/qmltermwidget>.
+
+%description -l pl.UTF-8
+Aplikacja terminala dla ekranów dotykowych, oparta na qmltermwidget
+<https://github.com/Swordfish90/qmltermwidget>.
%prep
%setup -q -n %{kaname}-%{version}
@@ -57,20 +63,19 @@ A terminal application built for touch, based on
-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DQT_MAJOR_VERSION=6
+
%ninja_build -C build
%if %{with tests}
ctest --test-dir build
%endif
-
%install
rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
-rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
+%ninja_install -C build
-%find_lang %{kaname} --all-name --with-kde
+%find_lang %{kaname} --all-name
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-qmlkonsole.git/commitdiff/6e3bb156c93015a4871d77f724563859f6686d45
More information about the pld-cvs-commit
mailing list