/[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.19 - (show annotations) (download)
Thu Jan 1 11:38:13 2009 UTC (15 years, 10 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-15_el4_sme
Changes since 1.18: +7 -2 lines
* Thu Jan  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-15
- Apply  1 Jan 2009 locale patch [SME: 4900]

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

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