[packages/ka6-tokodon] - pl

qboosh qboosh at pld-linux.org
Sun Oct 20 21:08:33 CEST 2024


commit e006d92c4c0a7678c17d9339aee077f5defe975f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 20 21:00:47 2024 +0200

    - pl

 ka6-tokodon.spec | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/ka6-tokodon.spec b/ka6-tokodon.spec
index 067248d..0142fbb 100644
--- a/ka6-tokodon.spec
+++ b/ka6-tokodon.spec
@@ -1,7 +1,12 @@
+#
+# Conditional build:
+%bcond_with	tests		# test suite
+
 %define		kdeappsver	24.08.2
 %define		qtver		5.15.2
 %define		kaname		tokodon
 Summary:	A modern Mastodon client
+Summary(pl.UTF-8):	Nowoczesny klient Mastodona
 Name:		ka6-%{kaname}
 Version:	24.08.2
 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:	ee07146f07b6b33350994edff5684ccf
-URL:		https://www.kde.org/
+URL:		https://apps.kde.org/tokodon/
 BuildRequires:	Qt6Core-devel
 BuildRequires:	Qt6Gui-devel >= 5.15.2
 BuildRequires:	Qt6Keychain-devel
@@ -53,11 +58,14 @@ BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	shared-mime-info
 Requires:	%{name}-data = %{version}-%{release}
-Obsoletes:	ka5-%{kaname} < %{version}
+Obsoletes:	ka5-tokodon < 24
 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}
@@ -66,7 +74,7 @@ A modern Mastodon(https://joinmastodon.org/) client.
 Summary:	Data files for %{kaname}
 Summary(pl.UTF-8):	Dane dla %{kaname}
 Group:		X11/Applications
-Obsoletes:	ka5-%{kaname}-data < %{version}
+Obsoletes:	ka5-tokodon-data < 24
 BuildArch:	noarch
 
 %description data
@@ -75,19 +83,20 @@ Data files for %{kaname}.
 %description data -l pl.UTF-8
 Dane dla %{kaname}.
 
-
 %build
 %cmake -B build \
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DKDE_INSTALL_DOCBUNDLEDIR=%{_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/ka6-tokodon.git/commitdiff/e006d92c4c0a7678c17d9339aee077f5defe975f



More information about the pld-cvs-commit mailing list