]> git.pld-linux.org Git - packages/bwm-tools.git/blob - bwm-tools.spec
3b41f188871f2b51163995e03d99e953d08e7873
[packages/bwm-tools.git] / bwm-tools.spec
1 Summary:        Bandwidth Management Tools
2 Summary(pl):    Narzêdzia do zarz±dzania pasmem
3 Name:           bwm-tools
4 Version:        0.2.1
5 Release:        0.2
6 License:        GPL
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2
9 # Source0-md5:  1ca23ec25369057254b9ee24f0a2d1c7
10 URL:            http://bwm-tools.pr.linuxrulz.org/
11 BuildRequires:  autoconf
12 BuildRequires:  cgilibc-devel
13 BuildRequires:  gd-devel
14 BuildRequires:  glib2-devel >= 2.2.0
15 BuildRequires:  libxml2-devel >= 2.5.0
16 BuildRequires:  ncurses-ext-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  rrdtool-devel >= 1.2.10
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
29 %description -l pl
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
36 czasie rzeczywistym.
37
38 %prep
39 %setup -q -n bwm_tools-%{version}
40
41 %build
42 %{__autoconf}
43 %configure
44 %{__make} \
45     CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools
54 install doc/example.xml $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools/
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README TODO
62 %{_infodir}/bwmtools.info*
63
64 %attr(750,root,root) %dir %{_sysconfdir}/bwm_tools/
65 %attr(640,root,root) %{_sysconfdir}/bwm_tools/example.xml
66
67 %attr(755,root,root) %{_bindir}/*
68 %attr(755,root,root) %{_libdir}/libbwm*
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}
This page took 0.069479 seconds and 2 git commands to generate.