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

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

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


Revision 1.2 - (show annotations) (download)
Sat Dec 19 21:05:54 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-mod_python-0_3-4_el7_sme
Changes since 1.1: +5 -2 lines
* Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
- Initial import into SME10 tree [SME: 11273]

1 # $Id: smeserver-mod_python.spec,v 1.1 2020/12/19 20:52:52 brianr Exp $
2 # Authority: marcohess
3 # Name: Marco Hess
4
5 %define name smeserver-mod_python
6 %define version 0.3
7 %define release 4
8
9 Summary: SME Server mod_python implementation
10 Name: %{name}
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: GPL
14 Group: Applications/Internet
15 Source: %{name}-%{version}.tar.gz
16 BuildArch: noarch
17 BuildRequires: e-smith-devtools
18 Requires: smeserver-release >= 9
19 Requires: httpd >= 2
20 Requires: mod_python
21 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22
23 %description
24 Implementation of mod_python for SME Server 9.
25
26 %changelog
27 * Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-4.sme
28 - Initial import into SME10 tree [SME: 11273]
29
30 * Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-3.sme
31 - Initial release to contribs9
32
33 * Sat Jun 01 2013 JP Pialasse <tests@pialasse.com} 0.1-2.sme
34 - import to sme8
35
36 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
37 - Clean up spec so package can be built by koji/plague
38
39 * Mon Mar 26 2007 Marco Hess <marco.hess@through-ip.com>
40 - 0.1-0
41 - Original version adopted from smeserver-mod_dav
42
43 %prep
44
45 %setup
46
47 %build
48 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modPython
49 mkdir -p $DEFAULTS
50 echo "service" > $DEFAULTS/type
51 echo "enabled" > $DEFAULTS/status
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
56 rm -f %{name}-%{version}-filelist
57 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 /etc/e-smith/events/actions/initialize-default-databases
64 /etc/e-smith/events/actions/navigation-conf
65 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
66 /etc/rc7.d/S86httpd-e-smith sigusr1
67
68 %postun
69 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
70 /etc/e-smith/events/actions/navigation-conf
71 /etc/rc7.d/S86httpd-e-smith sigusr1
72
73 %files -f %{name}-%{version}-filelist
74 %defattr(-,root,root)

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