1 |
slords |
1.4 |
# $Id: smeserver-nag.spec,v 1.3 2008/06/26 18:15:53 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 |
|
|
%define release 1 |
10 |
slords |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
slords |
1.3 |
Requires: imp-h3 >= 4.2 |
18 |
slords |
1.1 |
Requires: e-smith-base >= 4.15.1 |
19 |
|
|
Requires: e-smith-apache >= 1.1.0-18 |
20 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
21 |
slords |
1.3 |
Requires: nag-h3 >= 2.2 |
22 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
|
|
AutoReqProv: no |
24 |
|
|
Obsoletes: dcb-e-smith-nag |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
slords |
1.3 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
28 |
|
|
- Initial production build |
29 |
|
|
- Jump in package name to reflect new version of Nag |
30 |
|
|
|
31 |
|
|
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
32 |
|
|
- Updated to include changes in Nag 2.2 RC3 |
33 |
|
|
- Re-rolled tarball |
34 |
slords |
1.1 |
|
35 |
slords |
1.3 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
36 |
slords |
1.1 |
- Initial build |
37 |
slords |
1.3 |
- Jump in package name to reflect new version of Nag |
38 |
slords |
1.1 |
|
39 |
|
|
%description |
40 |
|
|
This package adds necessary templates and configuration items |
41 |
slords |
1.3 |
so that Nag will work properly on SME Server |
42 |
slords |
1.1 |
|
43 |
|
|
%prep |
44 |
|
|
%setup |
45 |
|
|
|
46 |
|
|
%build |
47 |
|
|
perl createlinks |
48 |
|
|
|
49 |
|
|
%install |
50 |
|
|
rm -rf $RPM_BUILD_ROOT |
51 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
53 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
rm -rf $RPM_BUILD_ROOT |
57 |
|
|
|
58 |
|
|
%files -f %{name}-%{version}-filelist |
59 |
|
|
%defattr(-,root,root) |