gnuchess.spec

Marcin 'Qrczak' Kowalczyk qrczak w knm.org.pl
Nie, 27 Wrz 1998, 15:00:58 CEST


Szachy, chess, |_|_|AXMATbI, échecs, sxako, Schach itp.

-- 
 __("<   Marcin Kowalczyk * qrczak w knm.org.pl http://qrczak.home.ml.org/
 \__/       GCS/M d- s+:-- a21 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-
-------------- następna część ---------
Summary:	Computer chess program
Summary(de):	Computerschachprogramm
Summary(fr):	Jeu d'échecs.
Summary(pl):	Gra w szachy
Summary(tr):	Bilgisayar satranç oyunu
Name:		gnuchess
Version:	4.0.pl77
Release:	6
Copyright:	GPL
Group:		Games
Icon:		xchess.gif
Source:		ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
Patch0:		gnuchess-4.0.pl75-fsstnd.patch
Patch1:		gnuchess-4.0.pl77-ncurses.patch
Buildroot:	/var/tmp/%{name}-%{version}-root

%description
This is the famous GNU chess program.  It is text based, but 
can be used in conjunction with xboard to play X based chess.

%description -l de
Das berühmte GNU-Schachprogramm. Es ist textorientiert, kann
aber mit 'xboard' verwendet werden, um X-orientiertes Schach zu spielen.

%description -l fr
Le fameux programme de jeu d'échecs de GNU. Il est en mode texte
mais peut ętre utilisé avec xboard pour y jouer sous X.

%description -l pl
Oto sławny GNU program szachowy. Jest w trybie tekstowym, ale
w połączeniu z xboard może mieć interfejs w X Window.

%description -l tr
Bu ünlü GNU satranç programýdýr. Metin ekranda çalýţýr ama xboard programý
ile birlikte kullanýlarak X altýnda da oynanabilir.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
cd src
rm -f config.status config.cache
./configure --prefix=/usr
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/{lib/games/gnuchess,bin,man/man6}
cd src
make prefix=$RPM_BUILD_ROOT/usr install
strip $RPM_BUILD_ROOT/usr/bin/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644, root, root, 755)
%attr(755, root, root) /usr/bin/*
/usr/lib/games/gnuchess
%attr(644, root, man) /usr/man/man6/*

%changelog
* Sun Sep 27 1998 Marcin 'Qrczak' Kowalczyk <qrczak w knm.org.pl>

- use %{name} and %{version} macros
- added %setup -q parameter
- `mkdir -p' replaced with more standard `install -d'
- simplified %files list and added full %attr description in %files
- added pl translation
- simplified install scripts

* Fri May 01 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Wed Apr 15 1998 Erik Troan <ewt w redhat.com>

- built against new ncurses

* Fri Oct 17 1997 Donnie Barnes <djb w redhat.com>

- BuildRoot'ed

* Thu Jul 10 1997 Erik Troan <ewt w redhat.com>

- built against glibc


Więcej informacji o liście dyskusyjnej pld-devel-pl