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 URL: http://phpdc.sourceforge.net/
12 Requires: php >= 4.3.0
13 Requires: php-gd >= 4.3.0
14 Requires: php-sockets >= 4.3.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _phpdir /home/services/httpd/html/phpdc
22 PHPDC Web is a server-side Web frontend for the Direct Connect Text
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_phpdir}/{layout,private,styles}
32 install *.php $RPM_BUILD_ROOT%{_phpdir}
33 install *.{html,png,ini} $RPM_BUILD_ROOT%{_phpdir}
34 install layout/* $RPM_BUILD_ROOT%{_phpdir}/layout
35 install private/* $RPM_BUILD_ROOT%{_phpdir}/private
36 install styles/* $RPM_BUILD_ROOT%{_phpdir}/styles
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %dir %{_phpdir}/layout
45 %dir %{_phpdir}/private
46 %dir %{_phpdir}/styles
51 %{_phpdir}/private/*.php
53 %config(noreplace) %verify(not md5 size mtime) %{_phpdir}/private/phpdc.ini