package created using the webbuild interface [release 25.04.0-1mamba;Thu Apr 17 2025]

This commit is contained in:
Silvan Calarco 2025-04-24 12:16:00 +02:00
parent 05ba56086d
commit 14c362735c
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# audiotube
AudioTube is a client for YouTube Music.

78
audiotube.spec Normal file
View File

@ -0,0 +1,78 @@
Name: audiotube
Version: 25.04.0
Release: 1mamba
Summary: Client for YouTube Music
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/multimedia/audiotube
Source: https://download.kde.org/stable/release-service/%{version}/src/audiotube-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Concurrent
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6OpenGL
BuildRequires: libQt6Sql
BuildRequires: libQt6Widgets
BuildRequires: libX11-devel
BuildRequires: libfuturesql-qt6-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-kcrash-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kwindowsystem-devel
BuildRequires: libpython3-devel
BuildRequires: libqcoro-qt6-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtmultimedia-devel
BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
BuildRequires: python-ytmusicapi-py3
BuildRequires: python-yt_dlp-py3
Requires: python-ytmusicapi-py3
Requires: python-yt_dlp-py3
%description
AudioTube is a client for YouTube Music.
%prep
%setup -q
%build
%cmake_kf6 \
-DPython3_EXECUTABLE=%{__python3} \
-DPYTHON_INCLUDE_DIRS=%{python3_inc} \
-DPYTHON_LIBRARIES=%{_libdir}/libpython%{python3_version}.so
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/audiotube
%{_datadir}/applications/org.kde.audiotube.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.kde.audiotube.svg
%{_metainfodir}/org.kde.audiotube.appdata.xml
%doc LICENSES
%changelog
* Thu Apr 17 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 25.04.0-1mamba
- package created using the webbuild interface