/[packages]/updates/8/minetest/current/SPECS/minetest.spec
ViewVC logotype

Contents of /updates/8/minetest/current/SPECS/minetest.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 587283 - (show annotations) (download)
Sun Feb 9 16:54:30 2014 UTC (10 years, 2 months ago) by akien
Original Path: cauldron/minetest/current/SPECS/minetest.spec
File size: 2025 byte(s)
New upstream release 0.4.9: http://dev.minetest.net/Changelog#0.4.8_.E2.86.92_0.4.9
1 Name: minetest
2 Version: 0.4.9
3 Release: %mkrel 1
4 Summary: An InfiniMiner/Minecraft inspired game
5 Group: Games/Other
6 License: GPLv2+
7 URL: http://minetest.net
8 # Source file from github: https://github.com/minetest/minetest
9 Source0: %{name}-%{version}.tar.gz
10 # Source file from github: https://github.com/minetest/minetest_game
11 Source1: %{name}_game-%{version}.tar.gz
12 Patch0: minetest-0.4.8-mga-localedir.patch
13 Patch1: minetest-0.4.7-json.patch
14 Patch2: minetest-0.4.7-mga-desktop.patch
15 BuildRequires: cmake
16 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 BuildRequires: pkgconfig(jthread)
25 BuildRequires: pkgconfig(sqlite3)
26 BuildRequires: pkgconfig(vorbisfile)
27 BuildRequires: pkgconfig(x11)
28
29 %description
30 One of the first InfiniMiner/Minecraft inspired games with a goal of taking
31 the survival multiplayer gameplay to a slightly different direction.
32
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 %setup -q -a 1
40 %apply_patches
41
42 %build
43 %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 %make
45
46 %install
47 %makeinstall_std -C build
48 mkdir -p %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
49 cp -r %{name}_game-%{version}/* %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
50
51 %find_lang %{name}
52
53 %files -f %{name}.lang
54 %doc doc/*.txt
55 %{_gamesbindir}/%{name}
56 %{_gamesbindir}/%{name}server
57 %{_gamesdatadir}/%{name}
58 %{_datadir}/applications/%{name}.desktop
59 %{_iconsdir}/hicolor/scalable/apps/%{name}-icon.svg
60 %{_mandir}/man6/%{name}.6*
61 %{_mandir}/man6/%{name}server.6*

  ViewVC Help
Powered by ViewVC 1.1.30