/[smecontribs]/rpms/smeserver-php5-cgi/contribs7/smeserver-php5-cgi.spec
ViewVC logotype

Contents of /rpms/smeserver-php5-cgi/contribs7/smeserver-php5-cgi.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Wed Mar 4 15:04:57 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-php5-cgi-1_0-2_el4_sme
Changes since 1.2: +0 -2 lines
Remove fields set by buildsys

1 # $Id$
2 # Authority: ????
3 # Name: David Harper
4
5 %define name smeserver-php5-cgi
6 %define version 1.0
7 %define release 2
8 Summary: SME Server integration RPM for PHP5-CGI packages
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 2
13 URL: http://www.david-harper.com/
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
16 BuildArchitectures: noarch
17 BuildRequires: e-smith-devtools >= 1.13.1-03
18 BuildRoot: /var/tmp/%{name}-%{version}
19 Requires: e-smith-release >= 7.0
20 Requires: php5-cgi >= 5.2.8
21 Requires: php5-cgi-mysql >= 5.2.8
22 Requires: php5-cgi-ldap >= 5.2.8
23 Requires: php5-cgi-pear >= 5.2.8
24 Requires: php5-cgi-xmlrpc >= 5.2.8
25 Requires: php5-cgi-imap >= 5.2.8
26 AutoReqProv: no
27
28 %description
29 SME Server integration RPM for Firewall Services' PHP5-CGI packages
30
31 %changelog
32 * Wed Jan 7 2008 David Harper <davidiwharper@hotmail.com> 1.0-2
33 - support for PHP 5.2.8
34 - templating bug fixes
35 * Tue Jan 6 2008 David Harper <davidiwharper@hotmail.com> 1.0-1
36 - initial release
37
38 %prep
39 %setup -c -n %{name}-%{version}
40 mv %{name}-%{version} root/
41
42 %build
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
46 rm -f %{name}-%{version}-filelist
47 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
48 # echo "%doc COPYING" >> %{name}-%{version}-filelist
49
50 %clean
51 cd ..
52 rm -rf %{name}-%{version}
53
54 %pre
55 %preun
56 %post
57 echo ""
58 echo "see http://wiki.contribs.org/PHP5 for more information"
59
60 %postun
61 #uninstall
62 if [ $1 = 0 ] ; then
63 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
64 /usr/bin/sv h /service/httpd-e-smith
65 fi
66
67 %files -f %{name}-%{version}-filelist
68 %defattr(-,root,root)
69

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed