]> git.pld-linux.org Git - packages/Razor.git/blobdiff - Razor.spec
- 2.85
[packages/Razor.git] / Razor.spec
index 7d89351f361aa52580a59c0d9cc544c572e8305c..60a1f9b454e188db08333f398e3941e9d89d3b68 100644 (file)
@@ -5,20 +5,20 @@
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       Collection of files for checking, reporting, and revoking spam
-Summary(pl):   Zbiór plików do sprawdzania, raportowania i odrzucania spamu
+Summary(pl.UTF-8):     Zbiór plików do sprawdzania, raportowania i odrzucania spamu
 Name:          Razor
-Version:       2.61
+Version:       2.85
 Release:       1
 License:       Artistic
 Group:         Applications/Mail
-Source0:       http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.gz
-# Source0-md5: 8509389ef86594d56a796e556ef83681
+Source0:       http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
+# Source0-md5: 014d08db40187cb1316482191566b012
 URL:           http://razor.sourceforge.net/
 %if %{with autodeps}
-BuildRequires: perl-Net-DNS
 BuildRequires: perl-Class-Fields
 BuildRequires: perl-Digest-Nilsimsa
 BuildRequires: perl-Digest-SHA1
+BuildRequires: perl-Net-DNS
 BuildRequires: perl-URI
 %endif
 BuildRequires: perl-Time-HiRes
@@ -29,27 +29,25 @@ Obsoletes:  perl-Vipuls-Razor-V1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Vipul's Razor is a distributed, collaborative, spam detection, reporting,
-and filtering network. The primary focus of the system is to identify
-and remove all email spam from the internet. Visit the website at
-<http://razor.sourceforge.net/>.
+Vipul's Razor is a distributed, collaborative, spam detection,
+reporting, and filtering network. The primary focus of the system is
+to identify and remove all email spam from the internet.
 
-%description -l pl
-Vipul's Razor jest dystrybuowaln±, tworzon± dziêki wspó³pracy sieci±,
-s³u¿±c± do wykrywania spamu, raportowania i filtrowania. Podstawowym
+%description -l pl.UTF-8
+Vipul's Razor jest dystrybuowalną, tworzoną dzięki współpracy siecią,
+służącą do wykrywania spamu, raportowania i filtrowania. Podstawowym
 zadaniem systemu jest identyfikacja spamu z poczty internetowej.
-Odwied¼ stronê domow±: <http://razor.sourceforge.net/>.
 
 %package -n perl-Razor
 Summary:       Perl modules for Razor
-Summary(pl):   Modu³y Perla dla Razora
+Summary(pl.UTF-8):     Moduły Perla dla Razora
 Group:         Development/Languages/Perl
 
 %description -n perl-Razor
 Perl modules for Razor, class Razor2::.
 
-%description -n perl-Razor -l pl
-Modu³y Perla dla Razora, klasa Razor2::.
+%description -n perl-Razor -l pl.UTF-8
+Moduły Perla dla Razora, klasa Razor2::.
 
 %prep
 %setup -q -n razor-agents-%{version}
@@ -64,15 +62,12 @@ Modu
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/razor
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       PERL5LIB=$RPM_BUILD_ROOT%{perl_vendorarch} \
-       INSTALLMAN5DIR=%{_mandir}/man5
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-for f in check register report revoke; do
-       ln -sf razor-client $RPM_BUILD_ROOT%{_bindir}/razor-$f
-done
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/razor-agents/.packlist
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,10 +76,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Change* BUGS README INSTALL CREDITS
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man[15]/*
+%{_mandir}/man1/*
+%{_mandir}/man5/*
 
 %files -n perl-Razor
 %defattr(644,root,root,755)
+%dir %{_sysconfdir}/razor
 %{perl_vendorarch}/Razor2
 %dir %{perl_vendorarch}/auto/Razor2
 %dir %{perl_vendorarch}/auto/Razor2/Preproc
This page took 0.338866 seconds and 4 git commands to generate.