diff --git a/README.md b/README.md index d514dde..b251f50 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # plasmatube +YouTube video player based on libmpv and yt-dlp. + diff --git a/plasmatube.spec b/plasmatube.spec new file mode 100644 index 0000000..03e7282 --- /dev/null +++ b/plasmatube.spec @@ -0,0 +1,62 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: plasmatube +Version: 23.08.0 +Release: 1mamba +Summary: YouTube video player based on libmpv and yt-dlp +Group: Graphical Desktop/Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/plasmatube-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5Svg-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libmpv-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtquickcontrols2-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules + +%description +YouTube video player based on libmpv and yt-dlp. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/plasmatube +%{_datadir}/applications/org.kde.plasmatube.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.kde.plasmatube.svg +%{_datadir}/metainfo/org.kde.plasmatube.appdata.xml +%doc LICENSES + +%changelog +* Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba +- package created using the webbuild interface