automatic rebuild by autodist [release 0.11-4mamba;Wed Nov 05 2008]
This commit is contained in:
parent
3f636de1e9
commit
8301eed509
@ -1,2 +1,5 @@
|
||||
# perl-Mon
|
||||
|
||||
This is the Perl5 module for interfacing with the Mon system monitoring package.
|
||||
Currently only the client interface is implemented, but more things like special logging routines and persistent monitors are being considered.
|
||||
|
||||
|
61
perl-Mon.spec
Normal file
61
perl-Mon.spec
Normal file
@ -0,0 +1,61 @@
|
||||
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
||||
Name: perl-Mon
|
||||
Version: 0.11
|
||||
Release: 4mamba
|
||||
Summary: A Perl5 module for interfacing with the Mon system monitoring package
|
||||
Group: Development/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Tiziana Ferro <tiziana.ferro@email>
|
||||
Source: http://www.cpan.org/authors/id/T/TR/TROCKIJ/Mon-%{version}.tar.gz
|
||||
URL: http://www.cpan.org
|
||||
License: GPL
|
||||
BuildRoot: %{_tmppath}/perl-root
|
||||
Requires: perl >= %PERL_VERSION
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: perl-Convert-BER
|
||||
BuildRequires: perl-devel >= %PERL_VERSION
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
This is the Perl5 module for interfacing with the Mon system monitoring package.
|
||||
Currently only the client interface is implemented, but more things like special logging routines and persistent monitors are being considered.
|
||||
|
||||
%prep
|
||||
%setup -q -n Mon-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
|
||||
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Mon/.packlist | \
|
||||
sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \
|
||||
sort -u > .packlist
|
||||
rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Mon/.packlist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-4mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Wed Jun 25 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.11-3mamba
|
||||
- update specfile macros
|
||||
- update Vendor, Distribution, mantainer
|
||||
|
||||
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-2qilnx
|
||||
- make a less strict perl version check (>=)
|
||||
|
||||
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-1qilnx
|
||||
- First build
|
Loading…
Reference in New Issue
Block a user