]> git.pld-linux.org Git - packages/perl-Net-IMAP-Simple.git/blobdiff - perl-Net-IMAP-Simple.spec
- formatting
[packages/perl-Net-IMAP-Simple.git] / perl-Net-IMAP-Simple.spec
index 436c60b71f7a18affff2717940a0918320d16aa1..c6e7f0b0a4d47f84d9c9ab0a5b2932c0dcde6346 100644 (file)
@@ -1,18 +1,22 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without 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):   ModuĀ³ Perla Net::IMAP::Simple - prosta obsĀ³uga kont IMAP
 Name:          perl-Net-IMAP-Simple
-Version:       0.93
-Release:       2
-License:       Artistic or GPL
+Version:       0.95
+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
-BuildRequires: perl >= 5.6
+Source0:       http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/%{pdir}-%{pnam}-%{version}.tar.gz     
+# Source0-md5: 8ea3b099c5755237377dbcf13c0513c9
+URL:           http://search.cpan.org/dist/Net-IMAP-Simple/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,10 +36,10 @@ obs
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.039286 seconds and 4 git commands to generate.