/[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.12 - (show annotations) (download)
Tue Apr 22 09:27:49 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-10_el4_sme
Changes since 1.11: +6 -2 lines
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10
- Forgot to apply patch

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

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