]> git.pld-linux.org Git - packages/iptraf-ng.git/blame - iptraf-ng.spec
up to 1.2.1
[packages/iptraf-ng.git] / iptraf-ng.spec
CommitLineData
0c0a6eae
AM
1Summary: IPTraf is a console-based network monitoring program
2Summary(es.UTF-8): Herramienta para verificación de redes desde consolas
3Summary(pl.UTF-8): IPTraf służy do monitorowania sieci
4Summary(pt_BR.UTF-8): Ferramenta baseada no console para monitoração de rede
5Summary(ru.UTF-8): IPTraf - консольная программа мониторинга сетевого траффика
6Summary(uk.UTF-8): IPTraf - консольна програма моніторингу трафіку в мережі
7Name: iptraf-ng
ae401b93
JP
8Version: 1.2.1
9Release: 1
0c0a6eae
AM
10License: GPL
11Group: Networking/Utilities
ae401b93
JP
12Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}/%{name}-%{version}.tar.gz
13# Source0-md5: 3e6b425e21c7dc5df35b40799cbfe7dd
14URL: https://github.com/iptraf-ng/iptraf-ng/
15BuildRequires: docbook-dtd41-sgml
16BuildRequires: docbook-utils
17BuildRequires: ncurses-devel
0c0a6eae 18BuildRequires: ncurses-ext-devel >= 5.4
d206c84d 19Obsoletes: iptraf
0c0a6eae
AM
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23IPTraf is a console-based network monitoring utility. IPTraf gathers
24data like TCP connection packet and byte counts, interface statistics
25and activity indicators, TCP/UDP traffic breakdowns, and LAN station
26packet and byte counts. IPTraf features include an IP traffic monitor
27which shows TCP flag information, packet and byte counts, ICMP
28details, OSPF packet types, and oversized IP packet warnings;
29interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP
30packet counts, IP checksum errors, interface activity and packet size
31counts; a TCP and UDP service monitor showing counts of incoming and
32outgoing packets for common TCP and UDP application ports, a LAN
33statistics module that discovers active hosts and displays statistics
34about their activity; TCP, UDP and other protocol display filters so
35you can view just the traffic you want; logging; support for Ethernet,
36FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the
37built-in raw socket interface of the Linux kernel, so it can be used
38on a wide variety of supported network cards.
39
40%description -l es.UTF-8
41Herramienta para verificación de redes desde consolas.
42
43%description -l pl.UTF-8
44IPTraf jest narzędziem służącym do monitorowania sieci. Posiada
45kolorowy, prosty w obsłudze interfejs. Współpracuje z wieloma
46protokołami sieciowymi. Obsługuje standardy : Ethernet i PPP/SLIP.
47
48%description -l pt_BR.UTF-8
49O IPTraf é uma ferramenta de monitoração baseada no modo console, para
50o Linux que mostra informações sobre o tráfego IP.
51
52%description -l ru.UTF-8
53IPTraf - консольная программа мониторинга сетевого IP-траффика. Ее
54можно использовать, среди прочего, для определения типа траффика в
55вашей сети и того, какой вид сервиса самый используемый на каких
56компьютерах. IPTraf работает с интерфейсами Ethernet и SLIP/PPP.
57
58%description -l uk.UTF-8
59IPTraf - консольна утиліта моніторингу IP-трафіку в мережі. Її можна
60використовувати, поміж іншим, для визначення типу трафіку у вашій
61мережі і того, який вид сервісу найбільш використовується на
62конкретних комп'ютерах. IPTraf працює з інтерфейсами Ethernet та
63SLIP/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
79rm -rf $RPM_BUILD_ROOT
31753a6c 80install -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
94rm -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*
This page took 0.08166 seconds and 4 git commands to generate.