]> git.pld-linux.org Git - packages/php-pear-Games_Chess.git/blob - php-pear-Games_Chess.spec
7c66b186a5d19bb44992595298903b40660f9f12
[packages/php-pear-Games_Chess.git] / php-pear-Games_Chess.spec
1 %define         _status         stable
2 %define         _pearname       Games_Chess
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{_pearname} - construct and validate a logical chess game, does not display
5 Summary(pl.UTF-8):      %{_pearname} - konstruowanie i sprawdzanie poprawności logicznej gry w szachy
6 Name:           php-pear-%{_pearname}
7 Version:        1.0.1
8 Release:        4
9 Epoch:          0
10 License:        PHP 3.0
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  f531ee3c5600a1713f41b3a4c2b6b09f
14 URL:            http://pear.php.net/package/Games_Chess/
15 BuildRequires:  php-pear-PEAR
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.300
18 Requires:       php(core) >= 4.2.0
19 Requires:       php-pear
20 Obsoletes:      php-pear-Games_Chess-tests
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 # included in tests
25 %define         _noautoreq pear(HTML_TestListener.php) pear(TestUnit.php)
26
27 %description
28 The logic of handling a chessboard and parsing standard FEN
29 (Farnsworth-Edwards Notation) for describing a position as well as SAN
30 (Standard Algebraic Notation) for describing individual moves is
31 handled. This class can be used as a backend driver for playing chess,
32 or for validating and/or creating PGN files using the File_ChessPGN
33 package.
34
35 Although this package is alpha, it is fully unit-tested. The code
36 works, but the API is fluid, and may change dramatically as it is put
37 into use and better ways are found to use it. When the API stabilizes,
38 the stability will increase.
39
40 In PEAR status of this package is: %{_status}.
41
42 %description -l pl.UTF-8
43 Ten moduł obsługuje logikę obsługi szachownicy i analizy standardu
44 notacji FEN (Farnsworth-Edwards Notation) do opisu pozycji, a także
45 notacji SAN (Standard Algebraic Notation) do opisu poszczególnych
46 ruchów. Klasa może być używana jako backend do gry w szachy lub do
47 sprawdzania poprawności albo tworzenia plików PGN przy użyciu pakietu
48 File_ChessPGN.
49
50 Mimo że ten pakiet jest w stanie alpha, jest w pełni przetestowany.
51 Kod działa, ale API jest nie ustabilizowane i może się zmienić
52 drastycznie, jeśli znajdą się ku temu powody. Kiedy API się
53 ustabilizuje, zwiększy się stabilność całej klasy.
54
55 Ta klasa ma w PEAR status: %{_status}.
56
57 %prep
58 %pear_package_setup
59
60 rm -f ./%{php_pear_dir}/data/Games_Chess/LICENSE # PHP 3.0
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}
65 %pear_package_install
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc install.log
73 %doc docs/%{_pearname}/examples
74 %{php_pear_dir}/.registry/*.reg
75 %dir %{php_pear_dir}/Games
76 %{php_pear_dir}/Games/*.php
77 %{php_pear_dir}/Games/Chess
This page took 0.068393 seconds and 2 git commands to generate.