1 |
# $Id: smeserver-kronolith.spec,v 1.8 2008/11/25 16:20:24 slords Exp $ |
2 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
4 |
|
5 |
Summary: SME Server specific Kronolith configuration and templates. |
6 |
%define name smeserver-kronolith |
7 |
Name: %{name} |
8 |
%define version 2.2 |
9 |
%define release 3 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: kronolith-2.3.patch |
16 |
Patch2: kronolith-2.3.sql.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: imp-h3 >= 4.2 |
20 |
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 |
Requires: e-smith-base >= 4.18.1-5 |
24 |
Requires: e-smith-ldap >= 4.12.0-9 |
25 |
Requires: kronolith-h3 >= 2.2 |
26 |
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 |
* 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 |
* 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 |
|
48 |
* Tue Jun 3 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
49 |
- Initial build |
50 |
- Jump in package name to reflect new version of kronolith |
51 |
|
52 |
%description |
53 |
This package adds necessary templates and configuration items |
54 |
so that Kronolith will work properly on SME Server |
55 |
|
56 |
%prep |
57 |
%setup |
58 |
|
59 |
%patch1 -p1 |
60 |
%patch2 -p1 |
61 |
|
62 |
%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) |