]>
Commit | Line | Data |
---|---|---|
e9da41e5 | 1 | Summary: Bandwidth Management Tools |
9ec4e218 | 2 | Summary(pl.UTF-8): Narzędzia do zarządzania pasmem |
e9da41e5 | 3 | Name: bwm-tools |
c5bc9035 | 4 | Version: 0.2.1 |
1abcc697 | 5 | Release: 0.2 |
e9da41e5 SP |
6 | License: GPL |
7 | Group: Applications | |
8 | Source0: http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2 | |
c5bc9035 | 9 | # Source0-md5: 1ca23ec25369057254b9ee24f0a2d1c7 |
e9da41e5 | 10 | URL: http://bwm-tools.pr.linuxrulz.org/ |
773fb633 | 11 | BuildRequires: autoconf |
12 | BuildRequires: cgilibc-devel | |
13 | BuildRequires: gd-devel | |
e62102be | 14 | BuildRequires: glib2-devel >= 2.2.0 |
b0b79bc0 | 15 | BuildRequires: libxml2-devel >= 2.5.0 |
773fb633 | 16 | BuildRequires: ncurses-ext-devel |
3f8da8b5 | 17 | BuildRequires: pkgconfig |
1abcc697 | 18 | BuildRequires: rrdtool-devel >= 1.2.10 |
e9da41e5 SP |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Bandwidth Management Tools is a total bandwidth management solution | |
23 | for Linux and can be used for firewalling, traffic graphing, and | |
24 | shaping. It is not based on any currently-available bandwidth | |
25 | management software and supports packet queues, bursting, complex | |
26 | traffic flow hierarchies, flow groups, traffic logging, and a simple | |
27 | real-time monitoring front-end. | |
28 | ||
7fb686db JR |
29 | %description -l pl.UTF-8 |
30 | Bandwidth Management Tools to kompletne rozwiązanie zarządzania pasmem | |
31 | dla Linuksa, które może być używane do zapór sieciowych, wykresów | |
32 | ruchu oraz ograniczania pasma. Nie jest oparte na żadnym dotychczas | |
33 | dostępnym oprogramowaniu do zarządzania pasmem i obsługuje kolejki | |
34 | pakietów, strumienie, złożone hierarchie przepływu ruchu, grupy | |
35 | przepływów, logowanie ruchu oraz prosty frontend do monitorowania w | |
b0b79bc0 | 36 | czasie rzeczywistym. |
e9da41e5 SP |
37 | |
38 | %prep | |
39 | %setup -q -n bwm_tools-%{version} | |
40 | ||
e9da41e5 | 41 | %build |
773fb633 | 42 | %{__autoconf} |
e9da41e5 | 43 | %configure |
773fb633 | 44 | %{__make} \ |
94acf2f7 | 45 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
e9da41e5 SP |
46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
e9da41e5 SP |
49 | |
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
a5b7f530 | 53 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools |
54 | install doc/example.xml $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools/ | |
55 | ||
e9da41e5 SP |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
773fb633 | 61 | %doc AUTHORS ChangeLog NEWS README TODO |
a5b7f530 | 62 | %{_infodir}/bwmtools.info* |
e9da41e5 | 63 | |
a5b7f530 | 64 | %attr(750,root,root) %dir %{_sysconfdir}/bwm_tools/ |
65 | %attr(640,root,root) %{_sysconfdir}/bwm_tools/example.xml | |
e9da41e5 SP |
66 | |
67 | %attr(755,root,root) %{_bindir}/* | |
a5b7f530 | 68 | %attr(755,root,root) %{_libdir}/libbwm* |
e9da41e5 SP |
69 | |
70 | # initscript and its config | |
71 | #%attr(754,root,root) /etc/rc.d/init.d/%{name} | |
72 | #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |