1 |
dams |
291300 |
Name: minetest |
2 |
akien |
552718 |
Version: 0.4.8 |
3 |
|
|
Release: %mkrel 1 |
4 |
dams |
291300 |
Summary: An InfiniMiner/Minecraft inspired game |
5 |
|
|
Group: Games/Other |
6 |
|
|
License: GPLv2+ |
7 |
akien |
552718 |
URL: http://minetest.net |
8 |
|
|
# Source file from github: https://github.com/minetest/minetest |
9 |
dams |
291819 |
Source0: %{name}-%{version}.tar.gz |
10 |
akien |
552718 |
# Source file from github: https://github.com/minetest/minetest_game |
11 |
dams |
291819 |
Source1: %{name}_game-%{version}.tar.gz |
12 |
akien |
552718 |
Patch0: minetest-0.4.8-mga-localedir.patch |
13 |
dams |
493051 |
Patch1: minetest-0.4.7-json.patch |
14 |
akien |
552718 |
Patch2: minetest-0.4.7-mga-desktop.patch |
15 |
dams |
293094 |
BuildRequires: cmake |
16 |
dams |
291300 |
BuildRequires: bzip2-devel |
17 |
|
|
BuildRequires: gettext-devel |
18 |
|
|
BuildRequires: irrlicht-devel |
19 |
|
|
BuildRequires: jpeg-devel |
20 |
|
|
BuildRequires: zlib-devel |
21 |
|
|
BuildRequires: pkgconfig(gl) |
22 |
|
|
BuildRequires: pkgconfig(libpng) |
23 |
|
|
BuildRequires: pkgconfig(openal) |
24 |
dams |
293094 |
BuildRequires: pkgconfig(jthread) |
25 |
dams |
291300 |
BuildRequires: pkgconfig(sqlite3) |
26 |
|
|
BuildRequires: pkgconfig(vorbisfile) |
27 |
|
|
BuildRequires: pkgconfig(x11) |
28 |
|
|
|
29 |
|
|
%description |
30 |
dams |
291819 |
One of the first InfiniMiner/Minecraft inspired games with a goal of taking |
31 |
|
|
the survival multiplayer gameplay to a slightly different direction. |
32 |
dams |
291300 |
|
33 |
|
|
This game is under development, and as of now, the game does not really |
34 |
|
|
differ from Minecraft except for having a lot less features. Still, playing |
35 |
|
|
is quite fun already, especially for people who have not been able to |
36 |
|
|
experience Minecraft. |
37 |
|
|
|
38 |
|
|
%prep |
39 |
akien |
552718 |
%setup -q -a 1 |
40 |
dams |
291961 |
%apply_patches |
41 |
dams |
291300 |
|
42 |
|
|
%build |
43 |
dams |
493064 |
%cmake -DRUN_IN_PLACE=0 -DCUSTOM_BINDIR:STRING=%{_gamesbindir} -DCUSTOM_SHAREDIR:STRING=%{_gamesdatadir}/%{name} -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_GETTEXT:BOOL=ON -DJTHREAD_INCLUDE_DIR=%{_includedir}/jthread |
44 |
akien |
552718 |
%make |
45 |
dams |
291300 |
|
46 |
|
|
%install |
47 |
dams |
291961 |
%makeinstall_std -C build |
48 |
dams |
291962 |
mkdir -p %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game |
49 |
dams |
291961 |
cp -r %{name}_game-%{version}/* %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game |
50 |
dams |
291300 |
|
51 |
dams |
493064 |
%find_lang %{name} |
52 |
dams |
291300 |
|
53 |
|
|
%files -f %{name}.lang |
54 |
|
|
%doc doc/*.txt |
55 |
dams |
291819 |
%{_gamesbindir}/%{name} |
56 |
|
|
%{_gamesbindir}/%{name}server |
57 |
|
|
%{_gamesdatadir}/%{name} |
58 |
dams |
291300 |
%{_datadir}/applications/%{name}.desktop |
59 |
|
|
%{_iconsdir}/hicolor/scalable/apps/%{name}-icon.svg |
60 |
|
|
%{_mandir}/man6/%{name}.6* |
61 |
|
|
%{_mandir}/man6/%{name}server.6* |