%define module GDTextUtil %define name perl-%{module} %define version 0.86 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Text utilities for use with GD License: GPL or Artistic Group: Development/Perl Source0: http://search.cpan.org/CPAN/authors/id/M/MV/MVERB/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module} %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl-GD >= 1.20 Obsoletes: perl-GD-TextUtil Provides: perl-GD-TextUtil BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module provides a font-independent way of dealing with text in GD, for use with the GD::Text::* modules and GD::Graph. %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 %{perl_vendorlib}/GD %{_mandir}/*/* %changelog * Fri Jan 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.86-2mdv2007.0 + Revision: 107910 - rebuild - Import perl-GDTextUtil * Wed Nov 30 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.86-1mdk - new version - spec cleanup - %%mkrel - fix directory ownership - rpmbuilupdate aware - better summary - better description - fixed name * Sat Oct 16 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.83-10mdk - fix deps