X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=0ad.spec;h=d75e8239df9dc8e6aba13301a882b1e4d098a39e;hb=HEAD;hp=d9b001ef7ea97f2f2c65a699a967210ac1b13c4b;hpb=ba987ea45d26a30a89cd75fe4da35c8802b4345b;p=packages%2F0ad.git diff --git a/0ad.spec b/0ad.spec index d9b001e..d75e823 100644 --- a/0ad.spec +++ b/0ad.spec @@ -8,7 +8,7 @@ Summary: Free, Open-Source, cross-platform RTS game of ancient warfare Name: 0ad Version: %{svn_ver} -Release: 0.%{svn_ver}.1 +Release: 0.alpha.1 License: GPL v2+ Group: X11/Applications/Games Source0: http://releases.wildfiregames.com/%{name}-%{version}-alpha-unix-build.tar.xz @@ -28,6 +28,7 @@ BuildRequires: libpng-devel BuildRequires: libvorbis-devel BuildRequires: libxml2-devel BuildRequires: nasm +BuildRequires: nvidia-texture-tools-devel BuildRequires: perl-base BuildRequires: pkgconfig BuildRequires: python @@ -51,10 +52,10 @@ sound, and a flexible and powerful custom-built game engine. %setup -q -n %{name}-%{version}-alpha # force link with libboost_*.so not libboost_*-mt.so -#%%{__sed} -i 's,-mt,,g' build/premake/extern_libs.lua +%{__sed} -i 's,-mt,,g' build/premake/extern_libs4.lua # use wx-gtk2-unicode-config instead of wx-config -#%%{__sed} -i 's,wx-config,wx-gtk2-unicode-config,' build/premake/extern_libs.lua +%{__sed} -i 's,wx-config,wx-gtk2-unicode-config,' build/premake/extern_libs4.lua %build export CFLAGS="%{rpmcflags}"