voxelands/voxelands.spec

94 lines
3.3 KiB
RPMSpec

Name: voxelands
Version: 1709.00
Release: 1mamba
Summary: A sandbox construction game based on Minetest
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.com/voxelands/voxelands
Source: https://gitlab.com/voxelands/voxelands.git/v%{version}/voxelands-%{version}.tar.bz2
Patch0: voxelands-1709.00-disable-strip.patch
License: GPL3
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libbzip2-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libirrlicht-devel
BuildRequires: libjpeg-devel
BuildRequires: libogg-devel
BuildRequires: libopenal-devel
BuildRequires: libpng-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvorbis-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
Voxelands is a sandbox construction game based on Minetest, which was inspired by earlier "voxel world" games such as Infiniminer.
Gameplay puts players in a fully destructible 3D game world where they can place and dig numerous types of blocks, items and creatures using a variety of tools.
Inside the game world players can build structures, artworks and anything else their creativity can think of on multiplayer servers
and singleplayer worlds across multiple game modes.ds is a sandbox construction game based on Minetest, which was inspired by earlier "voxel world" games such as Infiniminer. Gameplay
puts players in a fully destructible 3D game world where they can place and dig numerous types of blocks, items and creatures using a variety
of tools. Inside the game world players can build structures, artworks and anything else their creativity can think of on multiplayer servers and singleplayer worlds across multiple game modes.
%debug_package
%prep
%setup -q
%patch 0 -p1
%build
# FIXME: (1709.00) building in subdir does not work
%define _vpath_builddir .
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
install -D -m0755 src/jthread/libjthread.so %{buildroot}%{_libdir}/libjthread.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/voxelands
%{_bindir}/voxelands-server
%{_libdir}/libjthread.so
%{_datadir}/applications/voxelands.desktop
%{_datadir}/appdata/voxelands.appdata.xml
%dir %{_datadir}/voxelands
%{_datadir}/voxelands/*
%{_datadir}/icons/hicolor/*/apps/voxelands.png
%{_datadir}/icons/hicolor/scalable/apps/voxelands.svg
%dir %{_docdir}/voxelands
%{_docdir}/voxelands/*
%{_mandir}/man6/*.6*
%changelog
* Thu Jun 27 2024 Automatic Build System <autodist@openmamba.org> 1709.00-1mamba
- automatic version update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 1604.00-1mamba
- automatic update by autodist
* Mon Dec 28 2015 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1512.00-1mamba
- update to 1512.00
* Fri Dec 11 2015 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1510.01-1mamba
- package created using the webbuild interface