2 %define phpgwdirname eq
3 %define version 0.0.1.000
5 # This is for Mandrake RPMS
6 # (move these below the RedHat ones for Mandrake RPMs)
7 %define httpdroot /var/www/html/phpgroupware
10 # This is for RedHat RPMS
11 # (move these below the Mandrake ones for RedHat RPMs)
12 %define httpdroot /home/httpd/html/phpgroupware
15 Summary: Tools for Managing an Elders Quorum app for phpGroupWare.
21 URL: http://www.phpgroupware.org/apps/eq/
22 Source0: ftp://ftp.sourceforge.net/pub/sourceforge/phpgroupware/%{packagename}-%{version}.tar.bz2
23 BuildRoot: %{_tmppath}/%{packagename}-buildroot
26 requires: phpgroupware >= 0.9.10
30 This is an Elders Quorum Presidency Application.
33 %setup -n %{phpgwdirname}
39 rm -rf $RPM_BUILD_ROOT
40 mkdir -p $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}
41 cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}
44 rm -rf $RPM_BUILD_ROOT
51 %{prefix}/%{phpgwdirname}