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
|
# spec file for package teg
# (c)2000 David Haller
%define ver 0.4.21
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define prefix /opt/gnome
%define sysdocs /usr/doc/packages
Name: teg
Summary: Clone of a Risk clone
Version: %ver
Release: %rel
Distribution: SuSE Linux 6.2 (i686)
Copyright: GPL
Group: Amusements/Games
URL: http://teg.sourceforge.net/
Packager: David Haller <david@dhaller.de>
Requires: glibc gnlibs esound audiofil gtk imlib glib xshared libz
Provides: teg
#Autoreqprov: On
Docdir: %{sysdocs}
BuildRoot: /var/tmp/rpm/teg-%{PACKAGE_VERSION}-root
Source: teg-%{PACKAGE_VERSION}.tar.gz
%description
Tenes Emapandas Graciela (TEG) is a clone of 'Plan Tctico y Estratgico
de la Guerra' (Tactical and Strategic plan of the War), which is a
pseudo-clone of Risk, a turn-based strategy game. Some rules are different.
Authors:
--------
Idea to do the game: Sebastin Cativa Tolosa (scativa@hotmail.com)
Design and implementation by: Ricardo Quesada (riq@core-sdi.com)
%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --with-included-gettext
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
strip $RPM_BUILD_ROOT%{prefix}/bin/*
%clean
#rm -rf $RPM_BUILD_DIR/teg-%{ver}
#rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{prefix}/bin/tegclient
%{prefix}/bin/tegserver
%{prefix}/share/gnome/help/teg/C/*
%{prefix}/share/locale
%{prefix}/share/pixmaps
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
%changelog
|