Summary: A ppp monitor tool designed for blackbox
-Summary(pl): Narzêdzie minotoruj±ce ppp zaprojektowane dla blackboksa
+Summary(pl.UTF-8): Narzędzie monitorujące połączenia ppp zaprojektowane dla blackboksa
Name: bbppp
-Version: 0.2.2
-Release: 2
+Version: 0.2.3
+Release: 3
License: GPL
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(es): X11/Aplicaciones
-Group(pl): X11/Aplikacje
-Group(pt_BR): X11/Aplicações
-Group(pt): X11/Aplicações
Source0: http://bbtools.windsofstorm.net/sources/%{name}-%{version}.tar.gz
+# Source0-md5: c28c66ec68acc3fa32f3578b02b49b61
Patch0: %{name}-sysconfdir.patch
+Patch1: %{name}-gcc33.patch
URL: http://bbtools.windsofstorm.net/
BuildRequires: XFree86-devel
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
-bbppp allows you to connect and disconnect (with user supplied scripts)
-with dial-up. It monitors load, ligths blinking leds and counts time of
-connection.
-It is highly integrated with blackbox window manager (can use it's
-theme settings), but can work also with other WM.
+bbppp allows you to connect and disconnect (with user supplied
+scripts) with dial-up. It monitors load, lights blinking leds and
+counts time of connection. It is highly integrated with blackbox
+window manager (can use it's theme settings), but can also work with
+other WM.
-%description -l pl
-bbppp pozawala po³±czyæ i roz³±czyæ siê przez dial-up (u¿ywaj±c skryptów
-u¿ytkownika). Mo¿e monitorowaæ przep³yw danych, zapala mrygaj±ce "diodki"
-i liczy czas po³±czenia.
+%description -l pl.UTF-8
+bbppp pozwala połączyć i rozłączyć się przez dial-up (używając
+skryptów użytkownika). Może monitorować przepływ danych, zapala
+mrugające "diodki" i liczy czas połączenia.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
-rm -f missing
-aclocal
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
-%{__make} CXX="%{__cc}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
-
-gzip -9nf AUTHORS ChangeLog README TODO data/README.*
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz data/*.gz
+%doc AUTHORS ChangeLog README TODO data/README.*
%attr(755,root,root) %{_bindir}/bb*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.*
+%dir %{_sysconfdir}/bbtools
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bbtools/%{name}.*