Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > e71572993197c72507115ef384fd1c52 > files > 2

perl-UPS-Nut-0.04-1mdk.src.rpm

%define module UPS-Nut
%define pmodule UPS/Nut

Summary: A  perl module to talk to a UPS via NUT upsd
Name:    perl-%module
Version: 0.04
Release: 1mdk
License: GPL or Artistic
Group:   Monitoring
Source:  %module-%version.tar.bz2
BuildRequires: perl-devel
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This is an object-oriented interface between Perl and upsd (Network UPS
Tools package).

%prep
%setup -q -n %module-%version


%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Os -s"
perl Makefile.PL INSTALLDIRS=vendor
%make 

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%doc Changes LICENSE README
%{_mandir}/*/*
%{perl_vendorlib}/UPS/Nut.pm

%changelog
* Fri Nov 07 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.04-1mdk
- initial release