/[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.14 - (show annotations) (download)
Fri Jun 27 15:06:39 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-12_el4_sme
Changes since 1.13: +9 -3 lines
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12
- Apply 27 Jun 2008 locale patch
- Fix version number in previous changelog entry

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

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