1 |
# $Id: smeserver-nag.spec,v 1.6 2008/12/06 19:55:48 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 4 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
Requires: imp-h3 >= 4.2 |
21 |
Requires: e-smith-base >= 4.15.1 |
22 |
Requires: e-smith-apache >= 1.1.0-18 |
23 |
Requires: e-smith-lib >= 1.15.1-16 |
24 |
Requires: nag-h3 >= 2.2 |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
AutoReqProv: no |
27 |
Obsoletes: dcb-e-smith-nag |
28 |
|
29 |
%changelog |
30 |
* Wed Jun 17 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4 |
31 |
- Updated templates to reflect Nag 2.3.2 |
32 |
|
33 |
* Tue Sep 30 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
34 |
- Patch to add forgotten changes from nag upgrade sql script |
35 |
|
36 |
* Mon Sep 29 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
37 |
- Updated templates to reflect Nag 2.3 |
38 |
|
39 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
40 |
- Initial production build |
41 |
- Jump in package name to reflect new version of Nag 2.2 |
42 |
|
43 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
44 |
- Updated to include changes in Nag 2.2 RC3 |
45 |
- Re-rolled tarball |
46 |
|
47 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
48 |
- Initial build |
49 |
- Jump in package name to reflect new version of Nag |
50 |
|
51 |
%description |
52 |
This package adds necessary templates and configuration items |
53 |
so that Nag will work properly on SME Server |
54 |
|
55 |
%prep |
56 |
%setup |
57 |
|
58 |
%patch1 -p1 |
59 |
%patch2 -p1 |
60 |
%patch3 -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) |