Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 2452ae311603be369203655686bcd85d > files > 2

perl-Module-Starter-1.40-1mdk.src.rpm

%define	module	Module-Starter
%define	name	perl-%{module}
%define version 1.40
%define release 1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	A simple starter kit for any module 
License:	GPL or Artistic
Group:		Development/Perl
Source:		http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/{module}/
BuildRoot:	%{_tmppath}/%{name}-%{version}
%if %{mdkversion} < 1010
Buildrequires:	perl-devel
%endif
Buildarch:	noarch

%description
This is the core module for Module::Starter. If you're not looking to extend or
alter the behavior of this module, you probably want to look at module-starter
instead.

Module::Starter is used to create a skeletal CPAN distribution, including basic
builder scripts, tests, documentation, and module code. This is done through
just one method, create_distro.

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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make
%make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc Changes
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/*/*

%changelog
* Thu Jul 28 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.40-1mdk
- 1.40

* Wed Apr 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.38-1mdk 
- first mandriva release