]> git.pld-linux.org Git - packages/cdpr.git/blob - cdpr.spec
- initial release.
[packages/cdpr.git] / cdpr.spec
1 Summary:        Cisco Discovery Protocol Reporter
2 Summary(pl):    Cisco Discovery Protocol Reporter
3 Name:           cdpr
4 Version:        1.0.2
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://www.monkeymental.com/mmfiles/%{name}-%{version}.tgz
9 URL:            http://www.monkeymental.com/nuke/
10 BuildRequires:  libpcap-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 cdpr (Cisco Discovery Protocol Reporter) shows the switch and port
15 that a machine is connected to, provided that the device supports CDP.
16 It can also optionally decode the full CDP packet. cdpr was written to
17 help network/system administrators find out about the equipment that a
18 machine is connected to. This is done by capturing and decoding a
19 Cisco Discovery Protocol (CDP) packet.
20
21 %description -l pl
22 cdpr (Cisco Discovery Protocol Reporter) pokazuje stan switcha i
23 portu, do którego maszyna jest pod³±czona, je¿eli obs³uguje ona CDP.
24 Mo¿e tak¿e dekodowaæ ca³y pakiet CDP. cdpr zosta³ napisany aby pomóc
25 administratorom systemu/sieci dowiedzieæ siê do jakiego sprzêtu s±
26 pod³±czone maszyny. Jest to robione poprzez przechwytywanie i
27 dekodowanie pakietów Cisco Discovery Protocol (CDP).
28
29 %prep
30 %setup -q
31
32 %build
33 %{__cc} %{rpmcflags} %{rpmldflags} -o cdpr cdpr.c -Wall -lpcap
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -D cdpr $RPM_BUILD_ROOT%{_sbindir}/cdpr
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README
45 %attr(754,root,root) %{_sbindir}/cdpr
This page took 1.479334 seconds and 3 git commands to generate.