[perl-Module-Install-ReadmeMarkdownFromPod] Initial import

Jitka Plesnikova jplesnik at fedoraproject.org
Fri Sep 14 11:17:12 UTC 2012


commit 248c2141c131deacd74fa57ce442e47ca5cbc0a3
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Fri Sep 14 13:17:08 2012 +0200

    Initial import

 .gitignore                                     |    1 +
 perl-Module-Install-ReadmeMarkdownFromPod.spec |   63 ++++++++++++++++++++++++
 sources                                        |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fed78ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Module-Install-ReadmeMarkdownFromPod-0.03.tar.gz
diff --git a/perl-Module-Install-ReadmeMarkdownFromPod.spec b/perl-Module-Install-ReadmeMarkdownFromPod.spec
new file mode 100644
index 0000000..a2b61b3
--- /dev/null
+++ b/perl-Module-Install-ReadmeMarkdownFromPod.spec
@@ -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 at redhat.com> 0.03-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..00a9310 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+385e2370fda4b2853a72082f83d7f9e5  Module-Install-ReadmeMarkdownFromPod-0.03.tar.gz


More information about the scm-commits mailing list