Name: perl-Text-Markdown-Discount
Summary: Perl interface to Discount
Version: 0.02
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Text-Markdown-Discount/
Description: Text::Markdown::Discount is a Perl extension interface for Discount, an
implementation of John Gruber's markdown in C, developed by David Loren
Parsons.
The build could not start because of the following missing build requirements:
The build could not start because of the following missing build requirements:
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: shuff # Upstream: Masayoshi Sekimura <sekimura$cpan,org> %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name Text-Markdown-Discount %define perl_prefix %{buildroot}%{_prefix} Summary: Perl interface to Discount Name: perl-Text-Markdown-Discount Version: 0.02 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Text-Markdown-Discount/ Source: http://search.cpan.org/CPAN/authors/id/S/SE/SEKIMURA/Text-Markdown-Discount-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: discount-devel BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: rpm-macros-rpmforge ### remove autoreq Perl dependencies %filter_from_requires /^perl.*/d %filter_setup %description Text::Markdown::Discount is a Perl extension interface for Discount, an implementation of John Gruber's markdown in C, developed by David Loren Parsons. %prep %setup -n %{real_name}-%{version} # fix problem with modules generated by older versions of Dist::Zilla #%{?el5:%{__perl} -pi -e '/.*ExtUtils::MakeMaker.*6\.31.*/ && s/6\.3\d/6.30/' Makefile.PL} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{perl_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install #%{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch} # fix for stupid strip issue #%{__chmod} -R u+w %{buildroot}/* %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes META.yml README %doc %{_mandir}/man?/* %{perl_vendorarch}/Text/Markdown/Discount.pm %{perl_vendorarch}/auto/Text/Markdown/Discount/* #%exclude %{perl_archlib}/perllocal.pod %exclude %{perl_vendorarch}/auto/*/*/*/.packlist %changelog * Mon Apr 23 2012 Steve Huff <shuff@vecna.org> - 0.02-1 - Initial package.