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