[packages/ka6-arianna] - cleanup

qboosh qboosh at pld-linux.org
Sun Oct 20 18:45:52 CEST 2024


commit 3bf7ef5f520b0d5937338faf2a551b10e290580c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 20 18:23:37 2024 +0200

    - cleanup

 ka6-arianna.spec | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/ka6-arianna.spec b/ka6-arianna.spec
index 4843af0..b67f5c5 100644
--- a/ka6-arianna.spec
+++ b/ka6-arianna.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		arianna
 Summary:	An ebook reader
+Summary(pl.UTF-8):	Czytnik e-booków
 Name:		ka6-%{kaname}
 Version:	24.08.2
 Release:	1
@@ -13,7 +15,7 @@ License:	GPL v3
 Group:		X11/Applications
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5:	8bf75ae3f7b4da1ad17d7fcea1718bfa
-URL:		http://www.kde.org/
+URL:		https://kde.org/arianna/
 BuildRequires:	Qt6Core-devel
 BuildRequires:	Qt6Gui-devel >= 5.15.2
 BuildRequires:	Qt6HttpServer-devel
@@ -51,13 +53,16 @@ BuildRequires:	qt6-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Obsoletes:	ka5-arianna < 24
 ExcludeArch:	x32 i686
-Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Arianna is an ebook reader.
 
+%description -l pl.UTF-8
+Arianna to czytnik e-booków.
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -69,20 +74,18 @@ Arianna is an ebook reader.
 	-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}
-
-%find_lang %{kaname} --all-name --with-kde
+%find_lang %{kaname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-arianna.git/commitdiff/d25a76ff04fe6c30466c50cdcb4f4d487aea0818



More information about the pld-cvs-commit mailing list