]> git.pld-linux.org Git - packages/bwm-tools.git/blobdiff - bwm-tools.spec
- tabs in preamble
[packages/bwm-tools.git] / bwm-tools.spec
index 9dad3e325444804891f40fe3bc2241bf88087308..e20154e0d02b82fc6436341263cae3ff5d7d1fb0 100644 (file)
@@ -1,17 +1,21 @@
 Summary:       Bandwidth Management Tools
+Summary(pl.UTF-8):     Narzędzia do zarządzania pasmem
 Name:          bwm-tools
-Version:       0.2.0
-Release:       0.1
+Version:       0.2.1
+Release:       0.2
 License:       GPL
 Group:         Applications
 Source0:       http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2
-# Source0-md5: 67d2303ec9d34fd319a94f96043ea2d3
+# Source0-md5: 1ca23ec25369057254b9ee24f0a2d1c7
 URL:           http://bwm-tools.pr.linuxrulz.org/
-BuildRequires: libxml2-devel >= 2.5.0
+BuildRequires: autoconf
+BuildRequires: cgilibc-devel
+BuildRequires: gd-devel
 BuildRequires: glib2-devel >= 2.2.0
+BuildRequires: libxml2-devel >= 2.5.0
+BuildRequires: ncurses-ext-devel
 BuildRequires: pkgconfig
-#BuildRequires:        -
-#Requires:     -
+BuildRequires: rrdtool-devel >= 1.2.10
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,47 +26,46 @@ management software and supports packet queues, bursting, complex
 traffic flow hierarchies, flow groups, traffic logging, and a simple
 real-time monitoring front-end.
 
+%description -l pl.UTF-8
+Bandwidth Management Tools to kompletne rozwiązanie zarządzania pasmem
+dla Linuksa, które może być używane do zapór sieciowych, wykresów
+ruchu oraz ograniczania pasma. Nie jest oparte na żadnym dotychczas
+dostępnym oprogramowaniu do zarządzania pasmem i obsługuje kolejki
+pakietów, strumienie, złożone hierarchie przepływu ruchu, grupy
+przepływów, logowanie ruchu oraz prosty frontend do monitorowania w
+czasie rzeczywistym.
 
 %prep
 %setup -q -n bwm_tools-%{version}
 
-#%patch0 -p1
-
 %build
-# if ac/am/* rebuilding is necessary, do it in this order and add
-# appropriate BuildRequires
-#%%{__gettextize}
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
-#cp -f /usr/share/automake/config.sub .
+%{__autoconf}
 %configure
-%{__make}
+%{__make} \
+    CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools
+install doc/example.xml $RPM_BUILD_ROOT%{_sysconfdir}/bwm_tools/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%doc AUTHORS ChangeLog NEWS README TODO
+%{_infodir}/bwmtools.info*
 
-# if _sysconfdir != /etc:
-#%%dir %{_sysconfdir}
-#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(750,root,root) %dir %{_sysconfdir}/bwm_tools/
+%attr(640,root,root) %{_sysconfdir}/bwm_tools/example.xml
 
 %attr(755,root,root) %{_bindir}/*
-
-#%{_datadir}/%{name}
+%attr(755,root,root) %{_libdir}/libbwm*
 
 # initscript and its config
 #%attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.077267 seconds and 4 git commands to generate.