[packages/ka6-audiotube] - pl, cleanup
qboosh
qboosh at pld-linux.org
Thu Oct 17 22:42:58 CEST 2024
commit 1501c4cc7f4c8d1cd7cf21f15a02e3a74aacd4d1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 17 22:43:52 2024 +0200
- pl, cleanup
ka6-audiotube.spec | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/ka6-audiotube.spec b/ka6-audiotube.spec
index 1713fea..dedc835 100644
--- a/ka6-audiotube.spec
+++ b/ka6-audiotube.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 audiotube
Summary: A client for YouTube Music
+Summary(pl.UTF-8): Klient YouTube Music
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: 47ac7979cbc4d77bb8ca5a6ed785758e
-URL: http://www.kde.org/
+URL: https://apps.kde.org/audiotube/
BuildRequires: Qt6Concurrent-devel
BuildRequires: Qt6Core-devel >= 5.15.2
BuildRequires: Qt6DBus-devel
@@ -52,6 +54,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
AudioTube is a client for YouTube Music.
+%description -l pl.UTF-8
+AudioTube to klient YouTube Music.
+
%prep
%setup -q -n %{kaname}-%{version}
@@ -63,18 +68,19 @@ AudioTube is a client for YouTube Music.
-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}
+%{__rm} -r $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
%find_lang %{kaname} --all-name --with-kde
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-audiotube.git/commitdiff/1501c4cc7f4c8d1cd7cf21f15a02e3a74aacd4d1
More information about the pld-cvs-commit
mailing list