Initial import

This commit is contained in:
Jitka Plesnikova 2012-09-14 13:17:08 +02:00
parent a94eee4770
commit 248c2141c1
3 changed files with 65 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Module-Install-ReadmeMarkdownFromPod-0.03.tar.gz

View File

@ -0,0 +1,63 @@
Name: perl-Module-Install-ReadmeMarkdownFromPod
Version: 0.03
Release: 1%{?dist}
Summary: Create README.mkdn from POD
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Install-ReadmeMarkdownFromPod/
Source0: http://www.cpan.org/authors/id/M/MA/MARCEL/Module-Install-ReadmeMarkdownFromPod-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 1:5.6.0
# XXX: We cannot remove ./inc because it build-requires this module
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(CPAN) >= 1.89
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Command)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Pod::Parser)
BuildRequires: perl(Pod::Text)
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::Harness)
BuildRequires: perl(URI::Escape)
Requires: perl(Module::Install)
Requires: perl(Module::Install::ReadmeFromPod)
Requires: perl(Pod::Markdown)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Module::Install::ReadmeMarkdownFromPod is a Module::Install extension that
generates a README.mkdn file automatically from an indicated file
containing POD whenever the author runs Makefile.PL. This file is used by
GitHub to display nicely formatted information about a repository.
%prep
%setup -q -n Module-Install-ReadmeMarkdownFromPod-%{version}
# README is ISO-8859-1 encoded
iconv -f iso-8859-1 -t utf8 < README > README.utf8
mv README.utf8 README
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jun 26 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.03-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
385e2370fda4b2853a72082f83d7f9e5 Module-Install-ReadmeMarkdownFromPod-0.03.tar.gz