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

Annotation of /rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec

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


Revision 1.6 - (hide annotations) (download)
Wed Jan 16 06:08:34 2008 UTC (16 years, 9 months ago) by fetcher
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-5_el4_sme
Changes since 1.5: +6 -1 lines
fix ip_number validation

1 slords 1.1 Summary: Package to integrate GeneWeb (V5) into SME Server
2     %define name smeserver-geneweb
3     Name: %{name}
4     %define version 2.0
5 fetcher 1.6 %define release 5
6 slords 1.1 Version: %{version}
7 slords 1.3 Release: %{release}%{?dist}
8 slords 1.2 License: GPL
9 slords 1.1 Group: Applications/Internet
10     Source: %{name}-%{version}.tar.gz
11 fetcher 1.5 Patch1: smeserver-geneweb-2.0-pod-corrections.patch
12 fetcher 1.6 Patch2: smeserver-geneweb-2.0-ip_number-validation.patch
13 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14     BuildArchitectures: noarch
15     Requires: geneweb >= 5.00
16     Requires: smeserver-release >= 7.0
17 slords 1.4 BuildRequires: e-smith-devtools
18 slords 1.1
19     %description
20     This RPM must be installed after the geneweb*.el4.sme.i386.rpm package
21     to complete the integration for SME Server.
22    
23     %changelog
24 fetcher 1.6 * Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5
25     - geneweb.pm fix to correctly validate IP numbers 'and' localIP
26    
27 fetcher 1.5 * Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4
28     - geneweb.pm edited for pod corrections (pass podchecker)
29    
30 slords 1.1 * Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com>
31     - [2.0-1] First companion to Geneweb v5 w/panel for admin allowing
32     for setting the desired IP on the LAN for Geneweb administrative
33     access.
34    
35     %prep
36    
37     rm -rf $RPM_BUILD_ROOT
38    
39     %setup
40 fetcher 1.5 %patch1 -p1
41 fetcher 1.6 %patch2 -p1
42 slords 1.1
43     %build
44     perl createlinks
45     DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb
46     mkdir -p $DEFAULTS
47     echo "service" > $DEFAULTS/type
48     echo "disabled" > $DEFAULTS/status
49     echo "127.0.0.1" >$DEFAULTS/only
50    
51     %install
52     /bin/rm -rf $RPM_BUILD_ROOT
53     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
54     /bin/rm -f %{name}-%{version}-filelist
55     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
56     echo "%doc COPYING" >> %{name}-%{version}-filelist
57    
58     %files -f %{name}-%{version}-filelist
59    
60     %defattr(-,root,root)
61    
62     %clean
63     rm -rf $RPM_BUILD_ROOT
64    
65     %pre
66    
67     %post
68     /etc/e-smith/events/actions/navigation-conf
69     #/etc/e-smith/events/actions/initialize-default-databases
70     #mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq
71     #/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb
72     /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
73     #/etc/rc.d/init.d/masq restart
74     true
75    
76     %preun
77     /sbin/e-smith/db configuration setprop geneweb status disabled
78     /etc/rc.d/init.d/gwd stop
79     true
80    
81     %postun
82     /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
83     #/etc/rc.d/init.d/masq restart

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