Author: areq Date: Thu Feb 15 23:12:05 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - init PLD spec
---- Files affected: SPECS: fetchconfig.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/fetchconfig.spec diff -u /dev/null SPECS/fetchconfig.spec:1.1 --- /dev/null Fri Feb 16 00:12:05 2007 +++ SPECS/fetchconfig.spec Fri Feb 16 00:12:00 2007 @@ -0,0 +1,56 @@ +# $Revision$, $Date$ + +%include /usr/lib/rpm/macros.perl + +Summary: Fetchconfig device configuration retrieval software +Name: fetchconfig +Version: 0.5 +Release: 0.1 +License: GPL v2 +Group: Applications/System +Source0: http://download.savannah.gnu.org/releases/fetchconfig/%{name}-%{version}.tar.gz +# Source0-md5: 6e22d95efafc6a74bc728539f8d8ca89 +URL: http://www.nongnu.org/fetchconfig/ +Requires: perl-base +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +fetchconfig is a Perl script for retrieving the configuration of +multiple devices. It has been tested under Linux and Windows, and +currently supports a variety of devices. + +With some simple Perl programming, it is easily adaptable to any +network devices which provides functionality similar to Cisco's "show +running-config" command. + +%prep +%setup -q + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}/fetchconfig/model} + +install fetchconfig.pl $RPM_BUILD_ROOT%{_bindir}/fetchconfig +install fetchconfig/*.pm $RPM_BUILD_ROOT%{perl_vendorlib}/fetchconfig/ +install fetchconfig/model/*.pm $RPM_BUILD_ROOT%{perl_vendorlib}/fetchconfig/model/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES COPYING CREDITS README device_table.example +%attr(755,root,root) %{_bindir}/fetchconfig +%{perl_vendorlib}/fetchconfig + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/02/15 23:12:00 areq +- init PLD spec + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
