/[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.12 - (hide annotations) (download)
Tue Apr 22 09:27:49 2008 UTC (16 years, 7 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 snetram 1.12 # $Id: smeserver-geneweb.spec,v 1.11 2008/04/22 09:25:45 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.12 %define release 10
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 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21     BuildArchitectures: noarch
22     Requires: geneweb >= 5.00
23     Requires: smeserver-release >= 7.0
24 slords 1.8 Requires: e-smith-formmagick >= 1.4.0-10
25 slords 1.4 BuildRequires: e-smith-devtools
26 slords 1.1
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 snetram 1.12 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10
33     - Forgot to apply patch
34    
35 snetram 1.11 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9
36     - Added 22 April 2008 locale
37    
38 slords 1.9 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8
39     - Update to UTF-8 translations
40    
41 slords 1.8 * 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 dungog 1.7 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6
45     - add locale patch, validate lexicon in spec
46    
47 fetcher 1.6 * 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 fetcher 1.5 * 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 slords 1.1 * 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 fetcher 1.5 %patch1 -p1
64 fetcher 1.6 %patch2 -p1
65 dungog 1.7 %patch3 -p1
66 slords 1.9 %patch4 -p1
67 snetram 1.12 %patch5 -p1
68 slords 1.1
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 dungog 1.7 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 slords 1.1 %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