]> git.pld-linux.org Git - packages/d2x-xl.git/blame - d2x-xl.spec
- s/openmotif/motif/
[packages/d2x-xl.git] / d2x-xl.spec
CommitLineData
59209200 1Summary: D2X-XL - port of Descent 2 to OpenGL
f890cf9f 2Summary(pl.UTF-8): D2X-XL - port Descenta 2 do OpenGL-a
76ee90d6 3Name: d2x-xl
19732cb3 4Version: 1.15.89
76ee90d6 5Release: 0.1
c8764fb7 6License: GPL v2+
76ee90d6 7Group: X11/Applications/Games
506b60bd 8Source0: http://www.descent2.de/downloads/%{name}-src-%{version}.7z
19732cb3 9# Source0-md5: 41355662b87111a228a34a1620d7b229
10Patch0: %{name}-byte.patch
76ee90d6 11URL: http://www.descent2.de/
344ad797 12BuildRequires: OpenGL-GLU-devel
13BuildRequires: OpenGL-devel
7e88a01e 14BuildRequires: SDL-devel >= 1.2.8
344ad797 15BuildRequires: SDL_image-devel
76ee90d6 16BuildRequires: SDL_mixer-devel
7b87e899 17#BuildRequires: autoconf
59209200 18BuildRequires: automake
c38a64ee 19BuildRequires: curl-devel
08fd3a38 20BuildRequires: glew-devel
67f87f02 21BuildRequires: motif-devel
506b60bd 22BuildRequires: p7zip
dba13937 23BuildRequires: sed >= 4.0
76ee90d6
TP
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
59209200 27D2X-XL - port of Descent 2 to OpenGL.
76ee90d6 28
e3c07737 29%description -l pl.UTF-8
59209200 30D2X-XL - port Descenta 2 do OpenGL-a.
76ee90d6
TP
31
32%prep
506b60bd 33%setup -q -c -T -n %{name}
347z x %{SOURCE0}
357z x -y d2x-xl-makefiles.7z
76ee90d6 36
19732cb3 37%patch0 -p1
7b87e899 38%{__sed} -i 's/-O3//' configure
780ce806 39%{__sed} -i '/dialheap.h/d' main/gamedata.cpp
dba13937 40
76ee90d6 41%build
76ee90d6 42%{__aclocal}
7b87e899 43#%%{__autoconf}
44#%%{__autoheader}
76ee90d6 45%{__automake}
ba96b28c 46chmod u+x configure
6cadfa1e 47%configure \
7b87e899 48 LIBS="-lstdc++" \
6cadfa1e 49 --enable-release=yes
76ee90d6
TP
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%attr(755,root,root) %{_bindir}/*
This page took 0.071935 seconds and 4 git commands to generate.