1 |
|
# $Id: smeserver-geneweb.spec,v 1.14 2008/06/27 15:06:39 snetram Exp $ |
2 |
|
# Authority: fetcher |
3 |
|
# Name: Craig D. Jensen |
4 |
|
|
5 |
Summary: Package to integrate GeneWeb (V5) into SME Server |
Summary: Package to integrate GeneWeb (V5) into SME Server |
6 |
%define name smeserver-geneweb |
%define name smeserver-geneweb |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.0 |
%define version 2.0 |
9 |
%define release 3 |
%define release 13 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Applications/Internet |
Group: Applications/Internet |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
#Patch0: |
Patch1: smeserver-geneweb-2.0-pod-corrections.patch |
16 |
|
Patch2: smeserver-geneweb-2.0-ip_number-validation.patch |
17 |
|
Patch3: smeserver-geneweb-2.0-locale-2008-03-11.patch |
18 |
|
Patch4: smeserver-geneweb-2.0-locale-2008-04-01.patch |
19 |
|
Patch5: smeserver-geneweb-2.0-locale-2008-04-22.patch |
20 |
|
Patch6: smeserver-geneweb-2.0-locale-2008-05-21.patch |
21 |
|
Patch7: smeserver-geneweb-2.0-locale-2008-06-27.patch |
22 |
|
Patch8: smeserver-geneweb-2.0-locale-2008-07-01.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: geneweb >= 5.00 |
Requires: geneweb >= 5.00 |
26 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
27 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
28 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
29 |
|
|
30 |
%description |
%description |
32 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-13 |
36 |
|
- Apply 1 July 2008 locale patch |
37 |
|
|
38 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-12 |
39 |
|
- Apply 27 Jun 2008 locale patch |
40 |
|
- Fix version number in previous changelog entry |
41 |
|
|
42 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-11 |
43 |
|
- Apply 21 May 2008 locale patch |
44 |
|
|
45 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-10 |
46 |
|
- Forgot to apply patch |
47 |
|
|
48 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0-9 |
49 |
|
- Added 22 April 2008 locale |
50 |
|
|
51 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 2.0-8 |
52 |
|
- Update to UTF-8 translations |
53 |
|
|
54 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 2.0-7 |
55 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
56 |
|
|
57 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 2.0-6 |
58 |
|
- add locale patch, validate lexicon in spec |
59 |
|
|
60 |
|
* Tue Jan 15 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-5 |
61 |
|
- geneweb.pm fix to correctly validate IP numbers 'and' localIP |
62 |
|
|
63 |
|
* Sun Jan 13 2008 Craig Jensen <craig.d.jensen@gmail.com> 2.0-4 |
64 |
|
- geneweb.pm edited for pod corrections (pass podchecker) |
65 |
|
|
66 |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Thu Apr 12 2007 Craig D. Jensen <craig.d.jensen@gmail.com> |
67 |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
- [2.0-1] First companion to Geneweb v5 w/panel for admin allowing |
68 |
for setting the desired IP on the LAN for Geneweb administrative |
for setting the desired IP on the LAN for Geneweb administrative |
73 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
74 |
|
|
75 |
%setup |
%setup |
76 |
#%patch0 -p1 |
%patch1 -p1 |
77 |
|
%patch2 -p1 |
78 |
|
%patch3 -p1 |
79 |
|
%patch4 -p1 |
80 |
|
%patch5 -p1 |
81 |
|
%patch6 -p1 |
82 |
|
%patch7 -p1 |
83 |
|
%patch8 -p1 |
84 |
|
|
85 |
%build |
%build |
86 |
perl createlinks |
perl createlinks |
90 |
echo "disabled" > $DEFAULTS/status |
echo "disabled" > $DEFAULTS/status |
91 |
echo "127.0.0.1" >$DEFAULTS/only |
echo "127.0.0.1" >$DEFAULTS/only |
92 |
|
|
93 |
|
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
94 |
|
for lexicon in $LEXICONS |
95 |
|
do |
96 |
|
/sbin/e-smith/validate-lexicon $lexicon |
97 |
|
done |
98 |
|
|
99 |
%install |
%install |
100 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
101 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |