%define upstream_name Dist-Zilla-Plugin-Bootstrap-lib %define upstream_version 0.01000003 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: 4 Summary: A minimal boot-strapping for Dist::Zilla Plug-ins License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(English) BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description This module does the very simple task of injecting the distributions 'lib' directory into @INC at the point of its inclusion, so that you can use plug-ins you're writing for Dist::Zilla, to release the plug-in itself. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install rm -rf %buildroot ./Build install destdir=%{buildroot} %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sat Apr 16 2011 Funda Wang 0.10.0.30-2mdv2011.0 + Revision: 653565 - rebuild for updated spec-helper * Tue Aug 24 2010 Jérôme Quelin 0.10.0.30-1mdv2011.0 + Revision: 572815 - import perl-Dist-Zilla-Plugin-Bootstrap-lib