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