4 |
%define version 1.0.3 |
%define version 1.0.3 |
5 |
%define release 0 |
%define release 0 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Applications/System |
Group: Applications/System |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
|
Packager: Michael Weinberger <mweinber@neddix.de> |
|
11 |
BuildRoot: /var/tmp/%{name}-buildroot/ |
BuildRoot: /var/tmp/%{name}-buildroot/ |
12 |
BuildArch: noarch |
BuildArch: noarch |
13 |
Requires: smeserver-release >= 7.1.3 |
Requires: smeserver-release >= 7.1.3 |
14 |
Requires: nagios >= 2.9 |
Requires: nagios >= 2.9 |
15 |
|
BuildRequires: e-smith-devtools |
16 |
AutoReq: no |
AutoReq: no |
17 |
|
|
18 |
%changelog |
%changelog |
34 |
(cfg_file and cfg_dir settings) |
(cfg_file and cfg_dir settings) |
35 |
|
|
36 |
%prep |
%prep |
|
%setup |
|
37 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
38 |
|
|
39 |
%build |
%build |
50 |
%clean |
%clean |
51 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
52 |
|
|
|
%pre |
|
|
|
|
53 |
%post |
%post |
54 |
if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then |
if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then |
55 |
echo -n |
echo -n |