%define module WWW-Orphea %define name perl-%{module} %define version 0.3.3 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Orphea 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) Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %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 -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 ChangeLog README %{perl_vendorlib}/WWW %{_mandir}/*/* %{_bindir}/* %changelog * Fri Aug 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.3.3-1mdv2007.0 - New version 0.3.3 - spec cleanup * Sat Jun 11 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.3.2-2mdk - spec cleanup - don't ship useless emtpy dirs - make test in %%check - clean up hidden file * Fri May 27 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.2-1mdk - 0.3.2 - fix buildrequires * 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