diff --git a/README.md b/README.md index 5be5cf8..1ced490 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # plank-player +Multimedia Player for playing local files on Plasma Bigscreen. + diff --git a/plank-player.spec b/plank-player.spec new file mode 100644 index 0000000..49b4062 --- /dev/null +++ b/plank-player.spec @@ -0,0 +1,60 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: plank-player +Version: 5.26.1 +Release: 1mamba +Summary: Multimedia Player for playing local files on Plasma Bigscreen +Group: Graphical Desktop/Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/plasma/%{version}/plank-player-%{version}.tar.xz +License: GPL, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5Multimedia-devel +BuildRequires: libgcc +BuildRequires: libki18n-devel +BuildRequires: libkirigami2-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 +Multimedia Player for playing local files on Plasma Bigscreen. + +%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}/plank-player +%{_datadir}/applications/org.plank.player.desktop +%{_datadir}/icons/hicolor/*/apps/plank-player.png +%{_datadir}/metainfo/org.kde.invent.plank_player.metainfo.xml +%doc LICENSES + +%changelog +* Sat Oct 22 2022 Silvan Calarco 5.26.1-1mamba +- package created using the webbuild interface