%define module GnuPG-Interface %define name perl-%{module} %define version 0.33 %define release 8mdk Name: %{name} Version: %{version} Release: %{release} Summary: GnuPG-Interface module for perl Group: Development/Perl License: GPL Source: http://search.cpan.org/CPAN/authors/id/F/FT/FTOBIN/%{module}-%{version}.tar.bz2 Patch: %{name}-0.33.test.patch.bz2 Url: http://search.cpan.org/dist/%{module} %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildRequires: perl-Class-MethodMaker BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description GnuPG::Interface and its associated modules are designed to provide an object-oriented method for interacting with GnuPG, being able to perform functions such as but not limited to encrypting, signing, decryption, verification, and key-listing parsing. %prep %setup -q -n %{module}-%{version} %patch %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 %{perl_vendorlib}/GnuPG %{perl_vendorlib}/auto/GnuPG %{_mandir}/*/* %changelog * Fri Aug 26 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.33-8mdk - spec cleanup - source url - better url - make test in %%check - fix tests * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.33-7mdk - really fix buildrequires - remove MANIFEST - spec cleanup * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.33-6mdk - fix buildrequires in a backward compatible way * Wed Feb 11 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.33-5mdk - Own dir * Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.33-4mdk - rebuild for new perl - drop $RPM_OPT_FLAGS, noarch.. - rm -rf %{buildroot} in %%install, not %%prep - use %%makeinstall_std macro * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.33-3mdk - rebuild for new auto{prov,req} * Fri Jan 24 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.33-2mdk - rebuilt * Thu Jul 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.33-1mdk - 0.33 * Fri Mar 8 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.31-2mdk - First MandrakeSoft Package.