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

Annotation of /rpms/smeserver-mod_python/contribs9/smeserver-mod_python.spec

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


Revision 1.1 - (hide annotations) (download)
Wed Sep 23 21:44:05 2015 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-mod_python-0_3-1_el6_sme
* Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-1.sme - Initial release to contribs9

1 stephdl 1.1 # $Id: smeserver-mod_python.spec,v 1.6 2013/06/01 13:04:24 unnilennium Exp $
2     # Authority: marcohess
3     # Name: Marco Hess
4    
5     %define name smeserver-mod_python
6     %define version 0.3
7     %define release 1
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}.tgz
16     BuildArch: noarch
17     BuildRequires: e-smith-devtools
18     Requires: smeserver-release >= 8
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 8.
25    
26     %changelog
27     * Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-1.sme
28     - Initial release to contribs9
29    
30     * Sat Jun 01 2013 JP Pialasse <tests@pialasse.com} 0.1-2.sme
31     - import to sme8
32    
33     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
34     - Clean up spec so package can be built by koji/plague
35    
36     * Mon Mar 26 2007 Marco Hess <marco.hess@through-ip.com>
37     - 0.1-0
38     - Original version adopted from smeserver-mod_dav
39    
40     %prep
41    
42     %setup
43    
44     %build
45     DEFAULTS=root/etc/e-smith/db/configuration/defaults/modPython
46     mkdir -p $DEFAULTS
47     echo "service" > $DEFAULTS/type
48     echo "enabled" > $DEFAULTS/status
49    
50     %install
51     rm -rf $RPM_BUILD_ROOT
52     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
53     rm -f %{name}-%{version}-filelist
54     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
55    
56     %clean
57     rm -rf $RPM_BUILD_ROOT
58    
59     %post
60     /etc/e-smith/events/actions/initialize-default-databases
61     /etc/e-smith/events/actions/navigation-conf
62     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
63     /etc/rc7.d/S86httpd-e-smith sigusr1
64    
65     %postun
66     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
67     /etc/e-smith/events/actions/navigation-conf
68     /etc/rc7.d/S86httpd-e-smith sigusr1
69    
70     %files -f %{name}-%{version}-filelist
71     %defattr(-,root,root)

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