]> git.pld-linux.org Git - packages/acm.git/blob - acm.spec
- BR: nas-devel
[packages/acm.git] / acm.spec
1 Summary:        X based flight combat
2 Summary(de.UTF-8):      Flugkampfspiel unter X
3 Summary(fr.UTF-8):      Combat aérien sous X
4 Summary(pl.UTF-8):      Symulator lotu dla systemu X Window
5 Summary(tr.UTF-8):      X tabanlı uçuş ve savaş
6 Name:           acm
7 Version:        5.0
8 Release:        0.3
9 License:        GPL v2
10 Group:          X11/Applications/Games
11 Source0:        http://www.websimulations.com/download/%{name}-%{version}.tar.gz
12 # Source0-md5:  8d27051a3aa0d85b90f66a86f746e827
13 Patch0:         %{name}-ac_fix.patch
14 Patch1:         %{name}-sparc.patch
15 Patch2:         %{name}-general.patch
16 Patch3:         %{name}-DESTDIR.patch
17 Patch4:         %{name}-nolibs.patch
18 Patch5:         %{name}-malloc.patch
19 URL:            http://home.netcom.com/~rrainey/acm.html
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  gdbm-devel
23 BuildRequires:  nas-devel
24 BuildRequires:  xorg-lib-libXext-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 ACM is an X based flight simulator. It also have network cabailities
29 for multiplayer games.
30
31 %description -l de.UTF-8
32 ACM ist ein Flugsimulator auf X-Basis, der netzwerkfähig ist und die
33 Teilnahme mehrerer Spieler gestattet.
34
35 %description -l fr.UTF-8
36 ACM est un simulateur de vol sous X. Il permet de jouer en réseau à
37 plusieurs joueurs.
38
39 %description -l pl.UTF-8
40 ACM to symulator lotu dla systemu X Window. Ma możliwość gry przez
41 sieć dla wielu graczy.
42
43 %description -l tr.UTF-8
44 ACM, X tabanlı bir uçuş simulatörüdür. Çok oyunculu oynayabilmek için
45 gerekli ağ yeteneklerine sahiptir.
46
47 %prep
48 %setup -q
49 chmod -R +rwX *
50 %patch0 -p0
51 %patch1 -p1
52 %patch2 -p1
53 %patch3 -p1
54 %patch4 -p1
55 %patch5 -p1
56
57 %build
58 %{__aclocal}
59 %{__autoconf}
60 for dir in dis dis/disgen gedit; do
61         olddir=$(pwd)
62         cd $dir
63         %{__autoconf}
64         cd $olddir
65 done
66 %configure
67
68 # -j1 because of no rules to make dis/disp.h early enough
69 %{__make} -j1
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/acm
83 %{_prefix}/lib/games/acm
84 %{_mandir}/man1/acm.1*
This page took 0.059322 seconds and 3 git commands to generate.