/[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 389213 - (show annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: obsolete/cauldron/minetest/current/SPECS/minetest.spec
File size: 1867 byte(s)
Drop 
1 Name: minetest
2 Version: 0.4.3
3 Release: %mkrel 3
4 Summary: An InfiniMiner/Minecraft inspired game
5 Group: Games/Other
6 License: GPLv2+
7 URL: http://celeron.55.lt/minetest/
8 # re-pack to get rid of ugly directory names
9 Source0: %{name}-%{version}.tar.gz
10 Source1: %{name}_game-%{version}.tar.gz
11 Patch0: minetest-0.4.3-jthread.patch
12 BuildRequires: cmake
13 BuildRequires: bzip2-devel
14 BuildRequires: gettext-devel
15 BuildRequires: irrlicht-devel
16 BuildRequires: jpeg-devel
17 BuildRequires: zlib-devel
18 BuildRequires: pkgconfig(gl)
19 BuildRequires: pkgconfig(libpng)
20 BuildRequires: pkgconfig(openal)
21 BuildRequires: pkgconfig(jthread)
22 BuildRequires: pkgconfig(sqlite3)
23 BuildRequires: pkgconfig(vorbisfile)
24 BuildRequires: pkgconfig(x11)
25
26 %description
27 One of the first InfiniMiner/Minecraft inspired games with a goal of taking
28 the survival multiplayer gameplay to a slightly different direction.
29
30 This game is under development, and as of now, the game does not really
31 differ from Minecraft except for having a lot less features. Still, playing
32 is quite fun already, especially for people who have not been able to
33 experience Minecraft.
34
35 %prep
36 %setup -q -a 1
37 %apply_patches
38
39 %build
40 %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
41 %make
42
43 %install
44 %makeinstall_std -C build
45 mkdir -p %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
46 cp -r %{name}_game-%{version}/* %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
47
48 %find_lang %{name}
49
50 %files -f %{name}.lang
51 %doc doc/*.txt
52 %{_gamesbindir}/%{name}
53 %{_gamesbindir}/%{name}server
54 %{_gamesdatadir}/%{name}
55 %{_datadir}/applications/%{name}.desktop
56 %{_iconsdir}/hicolor/scalable/apps/%{name}-icon.svg
57 %{_mandir}/man6/%{name}.6*
58 %{_mandir}/man6/%{name}server.6*

  ViewVC Help
Powered by ViewVC 1.1.30