]> git.pld-linux.org Git - packages/fetchconfig.git/commitdiff
- init PLD spec
authorareq <areq@pld-linux.org>
Thu, 15 Feb 2007 23:12:00 +0000 (23:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fetchconfig.spec -> 1.1

fetchconfig.spec [new file with mode: 0644]

diff --git a/fetchconfig.spec b/fetchconfig.spec
new file mode 100644 (file)
index 0000000..2821cbc
--- /dev/null
@@ -0,0 +1,45 @@
+
+%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
This page took 0.324809 seconds and 4 git commands to generate.