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