1 |
mrjhb3 |
1.9 |
# $Id: smeserver-kronolith.spec,v 1.8 2008/11/25 16:20:24 slords Exp $ |
2 |
slords |
1.4 |
# Authority: mrjhb3 |
3 |
|
|
# Name: John H. Bennett III |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: SME Server specific Kronolith configuration and templates. |
6 |
|
|
%define name smeserver-kronolith |
7 |
|
|
Name: %{name} |
8 |
slords |
1.6 |
%define version 2.2 |
9 |
mrjhb3 |
1.9 |
%define release 3 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
mrjhb3 |
1.9 |
Patch1: kronolith-2.3.patch |
16 |
|
|
Patch2: kronolith-2.3.sql.patch |
17 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
slords |
1.6 |
Requires: imp-h3 >= 4.2 |
20 |
slords |
1.1 |
Requires: e-smith-base >= 4.15.1 |
21 |
|
|
Requires: e-smith-apache >= 1.1.0-18 |
22 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
23 |
slords |
1.2 |
Requires: e-smith-base >= 4.18.1-5 |
24 |
|
|
Requires: e-smith-ldap >= 4.12.0-9 |
25 |
slords |
1.6 |
Requires: kronolith-h3 >= 2.2 |
26 |
slords |
1.1 |
Requires: php-pear-HTTP-Request >= 1.4.0 |
27 |
|
|
Requires: php-pear-Net-Socket >= 1.0.6 |
28 |
|
|
Requires: php-pear-Net-URL >= 1.0.14 |
29 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
|
|
AutoReqProv: no |
31 |
|
|
Obsoletes: e-smith-kronolith = 0.8.0-02db |
32 |
|
|
Obsoletes: pear-http_request >= 1.4.0 |
33 |
|
|
Obsoletes: pear-net_socket >= 1.0.6 |
34 |
|
|
Obsoletes: pear-net_url >= 1.0.14 |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
%changelog |
38 |
mrjhb3 |
1.9 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
39 |
|
|
- Patch to add forgotten changes from kronolith upgrade sql script |
40 |
|
|
|
41 |
|
|
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
42 |
|
|
- Updated templates to reflect Kronolith 2.3 |
43 |
|
|
|
44 |
slords |
1.6 |
* Sun Jun 22 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
45 |
|
|
- Initial production build |
46 |
|
|
- Jump in package name to reflect new version of kronolith |
47 |
slords |
1.2 |
|
48 |
slords |
1.6 |
* Tue Jun 3 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
49 |
slords |
1.1 |
- Initial build |
50 |
slords |
1.6 |
- Jump in package name to reflect new version of kronolith |
51 |
slords |
1.1 |
|
52 |
|
|
%description |
53 |
|
|
This package adds necessary templates and configuration items |
54 |
slords |
1.6 |
so that Kronolith will work properly on SME Server |
55 |
slords |
1.1 |
|
56 |
|
|
%prep |
57 |
|
|
%setup |
58 |
|
|
|
59 |
mrjhb3 |
1.9 |
%patch1 -p1 |
60 |
|
|
%patch2 -p1 |
61 |
|
|
|
62 |
slords |
1.1 |
%build |
63 |
|
|
perl createlinks |
64 |
|
|
|
65 |
|
|
%install |
66 |
|
|
rm -rf $RPM_BUILD_ROOT |
67 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
68 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
69 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
70 |
|
|
|
71 |
|
|
%clean |
72 |
|
|
rm -rf $RPM_BUILD_ROOT |
73 |
|
|
|
74 |
|
|
%files -f %{name}-%{version}-filelist |
75 |
|
|
%defattr(-,root,root) |