/[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.15 - (show annotations) (download)
Tue Jul 1 19:59:55 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-13_el4_sme
Changes since 1.14: +7 -2 lines
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13
- Apply 1 July 2008 locale patch

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

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