1 |
# $Id: smeserver-nag.spec,v 1.8 2009/10/10 21:38:47 mrjhb3 Exp $ |
2 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
4 |
|
5 |
Summary: SME Server specific Nag configuration and templates. |
6 |
%define name smeserver-nag |
7 |
Name: %{name} |
8 |
%define version 2.2 |
9 |
%define release 6 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: nag_2.3.patch |
16 |
Patch2: nag_2.3.sql.patch |
17 |
Patch3: nag_2.3.2.patch |
18 |
Patch4: nag_2.3.3.patch |
19 |
Patch5: nag_2.3.4.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
22 |
Requires: imp-h3 >= 4.2 |
23 |
Requires: e-smith-base >= 4.15.1 |
24 |
Requires: e-smith-apache >= 1.1.0-18 |
25 |
Requires: e-smith-lib >= 1.15.1-16 |
26 |
Requires: nag-h3 >= 2.2 |
27 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
AutoReqProv: no |
29 |
Obsoletes: dcb-e-smith-nag |
30 |
|
31 |
%changelog |
32 |
* Mon Dec 28 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-6 |
33 |
- Updated templates to reflect Nag 2.3.4 |
34 |
|
35 |
* Sat Oct 10 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5 |
36 |
- Updated templates to reflect Nag 2.3.3 |
37 |
|
38 |
* Wed Jun 17 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4 |
39 |
- Updated templates to reflect Nag 2.3.2 |
40 |
|
41 |
* Tue Sep 30 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
42 |
- Patch to add forgotten changes from nag upgrade sql script |
43 |
|
44 |
* Mon Sep 29 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
45 |
- Updated templates to reflect Nag 2.3 |
46 |
|
47 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
48 |
- Initial production build |
49 |
- Jump in package name to reflect new version of Nag 2.2 |
50 |
|
51 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
52 |
- Updated to include changes in Nag 2.2 RC3 |
53 |
- Re-rolled tarball |
54 |
|
55 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
56 |
- Initial build |
57 |
- Jump in package name to reflect new version of Nag |
58 |
|
59 |
%description |
60 |
This package adds necessary templates and configuration items |
61 |
so that Nag will work properly on SME Server |
62 |
|
63 |
%prep |
64 |
%setup |
65 |
|
66 |
%patch1 -p1 |
67 |
%patch2 -p1 |
68 |
%patch3 -p1 |
69 |
%patch4 -p1 |
70 |
%patch5 -p1 |
71 |
|
72 |
%build |
73 |
perl createlinks |
74 |
|
75 |
%install |
76 |
rm -rf $RPM_BUILD_ROOT |
77 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
78 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
79 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
80 |
|
81 |
%clean |
82 |
rm -rf $RPM_BUILD_ROOT |
83 |
|
84 |
%files -f %{name}-%{version}-filelist |
85 |
%defattr(-,root,root) |