/[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.25 - (show annotations) (download)
Tue Oct 27 17:43:52 2009 UTC (15 years ago) by slords
Branch: MAIN
Changes since 1.24: +7 -2 lines
Translation updates

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

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