Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
perl-Net-sFlow
> perl-Net-sFlow.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Net-sFlow.spec of Package perl-Net-sFlow
%define real_name Net-sFlow %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) Summary: Perl module decoding sFlow datagrams Name: perl-Net-sFlow Version: 0.11 Release: 1 License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/Net-sFlow/ Source: Net-sFlow-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl %description Perl extension for decoding sFlow datagrams. %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %makeinstall %{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod %{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist %{__rm} -f %{buildroot}%{_bindir}/sFluxDebug.pl %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc README %doc %{_mandir}/man3/* %{perl_vendorlib}/Net/sFlow.pm %changelog