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