/[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.20 - (hide annotations) (download)
Sat Jan 31 07:45:44 2009 UTC (15 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-16_el4_sme
Changes since 1.19: +7 -2 lines
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-16
- Apply 31 Jan 2009 locale patch [SME: 4951]

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

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