%define module WWW-Orphea %define name perl-%{module} %define version 0.3.1 %define release 2mdk Name: %{name} Version: %{version} Release: %{release} Summary: Orphea Agent License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/G/GR/GROUSSE/%{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-buildroot/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl-Test-URI Buildrequires: perl-WWW-Mechanize Buildarch: noarch %description This module may be used search images on an Orphea web server, a Digital Asset Management (DAM) software suite published by Algoba Systems (http://www.algoba.com/public/orphea.pgi). Its interface is adapted from WWW::Google::Images, itself inspired from WWW::Google::Groups. %prep %setup -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/*/* %{_bindir}/* %changelog * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3.1-2mdk - fix buildrequires in a backward compatible way * Thu Nov 4 2004 Guillaume Rousse <guillomovitch@mandrakesoft.com> 0.3.1-1mdk - New release 0.3.1 * Wed Aug 04 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3-2mdk - rpmbuildupdate aware * Tue Apr 13 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3-1mdk - first mdk release