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
|
Summary: A unique multiplayer wargame.
Name: liquidwar
Version: 5.4.5
Release: 1
Copyright: GPL
Group: Amusements/Games
Source: http://prdownloads.sourceforge.net/liquidwar/liquidwar-5.4.5.tar.gz
URL: http://www.ufoot.org/liquidwar
Vendor: Christian Mauduit <ufoot@ufoot.org>
Packager: Christian Mauduit <ufoot@ufoot.org>
BuildRoot: /tmp/%{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.
# 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=$RPM_BUILD_ROOT && make uninstall && make install
# Cleaning
%clean
rm -rf $RPM_BUILD_ROOT
# 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 --infodir=%{_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 --infodir=%{_prefix}/info --remove liquidwar; fi; fi; fi
%files
%defattr(-,root,root)
%{_prefix}/games/liquidwar
%{_prefix}/games/liquidwar-server
%{_prefix}/bin/liquidwar
%{_prefix}/bin/liquidwar-server
%{_prefix}/share/games/liquidwar/
%{_prefix}/share/doc/liquidwar/
%{_prefix}/share/man/man6/liquidwar.6.gz
%{_prefix}/share/man/man6/liquidwar-server.6.gz
%{_prefix}/share/info/liquidwar.info.gz
%{_prefix}/share/pixmaps/liquidwar.xpm
%changelog
* 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
|