[packages/perl-Net-IMAP-Simple] - switched to new version, 1.2034

paszczus paszczus at pld-linux.org
Fri Oct 19 10:35:18 CEST 2012


commit a483f794155a393c295bca70563df2d19c11b9e8
Author: Sławomir Paszkiewicz <paszczus at pld-linux.org>
Date:   Fri Oct 19 10:35:10 2012 +0200

    - switched to new version, 1.2034

 perl-Net-IMAP-Simple.spec | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/perl-Net-IMAP-Simple.spec b/perl-Net-IMAP-Simple.spec
index 9b14c4a..6c1d673 100644
--- a/perl-Net-IMAP-Simple.spec
+++ b/perl-Net-IMAP-Simple.spec
@@ -1,23 +1,25 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_with	tests		# do not perform "make test"
 #
-%include	/usr/lib/rpm/macros.perl
 %define		pdir	Net
 %define		pnam	IMAP-Simple
-Summary:	Net::IMAP::Simple Perl module - simple IMAP account handling
-Summary(pl.UTF-8):	Moduł Perla Net::IMAP::Simple - prosta obsługa kont IMAP
+%include	/usr/lib/rpm/macros.perl
+Summary:	Net::IMAP::Simple - Perl extension for simple IMAP account handling.
+Summary(pl.UTF-8):     Moduł Perla Net::IMAP::Simple - prosta obsługa kont IMAP
 Name:		perl-Net-IMAP-Simple
-Version:	0.95
-Release:	2
-# same as perl
-License:	GPL v1+ or Artistic
+Version:	1.2034
+Release:	1
+License:	Same as perl
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-authors/id/C/CW/CWEST/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	8ea3b099c5755237377dbcf13c0513c9
+Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	15dda3b14ea13172923ad7914fe64656
 URL:		http://search.cpan.org/dist/Net-IMAP-Simple/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Parse-RecDescent
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,7 +37,7 @@ obsługi skrzynek.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL \
+%{echo} "n" | %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}
 
@@ -44,7 +46,7 @@ obsługi skrzynek.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -52,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes
-%dir %{perl_vendorlib}/Net/IMAP
-%{perl_vendorlib}/Net/IMAP/Simple.pm
+%doc Changes README TODO
+%{perl_vendorlib}/Net/IMAP/*.pm
+%{perl_vendorlib}/Net/IMAP/Simple
 %{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-IMAP-Simple.git/commitdiff/a483f794155a393c295bca70563df2d19c11b9e8



More information about the pld-cvs-commit mailing list