]> git.pld-linux.org Git - packages/bwm-tools.git/blame - bwm-tools.spec
- tabs in preamble
[packages/bwm-tools.git] / bwm-tools.spec
CommitLineData
e9da41e5 1Summary: Bandwidth Management Tools
9ec4e218 2Summary(pl.UTF-8): Narzędzia do zarządzania pasmem
e9da41e5 3Name: bwm-tools
c5bc9035 4Version: 0.2.1
1abcc697 5Release: 0.2
e9da41e5
SP
6License: GPL
7Group: Applications
8Source0: http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2
c5bc9035 9# Source0-md5: 1ca23ec25369057254b9ee24f0a2d1c7
e9da41e5 10URL: http://bwm-tools.pr.linuxrulz.org/
773fb633 11BuildRequires: autoconf
12BuildRequires: cgilibc-devel
13BuildRequires: gd-devel
e62102be 14BuildRequires: glib2-devel >= 2.2.0
b0b79bc0 15BuildRequires: libxml2-devel >= 2.5.0
773fb633 16BuildRequires: ncurses-ext-devel
3f8da8b5 17BuildRequires: pkgconfig
1abcc697 18BuildRequires: rrdtool-devel >= 1.2.10
e9da41e5
SP
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Bandwidth Management Tools is a total bandwidth management solution
23for Linux and can be used for firewalling, traffic graphing, and
24shaping. It is not based on any currently-available bandwidth
25management software and supports packet queues, bursting, complex
26traffic flow hierarchies, flow groups, traffic logging, and a simple
27real-time monitoring front-end.
28
7fb686db
JR
29%description -l pl.UTF-8
30Bandwidth Management Tools to kompletne rozwiązanie zarządzania pasmem
31dla Linuksa, które może być używane do zapór sieciowych, wykresów
32ruchu oraz ograniczania pasma. Nie jest oparte na żadnym dotychczas
33dostępnym oprogramowaniu do zarządzania pasmem i obsługuje kolejki
34pakietów, strumienie, złożone hierarchie przepływu ruchu, grupy
35przepływów, logowanie ruchu oraz prosty frontend do monitorowania w
b0b79bc0 36czasie 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
48rm -rf $RPM_BUILD_ROOT
e9da41e5
SP
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
a5b7f530 53install -d $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools
54install doc/example.xml $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools/
55
e9da41e5
SP
56%clean
57rm -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}
This page took 0.05838 seconds and 4 git commands to generate.