%define module Email-MIME-Encodings %define name perl-%{module} %define version 1.31.1 %define up_version 1.311 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: A unified interface to MIME encoding and decoding License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Email/%{module}-%{up_version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module simply wraps MIME::Base64 and MIME::QuotedPrint so that you can throw the contents of a Content-Transfer-Encoding header at some text and have the right thing happen. Provides a number of useful methods for manipulating MIME messages. %prep %setup -q -n %{module}-%{up_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Email %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.31.1-3mdv2009.0 + Revision: 241211 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Jul 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.31.1-1mdv2008.0 + Revision: 48065 - update to new version 1.311 * Thu Sep 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.31.0-1mdv2007.0 - new version * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.3-2mdv2007.0 - Rebuild * Mon Mar 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.3-1mdk - first mdk release