]> git.pld-linux.org Git - packages/Razor.git/blob - Razor.spec
- massive attack: adding Source-md5
[packages/Razor.git] / Razor.spec
1 #
2 # Conditional build:
3 # _without_autodeps     - don't BR packages needed only for resolving deps
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        Collection of files for checking, reporting, and revoking spam
7 Summary(pl):    Zbiór plików do sprawdzania, raportowania i odrzucania spamu
8 Name:           Razor
9 Version:        2.12
10 Release:        4
11 License:        Artistic
12 Group:          Applications/Mail
13 Source0:        http://dl.sourceforge.net/sourceforge/razor/razor-agents-%{version}.tar.gz
14 # Source0-md5:  1528a40a7ce0929971f2b745b5e88ee9
15 Patch0:         razor-agents-makefile.patch
16 URL:            http://razor.sourceforge.net/
17 BuildRequires:  perl-devel >= 5.8.0
18 %if 0%{!?_without_autodeps:1}
19 BuildRequires:  perl-Class-Fields
20 BuildRequires:  perl-Digest-Nilsimsa
21 BuildRequires:  perl-Digest-SHA1
22 BuildRequires:  perl-Time-HiRes
23 BuildRequires:  perl-URI
24 %endif
25 BuildRequires:  rpm-perlprov >= 4.1-13
26 Requires:       perl-Razor = %{version}
27 Obsoletes:      perl-Vipuls-Razor-V1
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Vipul's Razor is a distributed, collaborative, spam detection, reporting,
33 and filtering network.  The primary focus of the system is to identify
34 and remove all email spam from the internet.  Visit the website at
35 <http://razor.sourceforge.net/>.
36
37 %description -l pl
38 Vipul's Razor jest dystrybuowaln±, tworzon± dziêki wspó³pracy sieci±,
39 s³u¿±c± do wykrywania spamu, raportowania i filtrowania.  Podstawowym
40 zadaniem systemu jest identyfikacja spamu z poczty internetowej.
41 Odwied¼ stronê domow±: <http://razor.sourceforge.net/>.
42
43 %package -n perl-Razor
44 Summary:        Perl modules for Razor
45 Summary(pl):    Modu³y Perla dla Razora
46 Group:          Development/Languages/Perl
47
48 %description -n perl-Razor
49 Perl modules for Razor, class Razor2::.
50
51 %description -n perl-Razor -l pl
52 Modu³y Perla dla Razora, klasa Razor2::.
53
54 %prep
55 %setup -q -n razor-agents-%{version}
56 %patch -p0
57
58 %build
59 %{__perl} Makefile.PL \
60         INSTALLDIRS=vendor
61 %{__make}
62
63 #%%{__make} test
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 for f in check register report revoke; do
70         ln -sf razor-client $RPM_BUILD_ROOT%{_bindir}/razor-$f
71 done
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc Change* BUGS README INSTALL CREDITS
79 %{_bindir}/*
80 %{_mandir}/man[15]/*
81
82 %files -n perl-Razor
83 %defattr(644,root,root,755)
84 %{perl_vendorlib}/Razor2
85 %{_mandir}/man3/*
This page took 0.056112 seconds and 3 git commands to generate.