]>
Commit | Line | Data |
---|---|---|
0c0a6eae AM |
1 | Summary: IPTraf is a console-based network monitoring program |
2 | Summary(es.UTF-8): Herramienta para verificación de redes desde consolas | |
3 | Summary(pl.UTF-8): IPTraf służy do monitorowania sieci | |
4 | Summary(pt_BR.UTF-8): Ferramenta baseada no console para monitoração de rede | |
5 | Summary(ru.UTF-8): IPTraf - консольная программа мониторинга сетевого траффика | |
6 | Summary(uk.UTF-8): IPTraf - консольна програма моніторингу трафіку в мережі | |
7 | Name: iptraf-ng | |
ae401b93 JP |
8 | Version: 1.2.1 |
9 | Release: 1 | |
0c0a6eae AM |
10 | License: GPL |
11 | Group: Networking/Utilities | |
ae401b93 JP |
12 | Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}/%{name}-%{version}.tar.gz |
13 | # Source0-md5: 3e6b425e21c7dc5df35b40799cbfe7dd | |
14 | URL: https://github.com/iptraf-ng/iptraf-ng/ | |
15 | BuildRequires: docbook-dtd41-sgml | |
16 | BuildRequires: docbook-utils | |
17 | BuildRequires: ncurses-devel | |
0c0a6eae | 18 | BuildRequires: ncurses-ext-devel >= 5.4 |
d206c84d | 19 | Obsoletes: iptraf |
0c0a6eae AM |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | IPTraf is a console-based network monitoring utility. IPTraf gathers | |
24 | data like TCP connection packet and byte counts, interface statistics | |
25 | and activity indicators, TCP/UDP traffic breakdowns, and LAN station | |
26 | packet and byte counts. IPTraf features include an IP traffic monitor | |
27 | which shows TCP flag information, packet and byte counts, ICMP | |
28 | details, OSPF packet types, and oversized IP packet warnings; | |
29 | interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP | |
30 | packet counts, IP checksum errors, interface activity and packet size | |
31 | counts; a TCP and UDP service monitor showing counts of incoming and | |
32 | outgoing packets for common TCP and UDP application ports, a LAN | |
33 | statistics module that discovers active hosts and displays statistics | |
34 | about their activity; TCP, UDP and other protocol display filters so | |
35 | you can view just the traffic you want; logging; support for Ethernet, | |
36 | FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the | |
37 | built-in raw socket interface of the Linux kernel, so it can be used | |
38 | on a wide variety of supported network cards. | |
39 | ||
40 | %description -l es.UTF-8 | |
41 | Herramienta para verificación de redes desde consolas. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | IPTraf jest narzędziem służącym do monitorowania sieci. Posiada | |
45 | kolorowy, prosty w obsłudze interfejs. Współpracuje z wieloma | |
46 | protokołami sieciowymi. Obsługuje standardy : Ethernet i PPP/SLIP. | |
47 | ||
48 | %description -l pt_BR.UTF-8 | |
49 | O IPTraf é uma ferramenta de monitoração baseada no modo console, para | |
50 | o Linux que mostra informações sobre o tráfego IP. | |
51 | ||
52 | %description -l ru.UTF-8 | |
53 | IPTraf - консольная программа мониторинга сетевого IP-траффика. Ее | |
54 | можно использовать, среди прочего, для определения типа траффика в | |
55 | вашей сети и того, какой вид сервиса самый используемый на каких | |
56 | компьютерах. IPTraf работает с интерфейсами Ethernet и SLIP/PPP. | |
57 | ||
58 | %description -l uk.UTF-8 | |
59 | IPTraf - консольна утиліта моніторингу IP-трафіку в мережі. Її можна | |
60 | використовувати, поміж іншим, для визначення типу трафіку у вашій | |
61 | мережі і того, який вид сервісу найбільш використовується на | |
62 | конкретних комп'ютерах. IPTraf працює з інтерфейсами Ethernet та | |
63 | SLIP/PPP. | |
64 | ||
0c0a6eae AM |
65 | %prep |
66 | %setup -q | |
67 | ||
68 | %build | |
ae401b93 JP |
69 | %{__make} \ |
70 | CC="%{__cc}" \ | |
71 | CPPFLAGS="%{rpmcppflags}" \ | |
72 | CFLAGS="%{rpmcflags}" \ | |
73 | LDFLAGS="%{rpmldflags}" \ | |
74 | V=1 | |
75 | ||
76 | %{__make} html | |
0c0a6eae AM |
77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
31753a6c | 80 | install -d $RPM_BUILD_ROOT/var/{lib,log}/iptraf-ng |
0c0a6eae AM |
81 | |
82 | %{__make} install \ | |
e32eaa0a | 83 | DESTDIR=$RPM_BUILD_ROOT \ |
ae401b93 JP |
84 | V=1 \ |
85 | prefix="%{_prefix}" \ | |
86 | localedir="%{_localedir}" \ | |
87 | mandir="%{_mandir}" \ | |
88 | sbindir="%{_sbindir}" \ | |
89 | sharedir="%{_datadir}" \ | |
90 | sysconfdir="%{_sysconfdir}" \ | |
91 | lib="%{_lib}" | |
0c0a6eae AM |
92 | |
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
ae401b93 | 98 | %doc AUTHORS CHANGES FAQ README* |
0c0a6eae | 99 | %doc Documentation/*.{html,png} |
31753a6c | 100 | %attr(755,root,root) %{_sbindir}/iptraf-ng |
31753a6c AM |
101 | %attr(750,root,root) %dir /var/lib/iptraf-ng |
102 | %attr(750,root,root) %dir /var/log/iptraf-ng | |
ae401b93 | 103 | %{_mandir}/man8/iptraf-ng.8* |