commit 0a68fc58126860bfd6112c97fd8b07475219cc17 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Oct 8 12:40:34 2014 +0100 Initial import (perl-Module-Build-XSUtil-0.14-2) Module::Build::XSUtil is a subclass of Module::Build to support building XS modules. It adds a number of compiler-related optional parameters to Module::Build's "new" method. .gitignore | 1 + perl-Module-Build-XSUtil.spec | 68 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b3dcfef 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Build-XSUtil-[0-9.]*.tar.gz diff --git a/perl-Module-Build-XSUtil.spec b/perl-Module-Build-XSUtil.spec new file mode 100644 index 0000000..19d351f --- /dev/null +++ b/perl-Module-Build-XSUtil.spec @@ -0,0 +1,68 @@ +Summary: A Module::Build class for building XS modules +Name: perl-Module-Build-XSUtil +Version: 0.14 +Release: 2%{?dist} +License: GPL+ or Artistic +URL: https://github.com/hideo55/Module-Build-XSUtil +Source0: https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +# Module Build +BuildRequires: perl +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Spec) +BuildRequires: perl(utf8) +# Module +BuildRequires: perl(Config) +BuildRequires: perl(Devel::CheckCompiler) +BuildRequires: perl(Devel::PPPort) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Path) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Cwd::Guard) +BuildRequires: perl(File::Copy::Recursive) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) >= 0.88 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Devel::CheckCompiler) +Requires: perl(Devel::PPPort) +Requires: perl(ExtUtils::CBuilder) + +%description +Module::Build::XSUtil is a subclass of Module::Build to support building XS +modules. It adds a number of compiler-related optional parameters to +Module::Build's "new" method. + +%prep +%setup -q -n Module-Build-XSUtil-%{version} + +%build +perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=%{buildroot} --create_packlist=0 + +%check +./Build test + +%files +%license LICENSE +%doc Changes README.md +%{perl_vendorlib}/Module/ +%{_mandir}/man3/Module::Build::XSUtil.3* + +%changelog +* Tue Oct 7 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.14-2 +- Sanitize for Fedora submission + +* Sat Oct 4 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.14-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..4c3b09a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +40045cdd0730d09abc05423f7c103adb Module-Build-XSUtil-0.14.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