]> git.pld-linux.org Git - packages/Razor.git/blame - Razor.spec
- rebuild with perl 5.26
[packages/Razor.git] / Razor.spec
CommitLineData
a64cdc78
JB
1#
2# Conditional build:
af9a8e1f 3%bcond_without autodeps # don't BR packages needed only for resolving deps
d6fb0f81 4%bcond_without tests # don't perform "make test"
a64cdc78 5#
583967e0 6%include /usr/lib/rpm/macros.perl
5012d382 7Summary: Collection of files for checking, reporting, and revoking spam
b2f757d0 8Summary(pl.UTF-8): Zbiór plików do sprawdzania, raportowania i odrzucania spamu
583967e0 9Name: Razor
e30b8f5d 10Version: 2.85
05fb2c7c 11Release: 13
583967e0 12License: Artistic
13Group: Applications/Mail
6ccd14e7 14Source0: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
e30b8f5d 15# Source0-md5: 014d08db40187cb1316482191566b012
583967e0 16URL: http://razor.sourceforge.net/
c5a1e3d7 17Patch0: man-build.patch
af9a8e1f 18%if %{with autodeps}
a64cdc78
JB
19BuildRequires: perl-Class-Fields
20BuildRequires: perl-Digest-Nilsimsa
21BuildRequires: perl-Digest-SHA1
7932b3d9 22BuildRequires: perl-Net-DNS
a64cdc78
JB
23BuildRequires: perl-URI
24%endif
58310063
JB
25BuildRequires: perl-Time-HiRes
26BuildRequires: perl-devel >= 1:5.8.0
a64cdc78 27BuildRequires: rpm-perlprov >= 4.1-13
d6fb0f81 28Requires: perl-Razor = %{version}-%{release}
7fcf724f 29Obsoletes: perl-Vipuls-Razor-V1
af9a8e1f 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
583967e0 31
32%description
7932b3d9
ER
33Vipul's Razor is a distributed, collaborative, spam detection,
34reporting, and filtering network. The primary focus of the system is
e30b8f5d 35to identify and remove all email spam from the internet.
583967e0 36
387db581
JR
37%description -l pl.UTF-8
38Vipul's Razor jest dystrybuowalną, tworzoną dzięki współpracy siecią,
39służącą do wykrywania spamu, raportowania i filtrowania. Podstawowym
583967e0 40zadaniem systemu jest identyfikacja spamu z poczty internetowej.
583967e0 41
42%package -n perl-Razor
43Summary: Perl modules for Razor
b2f757d0 44Summary(pl.UTF-8): Moduły Perla dla Razora
583967e0 45Group: Development/Languages/Perl
46
47%description -n perl-Razor
48Perl modules for Razor, class Razor2::.
49
387db581
JR
50%description -n perl-Razor -l pl.UTF-8
51Moduły Perla dla Razora, klasa Razor2::.
583967e0 52
53%prep
54%setup -q -n razor-agents-%{version}
c5a1e3d7 55%patch0 -p1
583967e0 56
57%build
e5ceb981 58%{__perl} Makefile.PL \
2b4b1afa 59 INSTALLDIRS=vendor
8b89c801 60%{__make} \
61 OPTIMIZE="%{rpmcflags}"
e5ceb981 62
d6fb0f81 63%{?with_tests:%{__make} test}
583967e0 64
65%install
66rm -rf $RPM_BUILD_ROOT
27a19305
AM
67install -d $RPM_BUILD_ROOT%{_sysconfdir}/razor
68
7932b3d9 69%{__make} pure_install \
665d7dc2 70 DESTDIR=$RPM_BUILD_ROOT
583967e0 71
7932b3d9
ER
72rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/razor-agents/.packlist
73
583967e0 74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
79%doc Change* BUGS README INSTALL CREDITS
3d581acb 80%attr(755,root,root) %{_bindir}/*
665d7dc2
ER
81%{_mandir}/man1/*
82%{_mandir}/man5/*
583967e0 83
84%files -n perl-Razor
0286bd3f 85%defattr(644,root,root,755)
27a19305 86%dir %{_sysconfdir}/razor
666ff705 87%{perl_vendorarch}/Razor2
d6fb0f81
JB
88%dir %{perl_vendorarch}/auto/Razor2
89%dir %{perl_vendorarch}/auto/Razor2/Preproc
90%dir %{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs
91%attr(755,root,root) %{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs/deHTMLxs.so
d6fb0f81
JB
92%{perl_vendorarch}/auto/Razor2/Preproc/deHTMLxs/autosplit.ix
93%{perl_vendorarch}/auto/Razor2/Syslog
583967e0 94%{_mandir}/man3/*
This page took 0.104577 seconds and 4 git commands to generate.