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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (hide annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: cauldron/minetest/current/SPECS/minetest.spec
File size: 1867 byte(s)
oops
1 dams 291300 Name: minetest
2 dams 291819 Version: 0.4.3
3 umeabot 360093 Release: %mkrel 3
4 dams 291300 Summary: An InfiniMiner/Minecraft inspired game
5     Group: Games/Other
6     License: GPLv2+
7     URL: http://celeron.55.lt/minetest/
8 dams 291819 # re-pack to get rid of ugly directory names
9     Source0: %{name}-%{version}.tar.gz
10     Source1: %{name}_game-%{version}.tar.gz
11 dams 293094 Patch0: minetest-0.4.3-jthread.patch
12     BuildRequires: cmake
13 dams 291300 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 dams 293094 BuildRequires: pkgconfig(jthread)
22 dams 291300 BuildRequires: pkgconfig(sqlite3)
23     BuildRequires: pkgconfig(vorbisfile)
24     BuildRequires: pkgconfig(x11)
25    
26     %description
27 dams 291819 One of the first InfiniMiner/Minecraft inspired games with a goal of taking
28     the survival multiplayer gameplay to a slightly different direction.
29 dams 291300
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 dams 291819 %setup -q -a 1
37 dams 291961 %apply_patches
38 dams 291300
39     %build
40 dams 293094 %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 dams 291819 %make
42 dams 291300
43     %install
44 dams 291961 %makeinstall_std -C build
45 dams 291962 mkdir -p %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
46 dams 291961 cp -r %{name}_game-%{version}/* %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
47 dams 291300
48     %find_lang %{name}
49    
50     %files -f %{name}.lang
51     %doc doc/*.txt
52 dams 291819 %{_gamesbindir}/%{name}
53     %{_gamesbindir}/%{name}server
54     %{_gamesdatadir}/%{name}
55 dams 291300 %{_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