]> git.pld-linux.org Git - packages/cdpr.git/blame - cdpr.spec
- tabs in preamble
[packages/cdpr.git] / cdpr.spec
CommitLineData
0339c1dc
PG
1# TODO:
2# - prepare subpackage with cdp server
3#
7ba17eb6 4Summary: Cisco Discovery Protocol Reporter
2852470f 5Summary(pl.UTF-8): Cisco Discovery Protocol Reporter - narzędzie do śledzenia CDP
7ba17eb6 6Name: cdpr
0339c1dc 7Version: 2.2.0
56e17927 8Release: 3
7ba17eb6
PG
9License: GPL v2
10Group: Applications/System
58cb7a21 11Source0: http://www.monkeymental.com/mmfiles/%{name}-%{version}.tar.gz
0339c1dc 12# Source0-md5: 023b8bd6d399204a66ad728f2aa11ca3
7ba17eb6
PG
13URL: http://www.monkeymental.com/nuke/
14BuildRequires: libpcap-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18cdpr (Cisco Discovery Protocol Reporter) shows the switch and port
19that a machine is connected to, provided that the device supports CDP.
20It can also optionally decode the full CDP packet. cdpr was written to
21help network/system administrators find out about the equipment that a
22machine is connected to. This is done by capturing and decoding a
23Cisco Discovery Protocol (CDP) packet.
24
e0451629 25%description -l pl.UTF-8
7ba17eb6 26cdpr (Cisco Discovery Protocol Reporter) pokazuje stan switcha i
e0451629
JR
27portu, do którego maszyna jest podłączona, jeżeli obsługuje ona CDP.
28Może także dekodować cały pakiet CDP. cdpr został napisany aby pomóc
29administratorom systemu/sieci dowiedzieć się do jakiego sprzętu są
30podłączone maszyny. Jest to robione poprzez przechwytywanie i
31dekodowanie pakietów Cisco Discovery Protocol (CDP).
7ba17eb6
PG
32
33%prep
34%setup -q
35
36%build
58cb7a21 37%{__cc} %{rpmcflags} %{rpmldflags} -o cdpr cdpr.c cdprs.c conffile.c -Wall -lpcap
7ba17eb6
PG
38
39%install
40rm -rf $RPM_BUILD_ROOT
b1fdf831 41
7ba17eb6
PG
42install -D cdpr $RPM_BUILD_ROOT%{_sbindir}/cdpr
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
0339c1dc 49%doc README* cdpr.conf cdprs
7ba17eb6 50%attr(754,root,root) %{_sbindir}/cdpr
This page took 0.080299 seconds and 4 git commands to generate.