#
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir Mail
%define pnam SPF
-Summary: perl(Mail::SPF) - Mail Sender Authentication
+Summary: Mail::SPF - Mail Sender Authentication
+Summary(pl): Mail::SPF - uwierzytelnianie wysy³aj±cego pocztê
Name: perl-Mail-SPF
Version: 2.00
Release: 0.1
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 7fb935f9f070d5df092dc46f34975b00
-#Patch0: %{name}
-URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+URL: http://search.cpan.org/dist/Mail-SPF/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This is an initial draft object oriented reimplementation of Mail::SPF::Query.
-It is not yet fully tested, and does not yet contain all of the additional
-features expected of a practical SPF implementation.
+This is an initial draft object oriented reimplementation of
+Mail::SPF::Query. It is not yet fully tested, and does not yet contain
+all of the additional features expected of a practical SPF
+implementation.
+
+%description -l pl
+To jest pocz±tkowa zorientowana obiektowo reimplementacja
+Mail::SPF::Query. Nie jest jeszcze w pe³ni przetestowana i nie zawiera
+jeszcze wszystkich dodatkowych mo¿liwo¶ci oczekiwanych od praktycznej
+implementacji SPF.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
-%{__install} eg/dns.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install eg/dns.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%{perl_vendorlib}/Mail/SPF.pm
%dir %{perl_vendorlib}/Mail/SPF
-%dir %{perl_vendorlib}/Mail/SPF/Mech
%{perl_vendorlib}/Mail/SPF/*.pm
+%dir %{perl_vendorlib}/Mail/SPF/Mech
%{perl_vendorlib}/Mail/SPF/Mech/*.pm
%{_mandir}/man3/*
%dir %{_examplesdir}/%{name}-%{version}