]> git.pld-linux.org Git - packages/phpdc.git/commitdiff
- initial release
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 24 Mar 2003 10:31:28 +0000 (10:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phpdc.spec -> 1.1

phpdc.spec [new file with mode: 0644]

diff --git a/phpdc.spec b/phpdc.spec
new file mode 100644 (file)
index 0000000..14c7d19
--- /dev/null
@@ -0,0 +1,53 @@
+Summary:       A Web frontend for the Direct Connect Text Client
+Summary(pl):   Interfejs WWW do Direct Connect Text Client
+Name:          phpdc
+Version:       1.0
+%define        _rc     rc1
+Release:       0.%{_rc}.1
+License:       GPL v2
+Group:         Applications/Databases/Interfaces
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}%{_rc}.tar.gz
+URL:           http://phpdc.sourceforge.net/
+Requires:      dctc
+Requires:      php >= 4.3.0
+Requires:      php-gd >= 4.3.0
+Requires:      php-socket >= 4.3.0
+Requires:      webserver
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _phpdir /home/services/httpd/html/phpdc
+
+%description
+PHPDC Web is a server-side Web frontend for the Direct Connect Text
+Client (dctc).
+
+%prep
+%setup -q -n %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_phpdir}/{layout,private,styles}
+
+install *.php $RPM_BUILD_ROOT%{_phpdir}
+install *.{html,png,ini} $RPM_BUILD_ROOT%{_phpdir}
+install layout/* $RPM_BUILD_ROOT%{_phpdir}/layout
+install private/* $RPM_BUILD_ROOT%{_phpdir}/private
+install styles/* $RPM_BUILD_ROOT%{_phpdir}/styles
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_phpdir}
+%dir %{_phpdir}/layout
+%dir %{_phpdir}/private
+%dir %{_phpdir}/styles
+%{_phpdir}/*.html
+%{_phpdir}/*.php
+%{_phpdir}/*.png
+%{_phpdir}/layout/*
+%{_phpdir}/private/*.php
+%{_phpdir}/styles/*
+%config(noreplace) %verify(not md5 size mtime) %{_phpdir}/private/phpdc.ini
This page took 0.069455 seconds and 4 git commands to generate.