SPECS: perl-MIME-EncWords.spec - previous commit was unwanted; now really s...

glen glen at pld-linux.org
Tue Oct 14 23:16:46 CEST 2008


Author: glen                         Date: Tue Oct 14 21:16:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- previous commit was unwanted; now really spec finished (but tests give garbage); rel 1

---- Files affected:
SPECS:
   perl-MIME-EncWords.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/perl-MIME-EncWords.spec
diff -u SPECS/perl-MIME-EncWords.spec:1.3 SPECS/perl-MIME-EncWords.spec:1.4
--- SPECS/perl-MIME-EncWords.spec:1.3	Tue Oct 14 22:12:39 2008
+++ SPECS/perl-MIME-EncWords.spec	Tue Oct 14 23:16:41 2008
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 %bcond_without	autodeps	# don't BR packages needed only for resolving deps
-%bcond_without	tests	# do not perform "make test"
+%bcond_with	tests	# do not perform "make test"
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	MIME
@@ -8,16 +8,18 @@
 Summary:	MIME::EncWords - deal with RFC 2047 encoded words (improved)
 Name:		perl-MIME-EncWords
 Version:	1.010
-Release:	0.1
+Release:	1
 License:	GPL
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	e3d33e62bd5e88d1c6ad8c9c8ce1f2f2
 URL:		http://search.cpan.org/dist/MIME-EncWords/
-BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-devel >= 1:5.8.1
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires:	perl-MIME-Charset >= 1.006.1
+BuildRequires:	perl-Encode >= 1:1.98
+BuildRequires:	perl-MIME-Base64 >= 2.13
+BuildRequires:	perl-MIME-Charset >= 1.006
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,11 +39,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} pure_install \
+%{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-#%{perl_vendorlib}/MIME/EncWords/Defaults.pm.sample
-#%{perl_vendorlib}/MIME/EncWords/JA_JP.pod
+# just pod doc in %lang(ja)
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/MIME/EncWords/JA_JP.pod
+# err, configuration place is not there
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/MIME/EncWords/Defaults.pm.sample
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,9 +53,7 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-#%{perl_vendorlib}/MIME/EncWords.pm
-#%dir %{perl_vendorlib}/MIME/EncWords
-#%{_mandir}/man3/*
+%{perl_vendorlib}/MIME/EncWords.pm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,8 +61,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/10/14 21:16:41  glen
+- previous commit was unwanted; now really spec finished (but tests give garbage); rel 1
+
 Revision 1.3  2008/10/14 20:12:39  glen
-- release 0.1
+- finish spec with help of pldcpan
 
 Revision 1.2  2008/09/29 11:44:17  pawelz
 - added missing dir
================================================================

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



More information about the pld-cvs-commit mailing list