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