/[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 291819 - (hide annotations) (download)
Mon Sep 10 13:38:19 2012 UTC (11 years, 7 months ago) by dams
Original Path: cauldron/minetest/current/SPECS/minetest.spec
File size: 1805 byte(s)
- new version 0.4.3
- clean specfile
- remove useless patch
- update %cmake options

1 dams 291300 Name: minetest
2 dams 291819 Version: 0.4.3
3 dams 291300 Release: %mkrel 1
4     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 291300 BuildRequires: cmake >= 2.6.0
12     BuildRequires: bzip2-devel
13     BuildRequires: gettext-devel
14     BuildRequires: irrlicht-devel
15     BuildRequires: jpeg-devel
16     BuildRequires: zlib-devel
17     BuildRequires: pkgconfig(gl)
18     BuildRequires: pkgconfig(jthread)
19     BuildRequires: pkgconfig(libpng)
20     BuildRequires: pkgconfig(openal)
21     BuildRequires: pkgconfig(sqlite3)
22     BuildRequires: pkgconfig(vorbisfile)
23     BuildRequires: pkgconfig(x11)
24    
25     %description
26 dams 291819 One of the first InfiniMiner/Minecraft inspired games with a goal of taking
27     the survival multiplayer gameplay to a slightly different direction.
28 dams 291300
29     This game is under development, and as of now, the game does not really
30     differ from Minecraft except for having a lot less features. Still, playing
31     is quite fun already, especially for people who have not been able to
32     experience Minecraft.
33    
34     %prep
35 dams 291819 %setup -q -a 1
36 dams 291300
37     %build
38 dams 291819 %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
39     %make
40 dams 291300
41     %install
42 dams 291819 %makeinstall_std
43 dams 291300 mkdir -p %{buildroot}%{_datadir}/%{name}/games/%{name}_game
44 dams 291819 cp -r %{name}_game-%{version}/* %{buildroot}%{_datadir}/%{name}/games/%{name}_game
45 dams 291300
46     %find_lang %{name}
47    
48     %files -f %{name}.lang
49     %doc doc/*.txt
50 dams 291819 %{_gamesbindir}/%{name}
51     %{_gamesbindir}/%{name}server
52     %{_gamesdatadir}/%{name}
53 dams 291300 %{_datadir}/applications/%{name}.desktop
54     %{_iconsdir}/hicolor/scalable/apps/%{name}-icon.svg
55     %{_mandir}/man6/%{name}.6*
56     %{_mandir}/man6/%{name}server.6*

  ViewVC Help
Powered by ViewVC 1.1.30