]> git.pld-linux.org Git - packages/bzflag.git/blob - bzflag.spec
e2b1d5724181ef10cf00472e078a8c7c599e4783
[packages/bzflag.git] / bzflag.spec
1 Summary:        multiplayer 3D tank battle game
2 Name:           bzflag
3 Version:        1.7d.9
4 Release:        3
5 Copyright:      Chris Schoeneman 1993-1999
6 Group:          X11/Games/Video
7 Source:         ftp://ftp.linuxgames.com/%{name}/src/%{name}-%{version}.src.tar.gz
8 Patch1:         bzflag-paths.patch
9 Patch2:         bzflag-opts.patch
10 URL:            http://bzflag.linuxgames.com
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _prefix         /usr/X11R6
14
15 %description
16 bzflag is a networked multiplayer 3D tank battle game, combining both fast
17 action and strategy. Free-for-all and capture-the-flag styles are
18 available.
19
20 %description -l pl
21 bzflag jest sieciow± gr± czo³gow± 3D, ³±cz±c± szybk± akcjê ze strategi±. 
22 Graæ mo¿na w wolnym stylu lub metod± "zdob±d¼ flagê".
23
24 %prep
25 %setup -qn bzflag
26 %patch1 -p1
27 %patch2 -p1
28
29 %build
30 make linux # other, arch-dependent targets differ only in optymalisation flags
31
32 COPTIMIZER="-DNDEBUG $RPM_OPT_FLAGS" \
33 CXXOPTIMIZER="-DNDEBUG $RPM_OPT_FLAGS" \
34 make
35
36 %install
37 install -d ${RPM_BUILD_ROOT}{%{_bindir},%{_datadir}/bzflag,%{_mandir}/man6}
38 install bin/* ${RPM_BUILD_ROOT}%{_bindir}
39 install man/*.6s ${RPM_BUILD_ROOT}%{_mandir}/man6
40 install data/* ${RPM_BUILD_ROOT}%{_datadir}/bzflag
41
42 gzip -9nf README BUGS RELNOTES TODO || :
43 gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man6/*
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.gz BUGS.gz RELNOTES.gz TODO.gz 
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/man6/*
53 %{_datadir}/bzflag
This page took 0.282429 seconds and 2 git commands to generate.