-Summary: Dynamic MTA logfile analyser.
-Summary(pl): Dynamiczny analizator logów MTA
+Summary: Dynamic MTA logfile analyser
+Summary(pl.UTF-8): Dynamiczny analizator logów MTA
Name: anteater
Version: 0.4.5
-Release: 0.1
-Epoch: 0
-License: GPL
+Release: 1
+License: GPL v2
Group: Applications/System
-Source0: http://dl.sourceforge.net/anteater/%{name}-%{version}.tar.bz2
+Source0: http://downloads.sourceforge.net/anteater/%{name}-%{version}.tar.bz2
# Source0-md5: 21ab169a88e1a80942cc8816d7ea6438
-URL: http://sourceforge.net/projects/anteater/
-BuildRequires: libstdc++-devel
-BuildRequires: libtool
+Patch0: %{name}-configure.in.patch
+Patch1: %{name}-cstdlib.patch
+URL: http://anteater.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Input, output, and the analysis are modular class objects with a clear
interface.
-%description -l pl
-Anteater (mrówkojad) jest analizatorem logów MTA (np. sendmaila i
-postfiksa). Narzêdzie jest napisane w 100% w C++ i jest bardzo ³atwe
-do przystosowania. Wej¶cie i wyj¶cie s± modularnymi klasami obiektów z
+%description -l pl.UTF-8
+Anteater (mrówkojad) jest analizatorem logów MTA (np. sendmaila i
+postfiksa). Narzędzie jest napisane w 100% w C++ i jest bardzo łatwe
+do przystosowania. Wejście i wyjście są modularnymi klasami obiektów z
przejrzystym interfejsem.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+
%build
%{__libtoolize}
%{__aclocal}
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%attr(755,root,root) %{_bindir}/anteater
+%{_mandir}/man1/anteater.1*