]> git.pld-linux.org Git - packages/perl-Email-Valid.git/blobdiff - perl-Email-Valid.spec
- updated to 0.181
[packages/perl-Email-Valid.git] / perl-Email-Valid.spec
index 4d9682579ea6f4df7ef9a0ac61d3a5903492cd2b..06bbcf3a34ac23ee62cfbf327cb5668ddfd22e6d 100644 (file)
@@ -1,17 +1,20 @@
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Email
 %define                pnam    Valid
-Summary:       This module determines whether an email address is valid
-Summary(pl):   Modu³ sprawdzaj±cy poprawno¶æ adresu e-mail
-Name:          perl-%{pdir}-%{pnam}
-Version:       0.14
-Release:       2
-License:       GPL
+Summary:       Email::Valid - module determines whether an email address is valid
+Summary(pl.UTF-8):     Email::Valid - moduł sprawdzający poprawność adresu e-mail
+Name:          perl-Email-Valid
+Version:       0.181
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 8cd22c54c580d6709ec71448f2332da2
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: c6f3654a138761e352b22e9e5e7e9c10
+BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
 BuildRequires: perl-MailTools
+%endif
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,23 +23,23 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This module determines whether an email address is well-formed, and
 optionally, whether a mail host exists for the domain.
 
-%description -l pl
-Ten modu³ sprawdza czy adres e-mail jest poprawnie zapisany i,
-opcjonalnie, czy istnieje host przyjmuj±cy pocztê.
+%description -l pl.UTF-8
+Ten moduł sprawdza czy adres e-mail jest poprawnie zapisany i,
+opcjonalnie, czy istnieje host przyjmujący pocztę.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,5 +47,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README Changes
-%{perl_vendorlib}/Email
+%{perl_vendorlib}/%{pdir}/*.pm
 %{_mandir}/man3/*
This page took 0.052511 seconds and 4 git commands to generate.