]> git.pld-linux.org Git - packages/WebChess.git/blob - WebChess.spec
- spec written by speedo linux pl
[packages/WebChess.git] / WebChess.spec
1 Summary:        A great persistant online chess game
2 Summary(pl):    Wspania³a internetowa gra w szachy
3 Name:           WebChess
4 Version:        0.9.0
5 Release:        1
6 License:        GNU General Public License (GPL)
7 Group:          Webaplications
8 ######          Unknown group!
9 Source0:        http://voxel.dl.sourceforge.net/sourceforge/webchess/%{name}_%{version}.zip
10 # Source0-md5:  e1a0dc90959a4e8475854a6e7fb4f0b9
11 Requires:       php-mysql
12 Requires:       php-pcre
13 Requires:       webserver
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _webchessdir    /home/services/httpd/html/WebChess
18
19 %description
20 A great persistant online chess game using PHP/MySQL on the backend
21 and HTML/JavaScript on the front-end, which includes move validation,
22 CHECK checking, pawn promotion and undo. It also has a login system
23 which allows multiple simultaneous games.
24
25 %description -l pl
26 Wspania³a internetowa gra w szachy, oparta na PHP/MySQL i
27 HTML/JavaScript. Posiada wiele ciekawych funkcji oraz system
28 logowania, który zapewnia gre zespo³ow±
29
30 %prep
31 %setup -q -c %{name}-%{version}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_webchessdir}
36
37 cp -af images javascript *.php *.css chess.inc    $RPM_BUILD_ROOT%{_webchessdir}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc docs/*
45 %dir %{_webchessdir}
46 %{_webchessdir}/images/
47 %{_webchessdir}/javascript/
48 %{_webchessdir}/chess.inc
49 %{_webchessdir}/*.php
50 %{_webchessdir}/*.css
This page took 0.090716 seconds and 4 git commands to generate.