Name: perl-Pandoc Version: 0.6.0 Release: 1%{?dist} Summary: Wrapper for the mighty Pandoc document converter License: GPL+ Group: Development/Libraries URL: http://search.cpan.org/dist/Pandoc/ Source0: http://www.cpan.org/modules/by-module/Pandoc/Pandoc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.010 BuildRequires: perl(File::Which) >= 1.11 BuildRequires: perl(IPC::Run3) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.96 Requires: perl(File::Which) >= 1.11 Requires: perl(IPC::Run3) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a Perl wrapper for John MacFarlane's Pandoc document converter. %prep %setup -q -n Pandoc-%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* /usr/lib64/perl5/vendor_perl/auto/Pandoc/.packlist %changelog * Sat Mar 18 2017 Dave Cross 0.6.0-1 - Specfile autogenerated by cpanspec 1.78.