%define module WWW-Google-Images %define name perl-%{module} %define version 0.6.4 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Google Images Agent License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/WWW/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl(Test::URI) Buildrequires: perl(WWW::Mechanize) Buildrequires: perl(Image::Info) Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module may be used search images on Google. Its interface is heavily inspired from WWW::Google::Groups. %prep %setup -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 ChangeLog README %{perl_vendorlib}/WWW %{_mandir}/*/* %{_bindir}/* %changelog * Fri Aug 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.6.4-1mdv2007.0 - New version 0.6.4 - enable test * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.2-4mdk - Fix SPEC according to Perl Policy - BuildRequires - Source URL * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.2-3mdk - Fix BuildRequires * Sat Jun 11 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.6.2-2mdk - don't ship useless empty dirs - spec cleanup - make test in %%check * Fri May 27 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.2-1mdk - 0.6.2 * Mon Apr 25 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.6.1-1mdk - new release - disabled test, as it seems unpredictable results occurs * Thu Feb 03 2005 Guillaume Rousse <guillomovitch@mandrake.org> 0.6.0-1mdk - new version * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.5.1-2mdk - fix buildrequires in a backward compatible way * Thu Nov 4 2004 Guillaume Rousse <guillomovitch@mandrakesoft.com> 0.5.1-1mdk - New release 0.5.1 * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.5-1mdk - new version - rpmbuildupdate aware * Tue Apr 13 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.4-1mdk - first mdk release