]> git.pld-linux.org Git - packages/phpdc.git/blame - phpdc.spec
- initial configuration for PLD
[packages/phpdc.git] / phpdc.spec
CommitLineData
295d819e
PG
1Summary: A Web frontend for the Direct Connect Text Client
2Summary(pl): Interfejs WWW do Direct Connect Text Client
3Name: phpdc
4Version: 1.0
5%define _rc rc1
6Release: 0.%{_rc}.1
7License: GPL v2
8Group: Applications/Databases/Interfaces
9Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}%{_rc}.tar.gz
10URL: http://phpdc.sourceforge.net/
11Requires: dctc
12Requires: php >= 4.3.0
13Requires: php-gd >= 4.3.0
5fab89b0 14Requires: php-sockets >= 4.3.0
295d819e
PG
15Requires: webserver
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _phpdir /home/services/httpd/html/phpdc
20
21%description
22PHPDC Web is a server-side Web frontend for the Direct Connect Text
23Client (dctc).
24
25%prep
26%setup -q -n %{name}
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT%{_phpdir}/{layout,private,styles}
31
32install *.php $RPM_BUILD_ROOT%{_phpdir}
33install *.{html,png,ini} $RPM_BUILD_ROOT%{_phpdir}
34install layout/* $RPM_BUILD_ROOT%{_phpdir}/layout
35install private/* $RPM_BUILD_ROOT%{_phpdir}/private
36install styles/* $RPM_BUILD_ROOT%{_phpdir}/styles
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%dir %{_phpdir}
44%dir %{_phpdir}/layout
45%dir %{_phpdir}/private
46%dir %{_phpdir}/styles
47%{_phpdir}/*.html
48%{_phpdir}/*.php
49%{_phpdir}/*.png
50%{_phpdir}/layout/*
51%{_phpdir}/private/*.php
52%{_phpdir}/styles/*
53%config(noreplace) %verify(not md5 size mtime) %{_phpdir}/private/phpdc.ini
This page took 0.076677 seconds and 4 git commands to generate.