File luanti-mineclonia.spec of Package luanti-mineclonia

#
# spec file for package luanti-mineclonia
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           luanti-mineclonia
Version:        0.116.1
Release:        0
Summary:        An unofficial Minecraft-like game for luanti
License:        GPL-3.0-only
URL:            https://codeberg.org/mineclonia/mineclonia
Source:         https://codeberg.org/mineclonia/mineclonia/archive/%{version}.tar.gz
BuildRequires:  fdupes
Requires:       luanti-data
BuildArch:      noarch

%description
mineclonia

An unofficial Minecraft-like game for luanti. Fork of MineClone 2 with focus on stability, multiplayer performance and features. For information about migrating from MineClone 2 to Mineclonia, see MIGRATING.md.

%prep
%setup -q -c

%build
ls -lah

%install
install -dm 0755 %{buildroot}%{_datadir}/luanti/games/mineclonia
cp -aR mineclonia/* %{buildroot}%{_datadir}/luanti/games/mineclonia/
%fdupes -s %{buildroot}%{_datadir}/luanti/games/mineclonia

%files
%dir %{_datadir}/luanti/games/mineclonia/
%dir %{_datadir}/luanti/
%dir %{_datadir}/luanti/games/
%{_datadir}/luanti/games/mineclonia/

%post
%postun

%changelog
openSUSE Build Service is sponsored by