File: liquidwar.spec.in

package info (click to toggle)
liquidwar 5.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 26,240 kB
  • sloc: ansic: 26,238; xml: 4,011; sh: 3,825; makefile: 1,346; asm: 1,344; python: 537; php: 487; perl: 29; sql: 22
file content (124 lines) | stat: -rw-r--r-- 4,388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Summary: A unique multiplayer wargame.
Summary(fr): Un "wargame" multijoueur in�dit.
Summary(de): Ein einzigartiges Kriegspiel f�r mehrere Spieler.
Name: liquidwar
Version: @VERSION@
Release: @VERSION_REL@
License: GPL
Group: Amusements/Games
Source: http://freesoftware.fsf.org/download/liquidwar/liquidwar-@VERSION@.tar.gz
URL: https://ufoot.org/liquidwar/v5
Vendor: Christian Mauduit <ufoot@ufoot.org>
Packager: Christian Mauduit <ufoot@ufoot.org>
BuildRoot: %{_tmppath}/%{name}-buildroot

%description
Liquid War is a unique multiplayer wargame. Its rules are
truely original and have been invented by Thomas Colcombet.
You control an army of liquid and have to try and eat your
opponents. A single player mode is available, but the game is
definitely designed to be multiplayer, and has network support.

%description -l fr
Liquid War est un "wargame" multijoueur in�dit. Ses r�gles sont vraiment
originales et ont �t� invent�es par Thomas Colcombet. L'id�e est de
contr�ler une arm�e de liquide et d'essayer de "manger" ses adversaires.
Il est possible de jouer seul, mais le jeux est con�u pour se jouer �
plusieurs, un mode r�seau �tant disponible.

%description -l de
Liquid War ist ein einzigartiges Kriegsspiel f�r mehrere Spieler. Die
Regeln sind wahrhaft neuartig und wurden von Thomas Colcombet entwickelt.
Man steuert eine fl�ssige Armee und muss versuchen die Gegner aufzufressen.
Es gibt einen Einzelspielermodus, aber das Spiel ist eindeutig auf mehrere
Spieler ausgelegt und unterst�tzt das Spielen �ber Netzwerk.

%description -l dk
Liquid war er et unikt multiplayer krigsspil. Reglerne er
uhyre originale og er opfundet af Thomas Colcombet. Du styrer
en h�r af v�ske og skal pr�ve at �de dine modstandere.
Liquid War kan spilles alene, men er helt afgjort designet
til multiplayer, og har netv�rks-support.

# Preparation of the package
%prep
%setup
./configure --prefix=%{_prefix} --target=%{_target}

# Building the package
%build
make 

# Installing the package
# The "make uninstall" is important since it prevents rpm from
# putting old unused files in the archive.
%install
export DESTDIR=%{buildroot} && make uninstall && make install 

# Cleaning
%clean
rm -rf %{buildroot}

# Pre-install script
%pre

# Post-install script
# It basically adds the info page to the Top info page.
%post
if which install-info; then if test -d %{_prefix}/info; then if test -f %{_prefix}/info/dir; then install-info --info-dir=%{_prefix}/info %{_prefix}/share/info/liquidwar.info.gz; fi; fi; fi

# Pre-uninstall script
%preun

# Post-uninstall script
# It basically removes the info page to the Top info page.
%postun
if which install-info; then if test -d %{_prefix}/info; then if test -f %{_prefix}/info/dir; then install-info --info-dir=%{_prefix}/info --remove liquidwar; fi; fi; fi

%files
%defattr(-,root,root)
%{_prefix}/games/liquidwar
%{_prefix}/games/liquidwar-server
%{_prefix}/games/liquidwar-mapgen
%{_prefix}/bin/liquidwar
%{_prefix}/bin/liquidwar-server
%{_prefix}/bin/liquidwar-mapgen
%{_prefix}/share/games/liquidwar/
%{_prefix}/share/doc/liquidwar/
%{_prefix}/share/man/man6/liquidwar.6*
%{_prefix}/share/man/man6/liquidwar-server.6*
%{_prefix}/share/man/man6/liquidwar-mapgen.6*
%{_prefix}/share/info/liquidwar.info*
%{_prefix}/share/pixmaps/liquidwar.xpm
%{_prefix}/share/applications/liquidwar.desktop

%changelog

* Thu Sep 27 2007 Christian Mauduit <ufoot@ufoot.org>
- Added mapgen files, fixed deprecated RPM syntax.

* Fri Dec 13 2002 Christian Mauduit <ufoot@ufoot.org>
- Added French and German informations.

* Fri Jul 12 2002 Christian Mauduit <ufoot@ufoot.org>
- Used wildcards for man pages names, to solve a bzip2 vs gzip issue.

* Wed Jul 10 2002 Christian Mauduit <ufoot@ufoot.org>
- Managed to make GPG signing to work, so RPMs should be signed now.

* Tue Mar 12 2002 Christian Mauduit <ufoot@ufoot.org>
- Fixed some buildroot bugs
- Replaced install-info --infodir=... by --info-dir=...

* Mon Mar 11 2002 Christian Mauduit <ufoot@ufoot.org> 
- Recompiled with Allegro's rpm (fixes the error:
  "/usr/lib/liballeg.so.4.0: undefined symbol: _poly_scanline_gcol8")
- Fixed the post-install script

* Sat Feb 23 2002 Christian Mauduit <ufoot@ufoot.org> 
- Added proper "--target" support.
- Added info documentation with install and uninstall scripts

* Thu Jan 28 2002 Christian Mauduit <ufoot@ufoot.org> 
- My first rpm build of Liquid War