/[smecontribs]/rpms/smeserver-mod_python/contribs8/smeserver-mod_python.spec
ViewVC logotype

Contents of /rpms/smeserver-mod_python/contribs8/smeserver-mod_python.spec

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


Revision 1.1 - (show annotations) (download)
Thu Nov 8 18:29:13 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-mod_python-0_1-0_el5_sme
Import on branch contribs8 of package smeserver-mod_python-0.1-0.el5.sme.src.rpm

1 %define name smeserver-mod_python
2 %define version 0.1
3 %define release 0
4
5 Summary: SME Server mod_python implementation
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 License: GPL
10 Group: Applications/Internet
11 Source: %{name}-%{version}.tgz
12 BuildArch: noarch
13 BuildRequires: e-smith-devtools
14 Requires: smeserver-release >= 7
15 Requires: httpd >= 2
16 Requires: mod_python
17 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18
19 %description
20 Implementation of mod_python for SME Server 7.
21
22 %changelog
23 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
24 - Clean up spec so package can be built by koji/plague
25
26 * Mon Mar 26 2007 Marco Hess <marco.hess@through-ip.com>
27 - 0.1-0
28 - Original version adopted from smeserver-mod_dav
29
30 %prep
31
32 %setup
33
34 %build
35 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modPython
36 mkdir -p $DEFAULTS
37 echo "service" > $DEFAULTS/type
38 echo "enabled" > $DEFAULTS/status
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
43 rm -f %{name}-%{version}-filelist
44 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %post
50 /etc/e-smith/events/actions/initialize-default-databases
51 /etc/e-smith/events/actions/navigation-conf
52 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
53 /etc/rc7.d/S86httpd-e-smith sigusr1
54
55 %postun
56 /sbin/e-smith/db configuration delete modPython
57 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
58 /etc/e-smith/events/actions/navigation-conf
59 /etc/rc7.d/S86httpd-e-smith sigusr1
60
61 %files -f %{name}-%{version}-filelist
62 %defattr(-,root,root)

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