]> git.pld-linux.org Git - packages/acm.git/blobdiff - acm.spec
- tabs in preamble
[packages/acm.git] / acm.spec
index b4541a98830623e439b88e1d52e2024e78b31475..0c02f78d8541c8cb9119a58f38714527925c9975 100644 (file)
--- a/acm.spec
+++ b/acm.spec
@@ -1,21 +1,22 @@
-# ToDo:
-# - make it install in a correct directory....
-#
 Summary:       X based flight combat
-Summary(de):   Flugkampfspiel unter X
-Summary(fr):   Combat aérien sous X
-Summary(pl):   Symulator lotu dla systemu X Window
-Summary(tr):   X tabanlý uçuþ ve savaþ
+Summary(de.UTF-8):     Flugkampfspiel unter X
+Summary(fr.UTF-8):     Combat aérien sous X
+Summary(pl.UTF-8):     Symulator lotu dla systemu X Window
+Summary(tr.UTF-8):     X tabanlı uçuş ve savaş
 Name:          acm
 Version:       5.0
 Release:       0.2
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://www.websimulations.com/download/%{name}-%{version}.tar.gz
+# Source0-md5: 8d27051a3aa0d85b90f66a86f746e827
 Patch0:                %{name}-ac_fix.patch
 Patch1:                %{name}-sparc.patch
 Patch2:                %{name}-general.patch
+Patch3:                %{name}-DESTDIR.patch
+Patch4:                %{name}-nolibs.patch
 URL:           http://home.netcom.com/~rrainey/acm.html
+BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,49 +25,50 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 ACM is an X based flight simulator. It also have network cabailities
 for multiplayer games.
 
-%description -l de
-ACM ist ein Flugsimulator auf X-Basis, der netzwerkfähig ist und die
+%description -l de.UTF-8
+ACM ist ein Flugsimulator auf X-Basis, der netzwerkfähig ist und die
 Teilnahme mehrerer Spieler gestattet.
 
-%description -l fr
-ACM est un simulateur de vol sous X. Il permet de jouer en réseau à
+%description -l fr.UTF-8
+ACM est un simulateur de vol sous X. Il permet de jouer en réseau à
 plusieurs joueurs.
 
-%description -l pl
-ACM to symulator lotu dla systemu X Window. Ma mo¿liwo¶æ gry przez
-sieæ dla wielu graczy.
+%description -l pl.UTF-8
+ACM to symulator lotu dla systemu X Window. Ma możliwość gry przez
+sieć dla wielu graczy.
 
-%description -l tr
-ACM, X tabanlý bir uçuþ simulatörüdür. Çok oyunculu oynayabilmek için
-gerekli að yeteneklerine sahiptir.
+%description -l tr.UTF-8
+ACM, X tabanlı bir uçuş simulatörüdür. Çok oyunculu oynayabilmek için
+gerekli ağ yeteneklerine sahiptir.
 
 %prep
 %setup -q
 chmod -R +rwX *
-%patch0
+%patch0 -p0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 rm -f missing
 %{__aclocal}
 %{__autoconf}
-#%{__autoheader}
 for dir in dis dis/disgen gedit; do
        olddir=$(pwd)
        cd $dir
        %{__autoconf}
        cd $olddir
 done
-%configure --prefix=$RPM_BUILD_ROOT%{_prefix}
+%configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/games,%{_mandir}/man1}
 
 %{__make} install \
-       prefix=$RPM_BUILD_ROOT%{_prefix}
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -74,7 +76,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/acm
-%attr(755,root,root) %{_bindir}/acms
-%attr(755,root,root) %{_bindir}/kill-acms
 %{_libdir}/games/acm
 %{_mandir}/man1/acm.1*
This page took 0.078531 seconds and 4 git commands to generate.