%define module Net-IMAP-Simple %define name perl-%{module} %define version 1.16 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Simple IMAP interface to Perl 5 License: GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version} %description Perl extension for simple IMAP account handling, mostly compatible with Net::POP. %prep %setup -q -n %{module}-%{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 Changes README %{_mandir}/man3/* %{perl_vendorlib}/Net %changelog * Wed Jun 21 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.16-1mdv2007.0 - new version * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.14-2mdk - Fix SPEC according to Perl Policy - BuildRequires * Fri Nov 18 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.14-1mdk - New release 1.14 - %%mkrel * Fri Sep 30 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.13-1mdk - new release - spec cleanup * Mon Aug 1 2005 Pixel <pixel@mandriva.com> 0.103-1mdk - new release * Mon May 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.99-1mdk - 0.99 * Thu Jul 08 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.95-1mdk - 0.95 * Thu Jun 03 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.94-1mdk - 0.94 - drop prefix tag * Mon Dec 1 2003 Stew Benedict <sbenedict@mandrakesoft.com> 0.93-1mdk - first Mandrake release, optional feature for nocatauth