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