[packages/ka5-tokodon] - pl, more specific URL
qboosh
qboosh at pld-linux.org
Thu Oct 17 21:55:26 CEST 2024
commit 108d235594a73ca36676036e4627f9c519bfd4af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 17 21:52:00 2024 +0200
- pl, more specific URL
ka5-tokodon.spec | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/ka5-tokodon.spec b/ka5-tokodon.spec
index b4cd30a..4110b58 100644
--- a/ka5-tokodon.spec
+++ b/ka5-tokodon.spec
@@ -1,7 +1,12 @@
+#
+# Conditional build:
+%bcond_with tests # test suite
+
%define kdeappsver 23.08.5
%define qtver 5.15.2
%define kaname tokodon
Summary: A modern Mastodon client
+Summary(pl.UTF-8): Nowoczesny klient Mastodona
Name: ka5-%{kaname}
Version: 23.08.5
Release: 1
@@ -9,7 +14,7 @@ License: GPL v3+
Group: X11/Applications/Editors
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
# Source0-md5: 537545b6d45ec11d1c80692919430d4b
-URL: https://www.kde.org/
+URL: https://apps.kde.org/tokodon/
BuildRequires: Qt5Core-devel
BuildRequires: Qt5Gui-devel >= 5.15.2
BuildRequires: Qt5Keychain-devel
@@ -53,7 +58,10 @@ BuildRequires: shared-mime-info
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-A modern Mastodon(https://joinmastodon.org/) client.
+A modern Mastodon (<https://joinmastodon.org/>) client.
+
+%description -l pl.UTF-8
+Nowoczesny klient serwisu Mastodon (<https://joinmastodon.org/>).
%prep
%setup -q -n %{kaname}-%{version}
@@ -64,12 +72,14 @@ A modern Mastodon(https://joinmastodon.org/) client.
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DHTML_INSTALL_DIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
%ninja_build -C build
%{?with_tests:%ninja_build test}
%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/ka5-tokodon.git/commitdiff/108d235594a73ca36676036e4627f9c519bfd4af
More information about the pld-cvs-commit
mailing list