commit 68b4d3572a072436ba67b90f648b7588bae801a2 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Jun 27 15:35:24 2012 +0200 Initial import .gitignore | 1 + perl-Pod-Markdown.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..5ca523d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Pod-Markdown-1.320.tar.gz diff --git a/perl-Pod-Markdown.spec b/perl-Pod-Markdown.spec new file mode 100644 index 0000000..3c17af8 --- /dev/null +++ b/perl-Pod-Markdown.spec @@ -0,0 +1,51 @@ +Name: perl-Pod-Markdown +Version: 1.320 +Release: 1%{?dist} +Summary: Convert POD to Markdown +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pod-Markdown/ +Source0: http://www.cpan.org/authors/id/R/RW/RWSTAUNER/Pod-Markdown-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.008 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(parent) +BuildRequires: perl(Pod::ParseLink) >= 1.10 +BuildRequires: perl(Pod::Parser) +BuildRequires: perl(Test::Differences) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module subclasses Pod::Parser and converts POD to Markdown. + +%prep +%setup -q -n Pod-Markdown-%{version} + +%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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man[13]/* +%{_bindir}/* + +%changelog +* Tue Jun 26 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 1.320-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..df8a295 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fa78d677d89e3091c72d623425fc52a6 Pod-Markdown-1.320.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel