]> git.pld-linux.org Git - packages/phpdc.git/blob - phpdc.spec
- pl description
[packages/phpdc.git] / phpdc.spec
1 Summary:        A Web frontend for the Direct Connect Text Client
2 Summary(pl):    Interfejs WWW do Direct Connect Text Client
3 Name:           phpdc
4 Version:        1.0
5 %define _rc     rc1
6 Release:        0.%{_rc}.1
7 License:        GPL v2
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/
12 Requires:       dctc
13 Requires:       php >= 4.3.0
14 Requires:       php-gd >= 4.3.0
15 Requires:       php-sockets >= 4.3.0
16 Requires:       webserver
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _phpdir /home/services/httpd/html/phpdc
21
22 %description
23 PHPDC Web is a server-side Web frontend for the Direct Connect Text
24 Client (dctc).
25
26 %description -l pl
27 PHPDC Web to dzia³aj±cy po stronie serwera frontend WWW do tekstowego
28 klienta Direct Connect (dctc - Direct Connect Text Client).
29
30 %prep
31 %setup -q -n %{name}
32 %patch0 -p1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_phpdir}/{layout,private,styles,Downloads}
37
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
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %dir %{_phpdir}
50 %dir %{_phpdir}/layout
51 %dir %{_phpdir}/private
52 %dir %{_phpdir}/styles
53 %attr(664,http,http) %dir %{_phpdir}/Downloads
54 %{_phpdir}/*.html
55 %{_phpdir}/*.php
56 %{_phpdir}/*.png
57 %{_phpdir}/layout/*
58 %{_phpdir}/private/*.php
59 %{_phpdir}/styles/*
60 %attr(664,root,http) %config(noreplace) %verify(not md5 size mtime) %{_phpdir}/private/phpdc.ini
This page took 0.054092 seconds and 3 git commands to generate.