/[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.7 - (hide annotations) (download)
Wed Mar 12 07:03:43 2008 UTC (16 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-6_el4_sme
Changes since 1.6: +12 -1 lines
Add locale patch

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

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