/[smecontribs]/rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec
ViewVC logotype

Annotation of /rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.15 - (hide annotations) (download)
Tue Jul 1 19:59:55 2008 UTC (16 years, 5 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 snetram 1.15 # $Id: smeserver-geneweb.spec,v 1.14 2008/06/27 15:06:39 snetram Exp $
2 slords 1.10 # Authority: fetcher
3     # Name: Craig D. Jensen
4    
5 slords 1.1 Summary: Package to integrate GeneWeb (V5) into SME Server
6     %define name smeserver-geneweb
7     Name: %{name}
8     %define version 2.0
9 snetram 1.15 %define release 13
10 slords 1.1 Version: %{version}
11 slords 1.3 Release: %{release}%{?dist}
12 slords 1.2 License: GPL
13 slords 1.1 Group: Applications/Internet
14     Source: %{name}-%{version}.tar.gz
15 fetcher 1.5 Patch1: smeserver-geneweb-2.0-pod-corrections.patch
16 fetcher 1.6 Patch2: smeserver-geneweb-2.0-ip_number-validation.patch
17 dungog 1.7 Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch
18 slords 1.9 Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch
19 snetram 1.11 Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch
20 snetram 1.13 Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch
21 snetram 1.14 Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch
22 snetram 1.15 Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch
23 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24     BuildArchitectures: noarch
25     Requires: geneweb >= 5.00
26     Requires: smeserver-release >= 7.0
27 slords 1.8 Requires: e-smith-formmagick >= 1.4.0-10
28 slords 1.4 BuildRequires: e-smith-devtools
29 slords 1.1
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 snetram 1.15 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13
36     - Apply 1 July 2008 locale patch
37    
38 snetram 1.14 * 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 snetram 1.13 - Apply 21 May 2008 locale patch
44    
45 snetram 1.12 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10
46     - Forgot to apply patch
47    
48 snetram 1.11 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9
49     - Added 22 April 2008 locale
50    
51 slords 1.9 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8
52     - Update to UTF-8 translations
53    
54 slords 1.8 * 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 dungog 1.7 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6
58     - add locale patch, validate lexicon in spec
59    
60 fetcher 1.6 * 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 fetcher 1.5 * 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 slords 1.1 * 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 fetcher 1.5 %patch1 -p1
77 fetcher 1.6 %patch2 -p1
78 dungog 1.7 %patch3 -p1
79 slords 1.9 %patch4 -p1
80 snetram 1.12 %patch5 -p1
81 snetram 1.13 %patch6 -p1
82 snetram 1.14 %patch7 -p1
83 snetram 1.15 %patch8 -p1
84 slords 1.1
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 dungog 1.7 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 slords 1.1 %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