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

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

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


Revision 1.22 - (show annotations) (download)
Tue Mar 3 21:36:58 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-18_el4_sme
Changes since 1.21: +7 -2 lines
Locale updates

1 # $Id: smeserver-geneweb.spec,v 1.21 2009/03/01 19:25:37 snetram Exp $
2 # Authority: fetcher
3 # Name: Craig D. Jensen
4
5 Summary: Package to integrate GeneWeb (V5) into SME Server
6 %define name smeserver-geneweb
7 Name: %{name}
8 %define version 2.0
9 %define release 18
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Applications/Internet
14 Source: %{name}-%{version}.tar.gz
15 Patch1: smeserver-geneweb-2.0-pod-corrections.patch
16 Patch2: smeserver-geneweb-2.0-ip_number-validation.patch
17 Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch
18 Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch
19 Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch
20 Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch
21 Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch
22 Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch
23 Patch9: smeserver-geneweb-2.0-locale-2008-10-14.patch
24 Patch10: smeserver-geneweb-2.0-locale-2009-01-01.patch
25 Patch11: smeserver-geneweb-2.0-locale-2009-01-31.patch
26 Patch12: smeserver-geneweb-2.0-locale-2009-03-01.patch
27 Patch13: smeserver-geneweb-2.0-locale-2009-03-03.patch
28 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29 BuildArchitectures: noarch
30 Requires: geneweb >= 5.00
31 Requires: smeserver-release >= 7.0
32 Requires: e-smith-formmagick >= 1.4.0-10
33 BuildRequires: e-smith-devtools
34
35 %description
36 This RPM must be installed after the geneweb*.el4.sme.i386.rpm package
37 to complete the integration for SME Server.
38
39 %changelog
40 * Tue Mar 03 2009 SME Translation Server
41 - apply locale 2009-03-03 patch
42
43 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-17
44 - Apply 1 Mar 2009 locale patch [SME: 5018]
45
46 * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16
47 - Apply 31 Jan 2009 locale patch [SME: 4951]
48
49 * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15
50 - Apply 1 Jan 2009 locale patch [SME: 4900]
51
52 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-14
53 - Apply 14 Oct 2008 locale patch
54
55 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13
56 - Apply 1 July 2008 locale patch
57
58 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12
59 - Apply 27 Jun 2008 locale patch
60 - Fix version number in previous changelog entry
61
62 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11
63 - Apply 21 May 2008 locale patch
64
65 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10
66 - Forgot to apply patch
67
68 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9
69 - Added 22 April 2008 locale
70
71 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8
72 - Update to UTF-8 translations
73
74 * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7
75 - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
76
77 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6
78 - add locale patch, validate lexicon in spec
79
80 * Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5
81 - geneweb.pm fix to correctly validate IP numbers 'and' localIP
82
83 * Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4
84 - geneweb.pm edited for pod corrections (pass podchecker)
85
86 * Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com>
87 - [2.0-1] First companion to Geneweb v5 w/panel for admin allowing
88 for setting the desired IP on the LAN for Geneweb administrative
89 access.
90
91 %prep
92
93 rm -rf $RPM_BUILD_ROOT
94
95 %setup
96 %patch1 -p1
97 %patch2 -p1
98 %patch3 -p1
99 %patch4 -p1
100 %patch5 -p1
101 %patch6 -p1
102 %patch7 -p1
103 %patch8 -p1
104 %patch9 -p1
105 %patch10 -p1
106 %patch11 -p1
107 %patch12 -p1
108 %patch13 -p1
109
110 %build
111 perl createlinks
112 DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb
113 mkdir -p $DEFAULTS
114 echo "service" > $DEFAULTS/type
115 echo "disabled" > $DEFAULTS/status
116 echo "127.0.0.1" >$DEFAULTS/only
117
118 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
119 for lexicon in $LEXICONS
120 do
121 /sbin/e-smith/validate-lexicon $lexicon
122 done
123
124 %install
125 /bin/rm -rf $RPM_BUILD_ROOT
126 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
127 /bin/rm -f %{name}-%{version}-filelist
128 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
129 echo "%doc COPYING" >> %{name}-%{version}-filelist
130
131 %files -f %{name}-%{version}-filelist
132
133 %defattr(-,root,root)
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %pre
139
140 %post
141 /etc/e-smith/events/actions/navigation-conf
142 #/etc/e-smith/events/actions/initialize-default-databases
143 #mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq
144 #/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb
145 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
146 #/etc/rc.d/init.d/masq restart
147 true
148
149 %preun
150 /sbin/e-smith/db configuration setprop geneweb status disabled
151 /etc/rc.d/init.d/gwd stop
152 true
153
154 %postun
155 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
156 #/etc/rc.d/init.d/masq restart

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