/[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.10 - (hide annotations) (download)
Wed Apr 2 15:03:57 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
Changes since 1.9: +4 -0 lines
Add Id, Authority, Name

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

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