%define module PatchReader %define name perl-%{module} %define version 0.9.5 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: Utilities to read and manipulate patches and CVS Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEISER/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/%{module} BuildRoot: %{_tmppath}/%{name}-%{version} %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch %description This perl library allows you to manipulate patches programmatically by chaining together a variety of objects that read, manipulate, and output patch information. %prep %setup -q -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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jan 31 2005 Guillaume Rousse <guillomovitch@mandrake.org> 0.9.5-1mdk - first mdk release