1 %include /usr/lib/rpm/macros.perl
2 Summary: A3Com - manipulation of 3Com SuperStack II
3 Summary(pl): A3Com - manipulacje 3Com SuperStack II
8 Group: Networking/Utilities
9 Source0: http://www.kernel.org/pub/software/admin/A3Com/%{name}-%{version}.tar.bz2
10 URL: http://www.kernel.org/software/A3Com/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 A3Com is a set of Perl 5 modules which allow manipulation of 3Com
15 SuperStack II 3900/9300 and CoreBuilder 3500 LAN switches. Currently
16 there are modules which can use either the SNMP or telnet interface
19 - -dump the ARP tables
21 - -search switches for a MAC address, IP address, or hostname
22 - -change admin passwords in batch mode
23 - -save and restore switch configurations via SNMP
24 - -upload new firmware via SNMP (batch mode)
25 - -and collect per-port ethernet details like current autonegotiation
26 mode and duplex settings
27 - -keep global caches of ARP and bridge tables for fast searches
28 - -keep global ARP history as a merged ARP database from
37 cat $i | sed -e "s/\%{_prefix}\/local\/bin/\%{_prefix}\/bin/" > tmp
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_bindir}
47 %{__make} DESTDIR=$RPM_BUILD_ROOT install
49 install tools/* $RPM_BUILD_ROOT%{_bindir}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc CHANGELOG TODO README test.pl
57 %attr(755,root,root) %{_bindir}/*
58 %{perl_sitelib}/A3Com/*.pm