skladnik/skladnik.spec

83 lines
2.4 KiB
RPMSpec
Raw Normal View History

%define framework %(echo %name | sed "s|^kf6-||")
%define majver %(echo %version | cut -d. -f1-2)
Name: skladnik
Version: 24.08.3
Release: 1mamba
Summary: Japanese warehouse keeper sokoban game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/games/skladnik
Source: https://download.kde.org/stable/release-service/%{version}/src/skladnik-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-kcrash-devel
BuildRequires: libkf6-kdbusaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-kxmlgui-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
%description
Skladnik is the Japanese warehouse keeper sokoban game.
%debug_package
%prep
%setup -q
%build
%cmake_kf6
%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}/skladnik
%{_datadir}/applications/org.kde.skladnik.desktop
%{_metainfodir}/org.kde.skladnik.metainfo.xml
%dir %{_datadir}/skladnik
%dir %{_datadir}/skladnik/themes
%{_datadir}/skladnik/themes/*
%{_datadir}/icons/hicolor/*/apps/skladnik.png
%{_mandir}/man6/skladnik.6*
%doc AUTHORS COPYING LICENSES
%changelog
* Fri Nov 08 2024 Automatic Build System <autodist@openmamba.org> 24.08.3-1mamba
- automatic version update by autodist
* Fri Oct 11 2024 Automatic Build System <autodist@openmamba.org> 24.08.2-1mamba
- automatic version update by autodist
* Sun Sep 15 2024 Automatic Build System <autodist@openmamba.org> 24.08.1-1mamba
- automatic version update by autodist
* Mon Aug 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.08.0-1mamba
- package created using the webbuild interface