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