Initial import
This commit is contained in:
parent
5a751b7ab5
commit
68b4d3572a
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Pod-Markdown-1.320.tar.gz
|
||||
51
perl-Pod-Markdown.spec
Normal file
51
perl-Pod-Markdown.spec
Normal file
@ -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@redhat.com> 1.320-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user