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: SDL-devel
20 BuildRequires: SDL_mixer-devel
21 BuildRequires: gtk+2-devel
22 BuildRequires: libogg-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: libvorbis-devel
26 ExclusiveArch: %{ix86} %{x8664}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _appdir %{_datadir}/%{name}
32 EDuke32 is a port of the classic 3D Realms game Duke Nukem 3D (or
33 Duke3D for short) to Windows, Linux and OSX. EDuke32 adds many new
34 convenient features and modernizations for casual players and many
35 editing features and scripting extensions for mod authors.
37 EDuke32 screams cool so loud you'll think Bruce Dickinson got uppercut
38 in the balls by Freddy Krueger. It even comes with Mapster32, an
39 enhanced version of that good ol' Build editor you remember messing
40 around with when you were a kid.
42 EDuke32 requires a copy of Duke Nukem 3D to run.
44 %description -l pl.UTF-8
47 Aby uruchomić grę wymagane są pliki z Atomic Edition.
50 %setup -q -n %{name}_src_%{snap}
51 %{__patch} -p1 < %{SOURCE1}
54 %{__sed} -i -e 's,\r$,,' *.sample
55 mv duke3d.def.sample duke3d.def
56 mv enhance.con.sample enhance.con
64 OPTFLAGS="%{rpmcflags}"
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
69 install -p eduke32 mapster32 $RPM_BUILD_ROOT%{_bindir}
70 #cp -a *.def *.con $RPM_BUILD_ROOT%{_appdir}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/eduke32
79 %attr(755,root,root) %{_bindir}/mapster32