]> git.pld-linux.org Git - packages/eduke32.git/blame - eduke32.spec
- new; builds/works x86_64
[packages/eduke32.git] / eduke32.spec
CommitLineData
71d0f225
ER
1# TODO
2# - http://wiki.eduke32.com/wiki/Building_EDuke32_on_Linux
3%define snap 20090131
4%define patch 20090313
5%define rel 0.2
6Summary: Duke Nukem 3D
7Name: eduke32
8Version: 1.5.0
9Release: 0.%{patch}.%{rel}
10License: GPL v2
11Group: X11/Applications/Games
12Source0: http://dukeworld.duke4.net/eduke32/source_code/%{name}_src_%{snap}.zip
13# Source0-md5: cf5eb51de024f28e8b24aae2702d459e
14Source1: http://dukeworld.duke4.net/eduke32/source_code/%{name}_src_%{patch}.diff
15# Source1-md5: fd9fa13146c9a31b2eb709aff93a4afa
16Patch0: make.patch
17URL: http://www.eduke32.com/
18BuildRequires: OpenAL-devel
19BuildRequires: SDL-devel
20BuildRequires: SDL_mixer-devel
21BuildRequires: gtk+2-devel
22BuildRequires: libogg-devel
23BuildRequires: libstdc++-devel
24BuildRequires: libvorbis-devel
25BuildRequires: nasm
26ExclusiveArch: %{ix86} %{x8664}
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%define _appdir %{_datadir}/%{name}
30
31%description
32EDuke32 is a port of the classic 3D Realms game Duke Nukem 3D (or
33Duke3D for short) to Windows, Linux and OSX. EDuke32 adds many new
34convenient features and modernizations for casual players and many
35editing features and scripting extensions for mod authors.
36
37EDuke32 screams cool so loud you'll think Bruce Dickinson got uppercut
38in the balls by Freddy Krueger. It even comes with Mapster32, an
39enhanced version of that good ol' Build editor you remember messing
40around with when you were a kid.
41
42EDuke32 requires a copy of Duke Nukem 3D to run.
43
44%description -l pl.UTF-8
45Duke Nukem 3D.
46
47Aby uruchomić grę wymagane są pliki z Atomic Edition.
48
49%prep
50%setup -q -n %{name}_src_%{snap}
51%{__patch} -p1 < %{SOURCE1}
52%patch0 -p1
53
54%{__sed} -i -e 's,\r$,,' *.sample
55mv duke3d.def.sample duke3d.def
56mv enhance.con.sample enhance.con
57
58%build
59%{__make} \
60 CC="%{__cc}" \
61 CXX="%{__cxx}" \
62 STRIP=echo \
63 PRETTY_OUTPUT=0 \
64 OPTFLAGS="%{rpmcflags}"
65
66%install
67rm -rf $RPM_BUILD_ROOT
68install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
69install -p eduke32 mapster32 $RPM_BUILD_ROOT%{_bindir}
70#cp -a *.def *.con $RPM_BUILD_ROOT%{_appdir}
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc buildlic.txt
78%attr(755,root,root) %{_bindir}/eduke32
79%attr(755,root,root) %{_bindir}/mapster32
80%{_appdir}
This page took 0.065823 seconds and 4 git commands to generate.