]> git.pld-linux.org Git - packages/gnuchess.git/blob - gnuchess.spec
- standarized line with BuildRoot field:
[packages/gnuchess.git] / gnuchess.spec
1 Summary:     Computer chess program
2 Summary(de): Computerschachprogramm
3 Summary(fr): Jeu d'échecs.
4 Summary(pl): Gra w szachy
5 Summary(tr): Bilgisayar satranç oyunu
6 Name:        gnuchess
7 Version:     4.0.pl77
8 Release:     6
9 Copyright:   GPL
10 Group:       Games
11 Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
12 Patch0:      gnuchess-fsstnd.patch
13 Patch1:      gnuchess-ncurses.patch
14 Icon:        xchess.gif
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 This is the famous GNU chess program.  It is text based, but can be used in
19 conjunction with xboard to play X based chess.
20
21 %description -l de
22 Das berühmte GNU-Schachprogramm. Es ist textorientiert, kann aber mit
23 'xboard' verwendet werden, um X-orientiertes Schach zu spielen.
24
25 %description -l fr
26 Le fameux programme de jeu d'échecs de GNU. Il est en mode texte mais peut
27 être utilisé avec xboard pour y jouer sous X.
28
29 %description -l pl
30 Oto s³awny GNU program szachowy. Jest w trybie tekstowym, ale w po³±czeniu z
31 xboard mo¿e mieæ interfejs w X Window.
32
33 %description -l tr
34 Bu ünlü GNU satranç programýdýr. Metin ekranda çalýþýr ama xboard programý
35 ile birlikte kullanýlarak X altýnda da oynanabilir.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41
42 %build
43 cd src
44 rm -f config.status config.cache
45 %configure
46 make CFLAGS="$RPM_OPT_FLAGS"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/usr/{lib/games/gnuchess,bin,man/man6}
51
52 cd src
53 make prefix=$RPM_BUILD_ROOT/usr install
54 strip $RPM_BUILD_ROOT%{_bindir}/*
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %{_libdir}/games/gnuchess
63 %{_mandir}/man6/*
64
65 %changelog
66 * Sun Sep 27 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
67   [4.0.pl77-6]
68 - use %%{name} and %%{version} macros,
69 - added %setup -q parameter,
70 - `mkdir -p' replaced with more standard `install -d',
71 - simplified %files list and added full %attr description in %files,
72 - added pl translation,
73 - simplified install scripts.
74
75 * Fri May 01 1998 Prospector System <bugs@redhat.com>
76 - translations modified for de, fr, tr
77
78 * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
79 - built against new ncurses
80
81 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
82 - BuildRoot'ed
83
84 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
85 - built against glibc
This page took 0.078557 seconds and 3 git commands to generate.