[packages/ka5-audiotube] - cleanup + dependencies update

qboosh qboosh at pld-linux.org
Sun Oct 20 14:56:21 CEST 2024


commit a8b9c9f270e6e6c15841786d1d609fa9a5247d03
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 20 14:14:51 2024 +0200

    - cleanup + dependencies update

 ka5-audiotube.spec | 75 ++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 47 insertions(+), 28 deletions(-)
---
diff --git a/ka5-audiotube.spec b/ka5-audiotube.spec
index 2151e69..bfc6b5d 100644
--- a/ka5-audiotube.spec
+++ b/ka5-audiotube.spec
@@ -3,8 +3,8 @@
 %bcond_with	tests		# test suite
 
 %define		kdeappsver	23.08.5
-%define		qtver		5.15.2
-%define		kf5ver		5.71.0
+%define		qt_ver		5.15.10
+%define		kf_ver		5.81
 %define		kaname		audiotube
 Summary:	A client for YouTube Music
 Summary(pl.UTF-8):	Klient YouTube Music
@@ -15,41 +15,61 @@ License:	GPL v3
 Group:		X11/Applications
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5:	98514887b61355141f2dde67efd94825
-URL:		https://kde.org/
-BuildRequires:	Qt5Concurrent-devel
-BuildRequires:	Qt5Core-devel >= 5.15.2
-BuildRequires:	Qt5DBus-devel
-BuildRequires:	Qt5Gui-devel >= 5.15.2
-BuildRequires:	Qt5Network-devel >= 5.15.10
-BuildRequires:	Qt5Qml-devel >= 5.15.10
-BuildRequires:	Qt5Quick-controls2-devel
-BuildRequires:	Qt5Quick-devel >= 5.15.10
-BuildRequires:	Qt5Sql-devel >= 5.15.2
-BuildRequires:	Qt5Svg-devel
-BuildRequires:	Qt5Widgets-devel >= 5.15.2
+URL:		https://apps.kde.org/audiotube/
+BuildRequires:	Qt5Concurrent-devel >= %{qt_ver}
+BuildRequires:	Qt5Core-devel >= %{qt_ver}
+BuildRequires:	Qt5DBus-devel >= %{qt_ver}
+BuildRequires:	Qt5Gui-devel >= %{qt_ver}
+BuildRequires:	Qt5Network-devel >= %{qt_ver}
+BuildRequires:	Qt5Qml-devel >= %{qt_ver}
+BuildRequires:	Qt5Quick-controls2-devel >= %{qt_ver}
+BuildRequires:	Qt5Quick-devel >= %{qt_ver}
+BuildRequires:	Qt5Sql-devel >= %{qt_ver}
+BuildRequires:	Qt5Svg-devel >= %{qt_ver}
+BuildRequires:	Qt5Widgets-devel >= %{qt_ver}
+BuildRequires:	cmake >= 3.16.0
 BuildRequires:	fontconfig-devel
 BuildRequires:	freetype-devel
 BuildRequires:	futuresql-devel
-BuildRequires:	gettext-devel
-BuildRequires:	kf5-extra-cmake-modules >= 5.81
-BuildRequires:	kf5-kcoreaddons-devel >= 5.81
-BuildRequires:	kf5-kcrash-devel >= 5.81
-BuildRequires:	kf5-ki18n-devel >= 5.81
-BuildRequires:	kf5-kirigami2-devel >= 5.81
+BuildRequires:	gettext-tools
+BuildRequires:	kf5-extra-cmake-modules >= %{kf_ver}
+BuildRequires:	kf5-kcoreaddons-devel >= %{kf_ver}
+BuildRequires:	kf5-kcrash-devel >= %{kf_ver}
+BuildRequires:	kf5-ki18n-devel >= %{kf_ver}
+BuildRequires:	kf5-kirigami2-devel >= %{kf_ver}
 BuildRequires:	kf5-kirigami-addons-devel >= 0.6.0
-BuildRequires:	kf5-kwindowsystem-devel >= 5.81
+BuildRequires:	kf5-kwindowsystem-devel >= %{kf_ver}
 BuildRequires:	ninja
 BuildRequires:	pkgconfig
-BuildRequires:	python3
+BuildRequires:	python3 >= 1:3
 BuildRequires:	python3-pybind11
 BuildRequires:	python3-yt-dlp
 BuildRequires:	python3-ytmusicapi >= 1.0.2
 BuildRequires:	qcoro-devel >= 0.9.0
-BuildRequires:	qcoro-devel >= 0.9.0
-BuildRequires:	qt5-build >= %{qtver}
+BuildRequires:	qt5-build >= %{qt_ver}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires:	Qt5Concurrent >= %{qt_ver}
+Requires:	Qt5Core >= %{qt_ver}
+Requires:	Qt5DBus >= %{qt_ver}
+Requires:	Qt5Gui >= %{qt_ver}
+Requires:	Qt5Network >= %{qt_ver}
+Requires:	Qt5Qml >= %{qt_ver}
+Requires:	Qt5Quick-controls2 >= %{qt_ver}
+Requires:	Qt5Quick >= %{qt_ver}
+Requires:	Qt5Sql >= %{qt_ver}
+Requires:	Qt5Svg >= %{qt_ver}
+Requires:	Qt5Widgets >= %{qt_ver}
+Requires:	kf5-kcoreaddons >= %{kf_ver}
+Requires:	kf5-kcrash >= %{kf_ver}
+Requires:	kf5-ki18n >= %{kf_ver}
+Requires:	kf5-kirigami2 >= %{kf_ver}
+Requires:	kf5-kirigami-addons >= 0.6.0
+Requires:	kf5-kwindowsystem >= %{kf_ver}
+Requires:	python3-yt-dlp
+Requires:	python3-ytmusicapi >= 1.0.2
+Requires:	qcoro >= 0.9.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,7 +86,8 @@ AudioTube to klient YouTube Music.
 	-B build \
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
-	-DHTML_INSTALL_DIR=%{_kdedocdir} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
 	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
 
 %ninja_build -C build
@@ -80,9 +101,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %ninja_install -C build
 
-%{__rm} -r $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
-
-%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/ka5-audiotube.git/commitdiff/a8b9c9f270e6e6c15841786d1d609fa9a5247d03



More information about the pld-cvs-commit mailing list