]> git.pld-linux.org Git - packages/bwm-ng.git/blobdiff - bwm-ng.spec
- updated to 0.6
[packages/bwm-ng.git] / bwm-ng.spec
index 71f5cdf88ef570ea563f75288d7143655b395f63..9e10280f079e611895d44ff5bc87cd6c3ab0b21a 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       Bandwidth monitor - display bandwidth usage on all interfaces
-Summary(pl):   Bandwidth monitor - wy¶wietlanie obci±¿enia na interfejsach
+Summary(pl.UTF-8):     Bandwidth monitor - wyświetlanie obciążenia na interfejsach
 Name:          bwm-ng
-Version:       0.4
-Release:       1
+Version:       0.5
+Release:       2
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://www.gropp.org/%{name}-%{version}.tar.gz
-# Source0-md5: 4fc0839ae212bc0b805fc4adeb55a3ac
+Source0:       http://www.gropp.org/bwm-ng/%{name}-%{version}.tar.gz
+# Source0-md5: 4c5197527c985dc8b45973dfd00deca0
+Patch0:                %{name}-procfile.patch
 URL:           http://www.gropp.org/
 BuildRequires: libstatgrab-devel
 BuildRequires: ncurses-devel
@@ -21,8 +22,19 @@ those interfaces that are up. Output is possible as plain console,
 curses, CSV, or HTML. Unlimited interfaces are supported and will be
 added dynamically while running.
 
+%description -l pl.UTF-8
+Bandwidth Monitor NG to mały i prosty działający na terminalu
+tekstowym monitor wykorzystania pasma dla Linuksa, BSD i Mac OS X lub
+innych systemów z interfejsem /proc/net/dev, netstat, getifaddrs,
+sysctl lub libstatgrab. Można wybrać, czy mają być pokazywane
+wszystkie interfejsy, czy tylko aktualnie włączone. Obsługiwane jest
+wyjście na zwykłą konsolę, przez curses, w CSV lub w HTML-u.
+Obsługiwana jest nieograniczona liczba interfejsów, będą one dodawane
+dynamicznie w trakcie działania programu.
+
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -31,15 +43,18 @@ added dynamically while running.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
-install bwm-ng $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
+
+install src/bwm-ng $RPM_BUILD_ROOT%{_bindir}
 install bwm-ng.conf-example $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
+install bwm-ng.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README changelog
+%doc AUTHORS README changelog
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwm-ng.conf
+%{_mandir}/man1/*
This page took 0.07444 seconds and 4 git commands to generate.