update to 6.0.1 [release 6.0.1-1mamba;Sun Apr 28 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:25:17 +01:00
parent 2afe013b1d
commit e2a8e3c8ea
2 changed files with 76 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# perl-Net-SNMP # perl-Net-SNMP
The Net::SNMP module implements an object oriented interface to the Simple Network Management Protocol.
Perl applications can use the module to retrieve or update information on a remote host using the SNMP protocol.
The module supports SNMP version-1, SNMP version-2c (Community-Based SNMPv2), and SNMP version-3.
The Net::SNMP module assumes that the user has a basic understanding of the Simple Network Management Protocol and related network management concepts.

71
perl-Net-SNMP.spec Normal file
View File

@ -0,0 +1,71 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Net-SNMP
Version: 6.0.1
Release: 1mamba
Summary: Net::SNMP - Object oriented interface to SNMP
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://search.cpan.org/CPAN/authors/id/D/DT/DTOWN/Net-SNMP-v%{version}.tar.gz
URL: http://www.cpan.org
License: GPL
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Net::SNMP module implements an object oriented interface to the Simple Network Management Protocol.
Perl applications can use the module to retrieve or update information on a remote host using the SNMP protocol.
The module supports SNMP version-1, SNMP version-2c (Community-Based SNMPv2), and SNMP version-3.
The Net::SNMP module assumes that the user has a basic understanding of the Simple Network Management Protocol and related network management concepts.
%prep
%setup -q -n Net-SNMP-v%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
- update to 6.0.1
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-3mamba
- perl 5.16 mass rebuild
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-2mamba
- automatic rebuild by autodist
* Wed Mar 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
- update to version 5.2.0 by autospec
* Fri Mar 24 2006 Davide Madrisan <davide.madrisan@qilinux.it> 4.1.2-2qilnx
- perl script updated
* Wed Jun 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 4.1.2-1qilnx
- first build