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

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

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


Revision 1.3 - (show annotations) (download)
Sat Oct 5 20:01:46 2019 UTC (5 years, 1 month ago) by michel
Branch: MAIN
CVS Tags: smeserver-geneweb-2_1_0-1_el6_sme
Changes since 1.2: +4 -76 lines
* Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme
- first import in sme9 for geneweb v6.08
- geneweb service not started [SME: 6371]
- Add "Base directory" input in panel console.
- perms corrected in templates.metadata
- normalize template and .spec

1 Summary: Package to integrate GeneWeb (V6) into SME Server
2 %define name smeserver-geneweb
3 Name: %{name}
4 %define version 2.1.0
5 %define release 1
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Applications/Internet
10 Source: %{name}-%{version}.tar.gz
11 #Patch0: smeserver-geneweb-2.1.0-init.patch
12
13 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14 BuildArchitectures: noarch
15 Requires: geneweb >= 6.08
16 Requires: smeserver-release >= 9.0
17 Requires: e-smith-formmagick >= 2.4.0-1
18 BuildRequires: e-smith-devtools
19
20 %description
21 This RPM must be installed after the geneweb*.el6.sme package
22 to complete the integration for SME Server.
23
24 %changelog
25 * Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme
26 - first import in sme9 for geneweb v6.08
27 - geneweb service not started [SME: 6371]
28 - Add "Base directory" input in panel console.
29 - perms corrected in templates.metadata
30 - normalize template and .spec
31
32 %prep
33
34 rm -rf $RPM_BUILD_ROOT
35
36 %setup
37 #%patch0 -p1
38
39 %build
40 perl createlinks
41
42 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
43 for lexicon in $LEXICONS
44 do
45 /sbin/e-smith/validate-lexicon $lexicon
46 done
47
48 %install
49 /bin/rm -rf $RPM_BUILD_ROOT
50 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
51 /bin/rm -f %{name}-%{version}-filelist
52 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
53 echo "%doc COPYING" >> %{name}-%{version}-filelist
54
55 %files -f %{name}-%{version}-filelist
56
57 %defattr(-,root,root)
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %pre
63
64 %post
65 ln -s /etc/rc.d/init.d/geneweb /etc/rc.d/rc7.d/S99geneweb
66
67 %preun
68 /sbin/e-smith/db configuration setprop geneweb status disabled
69 /etc/rc.d/init.d/gwd stop
70
71 %postun
72 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
73 #/etc/rc.d/init.d/masq restart

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