%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # don't perform "make test"
#
-%include /usr/lib/rpm/macros.perl
Summary: Collection of files for checking, reporting, and revoking spam
Summary(pl.UTF-8): Zbiór plików do sprawdzania, raportowania i odrzucania spamu
Name: Razor
-Version: 2.82
-Release: 2
+Version: 2.85
+Release: 23
License: Artistic
Group: Applications/Mail
Source0: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
-# Source0-md5: a79a798e52426261c6a2c4089b33872f
+# Source0-md5: 014d08db40187cb1316482191566b012
URL: http://razor.sourceforge.net/
+Patch0: man-build.patch
%if %{with autodeps}
BuildRequires: perl-Class-Fields
BuildRequires: perl-Digest-Nilsimsa
%description
Vipul's Razor is a distributed, collaborative, spam detection,
reporting, and filtering network. The primary focus of the system is
-to identify and remove all email spam from the internet. Visit the
-website at <http://razor.sourceforge.net/>.
+to identify and remove all email spam from the internet.
%description -l pl.UTF-8
Vipul's Razor jest dystrybuowalną, tworzoną dzięki współpracy siecią,
służącą do wykrywania spamu, raportowania i filtrowania. Podstawowym
zadaniem systemu jest identyfikacja spamu z poczty internetowej.
-Odwiedź stronę domową: <http://razor.sourceforge.net/>.
%package -n perl-Razor
Summary: Perl modules for Razor
%prep
%setup -q -n razor-agents-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
-%{__make} \
+%{__make} -j1 \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
%dir %{perl_vendorarch}/auto/Razor2/Preproc
%dir %{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs
%attr(755,root,root) %{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
-%{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.bs
%{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs/autosplit.ix
%{perl_vendorarch}/auto/Razor2/Syslog
%{_mandir}/man3/*