1 Summary: A Web frontend for the Direct Connect Text Client
2 Summary(pl): Interfejs WWW do Direct Connect Text Client
8 Group: Applications/Databases/Interfaces
9 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}%{_rc}.tar.gz
10 Patch0: %{name}-config.patch
11 URL: http://phpdc.sourceforge.net/
13 Requires: php >= 4.3.0
14 Requires: php-gd >= 4.3.0
15 Requires: php-sockets >= 4.3.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _phpdir /home/services/httpd/html/phpdc
23 PHPDC Web is a server-side Web frontend for the Direct Connect Text
27 PHPDC Web to dzia³aj±cy po stronie serwera frontend WWW do tekstowego
28 klienta Direct Connect (dctc - Direct Connect Text Client).
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_phpdir}/{layout,private,styles,Downloads}
38 install *.php $RPM_BUILD_ROOT%{_phpdir}
39 install *.{html,png,ini} $RPM_BUILD_ROOT%{_phpdir}
40 install layout/* $RPM_BUILD_ROOT%{_phpdir}/layout
41 install private/* $RPM_BUILD_ROOT%{_phpdir}/private
42 install styles/* $RPM_BUILD_ROOT%{_phpdir}/styles
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %dir %{_phpdir}/layout
51 %dir %{_phpdir}/private
52 %dir %{_phpdir}/styles
53 %attr(664,http,http) %dir %{_phpdir}/Downloads
58 %{_phpdir}/private/*.php
60 %attr(664,root,http) %config(noreplace) %verify(not md5 size mtime) %{_phpdir}/private/phpdc.ini