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

Annotation 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.1 - (hide annotations) (download)
Wed Mar 4 14:54:06 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
Initial import of smeserver-php5-cgi

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

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