]> git.pld-linux.org Git - packages/bwm-ng.git/blobdiff - bwm-ng.spec
- md5
[packages/bwm-ng.git] / bwm-ng.spec
index be032c5f8ee0f12bd3572732d2b45cd58305742c..4229356827bdc2b5099b2c3e5cef1ac1002ecade 100644 (file)
@@ -1,14 +1,17 @@
 Summary:       Bandwidth monitor - display bandwidth usage on all interfaces
 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
 Name:          bwm-ng
-Version:       0.5
+Version:       0.6.1
 Release:       1
 License:       GPL
 Group:         Networking/Utilities
 Release:       1
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://www.gropp.org/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 4c5197527c985dc8b45973dfd00deca0
+Source0:       http://www.gropp.org/bwm-ng/%{name}-%{version}.tar.gz
+# Source0-md5: ef0c7669508e95f56250ad4f8db98b7f
+Patch0:                %{name}-procfile.patch
 URL:           http://www.gropp.org/
 URL:           http://www.gropp.org/
-BuildRequires: libstatgrab-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libstatgrab-devel >= 0.91
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,20 +24,25 @@ 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.
 
 curses, CSV, or HTML. Unlimited interfaces are supported and will be
 added dynamically while running.
 
-%description -l pl
-Bandwidth Monitor NG to ma³y i prosty dzia³aj±cy na terminalu
+%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
 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.
+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
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make} \
        CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
 %configure
 %{__make} \
        CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
@@ -42,6 +50,7 @@ dynamicznie w trakcie dzia
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
 %install
 rm -rf $RPM_BUILD_ROOT
 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
 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
@@ -51,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README changelog
+%doc AUTHORS ChangeLog NEWS README THANKS bwm-ng.css
 %attr(755,root,root) %{_bindir}/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwm-ng.conf
 %{_mandir}/man1/*
 %attr(755,root,root) %{_bindir}/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwm-ng.conf
 %{_mandir}/man1/*
This page took 0.309745 seconds and 4 git commands to generate.