]>
Commit | Line | Data |
---|---|---|
89bd48d2 PG |
1 | # TODO: |
2 | # - make some nice desktop | |
3 | # - add some icon | |
fc2abb3c | 4 | Summary: An ncurses frontend to GNU Chess |
eec52798 | 5 | Summary(pl.UTF-8): Frontend ncurses dla GNU Chess |
fc2abb3c | 6 | Name: cboard |
892eb42b | 7 | Version: 0.5 |
8 | Release: 1 | |
9 | License: GPL v2+ | |
fc2abb3c | 10 | Group: Applications/Games |
eb8a6202 | 11 | Source0: http://dl.sourceforge.net/bjk/%{name}-%{version}.tar.gz |
892eb42b | 12 | # Source0-md5: 0d4dce04bf3a8fe163ced5a0a32010d4 |
137003bc | 13 | URL: http://bjk.sourceforge.net/cboard/ |
10e14a22 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
cee40986 | 16 | BuildRequires: ncurses-ext-devel |
fc2abb3c PG |
17 | Requires: gnuchess |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | CBoard is a console frontend to GNU Chess, using the ncurses library | |
22 | for the interface. It can edit PGN tags, annotate moves with NAG, and | |
23 | more. | |
24 | ||
653aa47d JR |
25 | %description -l pl.UTF-8 |
26 | CBoard jest frontendem dla GNU Chess, używającym interfejsu biblioteki | |
27 | ncurses. Potrafi modyfikować znaczniki PGN, komentować ruchy za pomocą | |
59d9175a | 28 | NAG i wiele innych. |
fc2abb3c PG |
29 | |
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
10e14a22 | 34 | %{__aclocal} |
35 | %{__autoconf} | |
36 | %{__autoheader} | |
37 | %{__automake} | |
cee40986 | 38 | %configure \ |
13a00606 | 39 | CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
40 | %{__make} | |
fc2abb3c PG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
892eb42b | 53 | %doc ChangeLog KnownBugs NEWS README THANKS TODO doc/config.example |
fc2abb3c PG |
54 | %attr(755,root,root) %{_bindir}/* |
55 | %dir %{_datadir}/%{name} | |
56 | %{_datadir}/%{name}/*.data | |
fc2abb3c | 57 | %{_mandir}/man6/*.6* |