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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 291819 by dams, Mon Sep 10 13:38:19 2012 UTC revision 291961 by dams, Mon Sep 10 17:34:47 2012 UTC
# Line 8  URL:           http://celeron.55.lt/minetest/ Line 8  URL:           http://celeron.55.lt/minetest/
8  # re-pack to get rid of ugly directory names  # re-pack to get rid of ugly directory names
9  Source0:        %{name}-%{version}.tar.gz  Source0:        %{name}-%{version}.tar.gz
10  Source1:        %{name}_game-%{version}.tar.gz  Source1:        %{name}_game-%{version}.tar.gz
11    Patch0:         minetest-0.4.3.jthread_phtread.patch
12  BuildRequires:  cmake >= 2.6.0  BuildRequires:  cmake >= 2.6.0
13  BuildRequires:  bzip2-devel  BuildRequires:  bzip2-devel
14  BuildRequires:  gettext-devel  BuildRequires:  gettext-devel
# Line 15  BuildRequires: irrlicht-devel Line 16  BuildRequires: irrlicht-devel
16  BuildRequires:  jpeg-devel  BuildRequires:  jpeg-devel
17  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
18  BuildRequires:  pkgconfig(gl)  BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(jthread)  
19  BuildRequires:  pkgconfig(libpng)  BuildRequires:  pkgconfig(libpng)
20  BuildRequires:  pkgconfig(openal)  BuildRequires:  pkgconfig(openal)
21  BuildRequires:  pkgconfig(sqlite3)  BuildRequires:  pkgconfig(sqlite3)
# Line 33  experience Minecraft. Line 33  experience Minecraft.
33    
34  %prep  %prep
35  %setup -q -a 1  %setup -q -a 1
36    %apply_patches
37    
38  %build  %build
39  %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  %cmake -DRUN_IN_PLACE=0 -DCUSTOM_BINDIR:STRING=%{_gamesbindir} -DCUSTOM_SHAREDIR:STRING=%{_gamesdatadir}/%{name} -DCMAKE_BUILD_TYPE:STRING=release -DENABLE_GETTEXT:BOOL=ON
40  %make  %make
41    
42  %install  %install
43  %makeinstall_std  %makeinstall_std -C build
44  mkdir -p %{buildroot}%{_datadir}/%{name}/games/%{name}_game  mkdir -p %{buildroot}%{_gamedatadir}/%{name}/games/%{name}_game
45  cp -r %{name}_game-%{version}/* %{buildroot}%{_datadir}/%{name}/games/%{name}_game  cp -r %{name}_game-%{version}/* %{buildroot}%{_gamesdatadir}/%{name}/games/%{name}_game
46    
47  %find_lang %{name}  %find_lang %{name}
48    

Legend:
Removed from v.291819  
changed lines
  Added in v.291961

  ViewVC Help
Powered by ViewVC 1.1.30