Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > c58a20d768a246a4c4e61f9a2b5a9fea > files > 3

perl-Module-CoreList-1.98-1mdk.src.rpm

%define module	Module-CoreList
%define name	perl-%{module}
%define version	1.98
%define	release	1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Tell what modules shipped with versions of perl
License:	GPL or Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
Patch0:		Module-CoreList-1.97-Makefile.patch.bz2
Url:		http://search.cpan.org/dist/%{module}
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	perl-devel

%description
Module::CoreList contains data about what perl modules are shipped
with given versions of perl (and their versions). It comes also with a
command-line utility, corelist, to retrieve this information easily.

%prep
%setup -q -n %{module}-%{version}
%patch0 -p0

%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}/Module/*
%{_mandir}/*/*
%{_bindir}/corelist

%changelog
* Wed Jan 05 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.98-1mdk
- New version

* Wed Dec 01 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.97-1mdk
- Initial MDK release.