]>
Commit | Line | Data |
---|---|---|
fa1aca29 | 1 | # TODO: |
2 | # - pack gconnmon to separate package | |
ea40581a | 3 | Summary: Connection Monitor |
e576c8c2 | 4 | Summary(pl.UTF-8): Monitor połączeń |
ea40581a | 5 | Name: connmon |
d2c6aae6 | 6 | Version: 0.13.0 |
fa1aca29 | 7 | Release: 2 |
ea40581a | 8 | License: GPL |
9 | Group: Applications/Networking | |
ea40581a | 10 | Source0: http://www.student.lu.se/~nbi98oli/src/%{name}-%{version}.tar.gz |
d2c6aae6 | 11 | # Source0-md5: b898f86769eb44ad6847bfa8f0a379f7 |
ea40581a | 12 | URL: http://www.student.lu.se/~nbi98oli/ |
3c2c0b75 | 13 | BuildRequires: adns-devel |
bb3b9d49 | 14 | BuildRequires: bison |
01fd753a | 15 | BuildRequires: gtk+-devel |
42770e14 | 16 | BuildRequires: ncurses-devel >= 5.2 |
ea40581a | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f53c077b | 18 | |
19 | %description | |
20 | Connection Monitor is a connection and bandwidth monitoring program | |
21 | with a console-based user interface. It displays a list of open TCP | |
22 | and UDP connections with transfer rate (in bytes per second) for each | |
ea40581a | 23 | connection. This requires a linux 2.4 kernel with Netfilter connection |
24 | tracking facilities. A small patch (included with ConnMon) is | |
25 | necessary to get the transfer rates displayed. | |
f53c077b | 26 | |
940da9e6 JR |
27 | %description -l pl.UTF-8 |
28 | Connection Monitor to program monitorujący połączenia i przepustowość | |
29 | z konsolowym interfejsem użytkownika. Wyświetla listę otwartych | |
30 | połączeń TCP i UDP wraz z prędkością przesyłu danych (w bajtach na | |
31 | sekundę) dla każdego połączenia. Wymaga jądra 2.4 z możliwościami | |
32 | śledzenia połączeń w Netfilterze. Potrzebna jest mała łata (załączona | |
33 | z programem), aby otrzymywać prędkości przesyłu danych. | |
3307adf9 | 34 | |
f53c077b | 35 | %prep |
36 | %setup -q | |
37 | ||
38 | %build | |
fa1aca29 | 39 | %{__make} \ |
42770e14 | 40 | CFLAGS="-DHAVE_CONFIG_H -Wall `gtk-config --cflags` -I/usr/include/ncurses -I../compat -I../libconnmon -I../libhpnl -I.. -I. %{rpmcflags}" |
310f1a4e | 41 | |
f53c077b | 42 | %install |
ea40581a | 43 | rm -rf $RPM_BUILD_ROOT |
44 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
45 | ||
46 | install src/connmon/connmon $RPM_BUILD_ROOT%{_sbindir} | |
f53c077b | 47 | |
48 | %clean | |
3307adf9 | 49 | rm -rf $RPM_BUILD_ROOT |
f53c077b | 50 | |
51 | %files | |
ea40581a | 52 | %defattr(644,root,root,755) |
9a04b9d7 | 53 | %doc kernel ChangeLog NEWS README TODO |
ea40581a | 54 | %attr(755,root,root) %{_sbindir}/* |