1 |
mrjhb3 |
1.6 |
# $Id: smeserver-nag.spec,v 1.5 2008/11/25 16:20:26 slords 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.6 |
%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.6 |
Patch1: nag_2.3.patch |
16 |
|
|
Patch2: nag_2.3.sql.patch |
17 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
slords |
1.3 |
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.3 |
Requires: nag-h3 >= 2.2 |
24 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
|
AutoReqProv: no |
26 |
|
|
Obsoletes: dcb-e-smith-nag |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
mrjhb3 |
1.6 |
* Tue Sep 30 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
30 |
|
|
- Patch to add forgotten changes from nag upgrade sql script |
31 |
|
|
|
32 |
|
|
* Mon Sep 29 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
33 |
|
|
- Updated templates to reflect Nag 2.3 |
34 |
|
|
|
35 |
slords |
1.3 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
36 |
|
|
- Initial production build |
37 |
mrjhb3 |
1.6 |
- Jump in package name to reflect new version of Nag 2.2 |
38 |
slords |
1.3 |
|
39 |
|
|
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
40 |
|
|
- Updated to include changes in Nag 2.2 RC3 |
41 |
|
|
- Re-rolled tarball |
42 |
slords |
1.1 |
|
43 |
slords |
1.3 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
44 |
slords |
1.1 |
- Initial build |
45 |
slords |
1.3 |
- Jump in package name to reflect new version of Nag |
46 |
slords |
1.1 |
|
47 |
|
|
%description |
48 |
|
|
This package adds necessary templates and configuration items |
49 |
slords |
1.3 |
so that Nag will work properly on SME Server |
50 |
slords |
1.1 |
|
51 |
|
|
%prep |
52 |
|
|
%setup |
53 |
|
|
|
54 |
mrjhb3 |
1.6 |
%patch1 -p1 |
55 |
|
|
%patch2 -p1 |
56 |
|
|
|
57 |
slords |
1.1 |
%build |
58 |
|
|
perl createlinks |
59 |
|
|
|
60 |
|
|
%install |
61 |
|
|
rm -rf $RPM_BUILD_ROOT |
62 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
63 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
64 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
65 |
|
|
|
66 |
|
|
%clean |
67 |
|
|
rm -rf $RPM_BUILD_ROOT |
68 |
|
|
|
69 |
|
|
%files -f %{name}-%{version}-filelist |
70 |
|
|
%defattr(-,root,root) |