]> git.pld-linux.org Git - packages/bwm-ng.git/blobdiff - bwm-ng.spec
- ncurses rebuild
[packages/bwm-ng.git] / bwm-ng.spec
index be032c5f8ee0f12bd3572732d2b45cd58305742c..3a4316dbd554a73fd8ef54a1d26dfa49ff3a4996 100644 (file)
@@ -1,13 +1,16 @@
 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
-Release:       1
+Version:       0.6
+Release:       3
 License:       GPL
 Group:         Networking/Utilities
 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: d3a02484fb7946371bfb4e10927cebfb
+Patch0:                %{name}-procfile.patch
 URL:           http://www.gropp.org/
 URL:           http://www.gropp.org/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libstatgrab-devel
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: libstatgrab-devel
 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.078291 seconds and 4 git commands to generate.