]>
Commit | Line | Data |
---|---|---|
1a560949 | 1 | |
2 | Summary: Fetchconfig device configuration retrieval software | |
4e276930 | 3 | Summary(pl.UTF-8): fetchconfig - program do odczytu konfiguracji urządzeń |
1a560949 | 4 | Name: fetchconfig |
4d9c18ac | 5 | Version: 0.22 |
9c5376b9 | 6 | Release: 1 |
1a560949 | 7 | License: GPL v2 |
8 | Group: Applications/System | |
9 | Source0: http://download.savannah.gnu.org/releases/fetchconfig/%{name}-%{version}.tar.gz | |
4d9c18ac | 10 | # Source0-md5: 6b6d666efec9de3e4a29dda18426b34d |
1a560949 | 11 | URL: http://www.nongnu.org/fetchconfig/ |
211cfd50 | 12 | BuildRequires: rpm-perlprov |
1a560949 | 13 | Requires: perl-base |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | fetchconfig is a Perl script for retrieving the configuration of | |
19 | multiple devices. It has been tested under Linux and Windows, and | |
20 | currently supports a variety of devices. | |
21 | ||
22 | With some simple Perl programming, it is easily adaptable to any | |
23 | network devices which provides functionality similar to Cisco's "show | |
24 | running-config" command. | |
25 | ||
4e276930 JB |
26 | %description -l pl.UTF-8 |
27 | fetchconfig to skrypt Perla do odczytu konfiguracji z wielu | |
28 | urządzeń. Był testowany pod Linuksem i Windows, aktualnie obsługuje | |
29 | różne urządzenia. | |
30 | ||
31 | Przy użyciu prostego programowania w Perlu można go łatwo przystosować | |
32 | do dowolnych urządzeń sieciowych udostępniających funkcjonalność | |
33 | podobną do polecenia "show running-config" z Cisco. | |
34 | ||
1a560949 | 35 | %prep |
36 | %setup -q | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
1a560949 | 40 | install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}/fetchconfig/model} |
41 | ||
42 | install fetchconfig.pl $RPM_BUILD_ROOT%{_bindir}/fetchconfig | |
4e276930 JB |
43 | install fetchconfig/*.pm $RPM_BUILD_ROOT%{perl_vendorlib}/fetchconfig |
44 | install fetchconfig/model/*.pm $RPM_BUILD_ROOT%{perl_vendorlib}/fetchconfig/model | |
1a560949 | 45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
16985199 | 51 | %doc CHANGES CREDITS README device_table.example |
1a560949 | 52 | %attr(755,root,root) %{_bindir}/fetchconfig |
53 | %{perl_vendorlib}/fetchconfig |