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

Annotation 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.2 - (hide annotations) (download)
Wed Feb 27 18:22:37 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: nagios-plugins-generic-1_0_0-0_el4_sme
Changes since 1.1: +3 -11 lines
Fix specfile

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

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