/[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.13 - (show annotations) (download)
Wed May 21 20:11:37 2008 UTC (16 years, 5 months ago) by snetram
Branch: MAIN
Changes since 1.12: +7 -2 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6
- Apply 21 May 2008 locale patch

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

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