]> git.pld-linux.org Git - packages/acm.git/blob - acm.spec
- Added patches from Conectiva - now builds.
[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(tr):    X tabanlý uçuþ ve savaþ.
8 Summary(pl):    Symulator lotu dla X Windows.
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 Patch0:         %{name}-ac_fix.patch
16 Patch1:         %{name}-sparc.patch
17 Patch2:         %{name}-general.patch
18 URL:            http://home.netcom.com/~rrainey/acm.html
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 ACM is an X based flight simulator. It also have network cabailities
23 for multiplayer games.
24
25 %description -l de
26 ACM ist ein Flugsimulator auf X-Basis, der netzwerkfähig ist und die
27 Teilnahme mehrerer Spieler gestattet.
28
29 %description -l fr
30 ACM est un simulateur de vol sous X. Il permet de jouer en réseau à
31 plusieurs joueurs.
32
33 %description -l tr
34 ACM, X tabanlý bir uçuþ simulatörüdür. Çok oyunculu oynayabilmek için
35 gerekli að yeteneklerine sahiptir.
36
37 %prep
38 %setup -q
39 chmod -R +rwX *
40 %patch0
41 %patch1 -p1
42 %patch2 -p1
43
44 %build
45 rm -f missing
46 %{__aclocal}
47 %{__autoconf}
48 #%{__autoheader}
49 for dir in dis dis/disgen gedit; do
50         olddir=$(pwd)
51         cd $dir
52         %{__autoconf}
53         cd $olddir
54 done
55 %configure --prefix=$RPM_BUILD_ROOT%{_prefix}
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,lib/games,man/man1}
61
62 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/acm
70 %attr(755,root,root) %{_bindir}/acms
71 %attr(755,root,root) %{_bindir}/kill-acms
72 %{_prefix}/man/man1/acm.1
73 %{_libdir}/games/acm
This page took 0.122526 seconds and 3 git commands to generate.