Summary(pl): Antywirusowe narzêdzie dla Uniksów
Name: clamav
Version: 0.75.1
-Release: 2
+Release: 3
License: GPL
Group: Applications
Source0: http://dl.sourceforge.net/clamav/%{name}-%{version}.tar.gz
Source9: %{name}-milter.sysconfig
Patch0: %{name}-pld_config.patch
Patch1: %{name}-no_auto_libwrap.patch
+Patch2: %{name}-nolibs.patch
URL: http://www.clamav.net/
BuildRequires: autoconf
BuildRequires: automake
%description libs -l pl
Biblioteki dzielone clamav.
-%if %{with milter}
%package milter
Summary: ClamAV filter using milter interface
Summary(pl): Filtr ClamAV korzystaj±cy z interfejsu milter
%description -l pl milter
Filtr ClamAV dla sendmaila korzystaj±cy z interfejsu MILTER.
-%endif
%package devel
Summary: clamav - Development header files and libraries
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+
+# kill old libtool.m4 copy
+head -n 489 acinclude.m4 > acinclude.m4.tmp
+tail -n +4064 acinclude.m4 >> acinclude.m4.tmp
+mv -f acinclude.m4.tmp acinclude.m4
%build
+%{__libtoolize}
%{__aclocal}
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure \
--disable-clamav \