/[smecontribs]/rpms/nagios-plugins-generic/contribs7/nagios-plugins-generic.spec
ViewVC logotype

Contents of /rpms/nagios-plugins-generic/contribs7/nagios-plugins-generic.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Tue Nov 25 16:20:14 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
Restore

1 # $Id: nagios-plugins-generic.spec,v 1.3 2008/04/02 15:03:55 slords Exp $
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 Summary: Nagios plugin check_generic
6 %define name nagios-plugins-generic
7 Name: %{name}
8 %define version 1.0.0
9 %define release 0
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Applications/System
14 URL: http://www.my-plugin.de/wiki/doku.php
15 Source: %{name}-%{version}.tar.gz
16 BuildRoot: /var/tmp/%{name}-buildroot/
17 BuildArch: noarch
18 Requires: nagios
19 AutoReq: no
20
21 %changelog
22 * Thu Nov 1 2007 Michael Weinberger <mweinber@neddix.de>
23 - Initial release
24
25 %description
26 http://www.my-plugin.de/wiki/doku.php/projects:check_generic:start
27
28 %prep
29 %setup -q -n %{name}-%{version}
30
31 %build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
36 rm -f %{name}-%{version}-filelist
37 find $RPM_BUILD_ROOT -depth -type f -print |\
38 sed -e "s@^$RPM_BUILD_ROOT@@g" \
39 -e "s@^/usr/lib/nagios/plugins/@%attr(0550,nagios,root) &@"\
40 >> %{name}-%{version}-filelist
41 find $RPM_BUILD_ROOT -depth -type l -print |\
42 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files -f %{name}-%{version}-filelist
48 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed