%define name perl-patchreader %define real_name PatchReader %define version 0.9.2 %define release 1mdk Summary: Perl utility to process patch files Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Other Distribution: Mandrake Linux Source: http://www.cpan.org/authors/id/J/JK/JKEISER/%{real_name}-%{version}.tar.bz2 URL: http://www.tcx.se/ Buildroot: %{_tmppath}/%{name}-root Requires: perl %description PatchReader is a set of utilities for reading in, transforming, and doing various other things with a patch. It basically allows you to create a chain of readers that can read a patch, remove files from a patch, add CVS context, fix up the patch root according to CVS, and output the patch as raw unified or through a template processor (used in some places to output a patch as HTML). %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make OPTIMIZE="$RPM_OPT_FLAGS" echo %{perl_vendorarch} %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Tue Oct 21 2003 Warly <warly@mandrakesoft.com> 0.9.2-1mdk - new version