/[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.2 - (hide annotations) (download)
Wed Mar 4 15:02:45 2009 UTC (15 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.1: +4 -0 lines
Update spec

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

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