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

Annotation of /rpms/nagios-plugins-generic/contribs7/nagios-plugins-generic-1.0.0.spec

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


Revision 1.2 - (hide annotations) (download)
Wed Feb 27 17:53:46 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove version from spec

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     %define release 0.el4.rf
6     Version: %{version}
7     Release: %{release}
8     License: GPL
9     Group: Applications/System
10     URL: http://www.my-plugin.de/wiki/doku.php
11     Source: %{name}-%{version}.tar.gz
12     Packager: Michael Weinberger <mweinber@neddix.de>
13     BuildRoot: /var/tmp/%{name}-buildroot/
14     BuildArch: noarch
15     Requires: nagios
16     AutoReq: no
17    
18     %changelog
19     * Thu Nov 1 2007 Michael Weinberger <mweinber@neddix.de>
20     - Initial release
21    
22     %description
23     http://www.my-plugin.de/wiki/doku.php/projects:check_generic:start
24     %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     %pre
44    
45     %post
46    
47     %preun
48    
49     %postun
50    
51     %files -f %{name}-%{version}-filelist
52     %defattr(-,root,root)

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