/[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.23 - (hide annotations) (download)
Mon Apr 27 16:11:20 2009 UTC (15 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.22: +7 -2 lines
Apply locale changes

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

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