2 # - http://wiki.eduke32.com/wiki/Building_EDuke32_on_Linux
9 Release: 0.%{patch}.%{rel}
11 Group: X11/Applications/Games
12 Source0: http://dukeworld.duke4.net/eduke32/source_code/%{name}_src_%{snap}.zip
13 # Source0-md5: cf5eb51de024f28e8b24aae2702d459e
14 Source1: http://dukeworld.duke4.net/eduke32/source_code/%{name}_src_%{patch}.diff
15 # Source1-md5: fd9fa13146c9a31b2eb709aff93a4afa
17 URL: http://www.eduke32.com/
18 BuildRequires: OpenAL-devel
19 BuildRequires: OpenGL-GLU-devel
20 BuildRequires: SDL-devel
21 BuildRequires: SDL_mixer-devel
22 BuildRequires: gtk+2-devel
23 BuildRequires: libogg-devel
24 BuildRequires: libstdc++-devel
25 BuildRequires: libvorbis-devel
28 ExclusiveArch: %{ix86} %{x8664}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _appdir %{_datadir}/%{name}
34 EDuke32 is a port of the classic 3D Realms game Duke Nukem 3D (or
35 Duke3D for short) to Windows, Linux and OSX. EDuke32 adds many new
36 convenient features and modernizations for casual players and many
37 editing features and scripting extensions for mod authors.
39 EDuke32 screams cool so loud you'll think Bruce Dickinson got uppercut
40 in the balls by Freddy Krueger. It even comes with Mapster32, an
41 enhanced version of that good ol' Build editor you remember messing
42 around with when you were a kid.
44 EDuke32 requires a copy of Duke Nukem 3D to run.
46 %description -l pl.UTF-8
49 Aby uruchomić grę wymagane są pliki z Atomic Edition.
52 %setup -q -n %{name}_src_%{snap}
53 %{__patch} -p1 < %{SOURCE1}
56 %{__sed} -i -e 's,\r$,,' *.sample
57 mv duke3d.def.sample duke3d.def
58 mv enhance.con.sample enhance.con
66 OPTFLAGS="%{rpmcflags}"
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
71 install -p eduke32 mapster32 $RPM_BUILD_ROOT%{_bindir}
72 #cp -a *.def *.con $RPM_BUILD_ROOT%{_appdir}
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/eduke32
81 %attr(755,root,root) %{_bindir}/mapster32