Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 07432f15fdde3ed5a4cc7e7cf02cc66c > files > 2

perl-PatchReader-0.9.5-1mdk.src.rpm

%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