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