/[smecontribs]/rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec
ViewVC logotype

Contents of /rpms/smeserver-geneweb/contribs7/smeserver-geneweb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Dec 25 00:12:13 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
Changes since 1.2: +1 -1 lines
Fix spec

1 Summary: Package to integrate GeneWeb (V5) into SME Server
2 %define name smeserver-geneweb
3 Name: %{name}
4 %define version 2.0
5 %define release 3
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Applications/Internet
10 Source: %{name}-%{version}.tar.gz
11 #Patch0:
12 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13 BuildArchitectures: noarch
14 Requires: geneweb >= 5.00
15 Requires: smeserver-release >= 7.0
16
17 %description
18 This RPM must be installed after the geneweb*.el4.sme.i386.rpm package
19 to complete the integration for SME Server.
20
21 %changelog
22 * Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com>
23 - [2.0-1] First companion to Geneweb v5 w/panel for admin allowing
24 for setting the desired IP on the LAN for Geneweb administrative
25 access.
26
27 %prep
28
29 rm -rf $RPM_BUILD_ROOT
30
31 %setup
32 #%patch0 -p1
33
34 %build
35 perl createlinks
36 DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb
37 mkdir -p $DEFAULTS
38 echo "service" > $DEFAULTS/type
39 echo "disabled" > $DEFAULTS/status
40 echo "127.0.0.1" >$DEFAULTS/only
41
42 %install
43 /bin/rm -rf $RPM_BUILD_ROOT
44 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
45 /bin/rm -f %{name}-%{version}-filelist
46 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
47 echo "%doc COPYING" >> %{name}-%{version}-filelist
48
49 %files -f %{name}-%{version}-filelist
50
51 %defattr(-,root,root)
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %pre
57
58 %post
59 /etc/e-smith/events/actions/navigation-conf
60 #/etc/e-smith/events/actions/initialize-default-databases
61 #mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq
62 #/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb
63 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
64 #/etc/rc.d/init.d/masq restart
65 true
66
67 %preun
68 /sbin/e-smith/db configuration setprop geneweb status disabled
69 /etc/rc.d/init.d/gwd stop
70 true
71
72 %postun
73 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
74 #/etc/rc.d/init.d/masq restart

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