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