]> git.pld-linux.org Git - packages/bwm-tools.git/blame_incremental - bwm-tools.spec
- tabs in preamble
[packages/bwm-tools.git] / bwm-tools.spec
... / ...
CommitLineData
1Summary: Bandwidth Management Tools
2Summary(pl.UTF-8): Narzędzia do zarządzania pasmem
3Name: bwm-tools
4Version: 0.2.1
5Release: 0.2
6License: GPL
7Group: Applications
8Source0: http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2
9# Source0-md5: 1ca23ec25369057254b9ee24f0a2d1c7
10URL: http://bwm-tools.pr.linuxrulz.org/
11BuildRequires: autoconf
12BuildRequires: cgilibc-devel
13BuildRequires: gd-devel
14BuildRequires: glib2-devel >= 2.2.0
15BuildRequires: libxml2-devel >= 2.5.0
16BuildRequires: ncurses-ext-devel
17BuildRequires: pkgconfig
18BuildRequires: rrdtool-devel >= 1.2.10
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
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
36czasie 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
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53install -d $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools
54install doc/example.xml $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools/
55
56%clean
57rm -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.076831 seconds and 5 git commands to generate.