Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > bd63dc47d3de86263918d718c0ecfc1a > files > 2

perl-Dist-Zilla-Plugin-ReadmeFromPod-0.140.0-1.mga1.src.rpm

%define upstream_name    Dist-Zilla-Plugin-ReadmeFromPod
%define upstream_version 0.14

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Automatically convert POD to a README for Dist::Zilla
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(Dist::Zilla)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(Pod::Text)
BuildArch: noarch


%description
generate the README from 'main_module' by the Pod::Text manpage

The code is mostly a copy-paste of the Module::Install::ReadmeFromPod
manpage

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

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

%{make}

%check
%{make} test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE README META.yml
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog
* Wed Jan 26 2011 jquelin <jquelin> 0.140.0-1.mga1
+ Revision: 40561
- mageia rebuild
- imported package perl-Dist-Zilla-Plugin-ReadmeFromPod