SPECS: perl-MIME-Lite.spec - merge from DEVEL - R: perl-Email-Date-Format

gotar gotar at pld-linux.org
Thu Jul 24 18:20:44 CEST 2008


Author: gotar                        Date: Thu Jul 24 16:20:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merge from DEVEL
- R: perl-Email-Date-Format

---- Files affected:
SPECS:
   perl-MIME-Lite.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/perl-MIME-Lite.spec
diff -u SPECS/perl-MIME-Lite.spec:1.45 SPECS/perl-MIME-Lite.spec:1.46
--- SPECS/perl-MIME-Lite.spec:1.45	Thu Jul 24 15:23:17 2008
+++ SPECS/perl-MIME-Lite.spec	Thu Jul 24 18:20:39 2008
@@ -9,16 +9,26 @@
 Summary:	MIME::Lite perl module
 Summary(pl.UTF-8):	Moduł perla MIME::Lite
 Name:		perl-MIME-Lite
-Version:	3.01
-Release:	2
+Version:	3.021
+Release:	1
 # same as perl
 License:	GPL v1+ or Artisric
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	b41eb689819775fd8df360458fc2d507
-BuildRequires:	rpm-perlprov >= 4.1-13
+# Source0-md5:	7b3f4b9b3f8a0023dbc62859ef9a775f
 BuildRequires:	perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires:	perl-Email-Date-Format
+BuildRequires:	perl-MIME-Types
+BuildRequires:	perl-Test-Pod >= 1.14
+BuildRequires:	perl-Test-Pod-Coverage >= 1.08
+%endif
 BuildRequires:	perl-libnet
+BuildRequires:	rpm-perlprov >= 4.1-13
+Requires:	perl-Email-Date-Format
+Suggests:	perl-MailTools
+Suggests:	perl-MIME-Base64
+Suggests:	perl-MIME-Types
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,6 +43,7 @@
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
+PERL_MM_USE_DEFAULT=yes \
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}
@@ -41,17 +52,23 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+# package it or not?
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/MIME/changes.pod
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README examples
+%doc README contrib
 %{perl_vendorlib}/MIME/Lite.pm
+%{_examplesdir}/%{name}
 %{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,8 +77,30 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.45  2008/07/24 13:23:17  gotar
-- reverted - moved to DEVEL (there's no required Email-Date-Format in PLD)
+Revision 1.46  2008/07/24 16:20:39  gotar
+- merge from DEVEL
+- R: perl-Email-Date-Format
+
+Revision 1.44.2.5  2008/07/24 16:17:17  gotar
+- more BR for tests
+
+Revision 1.44.2.4  2008/07/24 15:25:30  gotar
+- MIME::QuotedPrint is part of MIME::Base64
+
+Revision 1.44.2.3  2008/07/24 15:21:24  gotar
+- added Suggests
+
+Revision 1.44.2.2  2008/07/24 13:16:45  gotar
+- non-interactive build via PERL_MM_USE_DEFAULT
+
+Revision 1.44.2.1  2008/07/24 13:14:17  gotar
+- moved to DEVEL as it requires perl-Email-Date-Format instead of perl-Email-Date now
+- conditional (with tests) BR: perl-Email-Date-Format
+- moved examples to %_examplesdir, added contrib, removed changes.pod
+- made it build non-interactive
+
+Revision 1.44  2008/07/24 11:29:52  gotar
+- up to 3.021 (fixed SMTP AUTH: http://www.perlmonks.org/?node_id=681884)
 
 Revision 1.43  2007/02/13 07:47:12  glen
 - tabs in preamble
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-MIME-Lite.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list