/[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.9 - (hide annotations) (download)
Tue Apr 1 18:49:14 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-geneweb-2_0-8_el4_sme
Changes since 1.8: +6 -1 lines
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8
- Update to UTF-8 translations

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

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