X-Git-Url: http://git.pld-linux.org/?p=packages%2FRazor.git;a=blobdiff_plain;f=Razor.spec;h=c2459e86d140e888595bb3a0b209d97440d7599a;hp=28cb0a7a41e95c37946c0ca9ce9c9149f54f6978;hb=HEAD;hpb=b2f757d0674f3809c0046ea14442750559b8d1d0 diff --git a/Razor.spec b/Razor.spec index 28cb0a7..af4d476 100644 --- a/Razor.spec +++ b/Razor.spec @@ -3,17 +3,17 @@ %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 @@ -31,14 +31,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 . +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ą: . %package -n perl-Razor Summary: Perl modules for Razor @@ -53,11 +51,12 @@ Moduły Perla dla Razora, klasa Razor2::. %prep %setup -q -n razor-agents-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor -%{__make} \ +%{__make} -j1 \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test} @@ -89,7 +88,6 @@ rm -rf $RPM_BUILD_ROOT %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/*