commit 8dcbf304e7a0b080331822f542b424c1f08cf1eb Author: Miro Hrončok <miro@xxxxxxxxxx> Date: Thu Jan 3 17:52:52 2013 +0100 Initial import (#876405). .gitignore | 1 + perl-Module-Build-WithXSpp.spec | 67 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..db1d392 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Build-WithXSpp-0.12.tar.gz diff --git a/perl-Module-Build-WithXSpp.spec b/perl-Module-Build-WithXSpp.spec new file mode 100644 index 0000000..1194539 --- /dev/null +++ b/perl-Module-Build-WithXSpp.spec @@ -0,0 +1,67 @@ +Name: perl-Module-Build-WithXSpp +Version: 0.12 +Release: 3%{?dist} +Summary: XS++ enhanced flavor of Module::Build +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Build-WithXSpp/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Module-Build-WithXSpp-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::CppGuess) >= 0.04 +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) >= 0.26 +BuildRequires: perl(Test::More) +Requires: perl(ExtUtils::CppGuess) >= 0.04 +Requires: perl(ExtUtils::ParseXS) >= 2.2205 +Requires: perl(ExtUtils::Typemaps) >= 1.00 +Requires: perl(ExtUtils::XSpp) >= 0.11 +Requires: perl(File::Basename) +Requires: perl(File::Spec) +Requires: perl(Module::Build) >= 0.26 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Filtering unversioned requires +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Build\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(ExtUtils::CppGuess\\)$ + +%description +This subclass of Module::Build adds some tools and processes to make it +easier to use for wrapping C++ using XS++ (ExtUtils::XSpp). + +%prep +%setup -q -n Module-Build-WithXSpp-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Dec 20 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.12-3 +- Removed deleting empty dirs in %%install section +- Do not package META.json +- Removed (B)Rs: perl(XSLoader), perl(Digest::MD5), perl(ExtUtils::CBuilder) +- Removed BRs: perl(ExtUtils::ParseXS), perl(ExtUtils::Typemaps), perl(ExtUtils::XSpp) +- Filter unversioned Requires: perl(Module::Build), perl(ExtUtils::CppGuess) +- Sort (B)Rs lexicografically + +* Fri Nov 16 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.12-2 +- Removed BRs provided by perl package + +* Wed Nov 14 2012 Miro Hrončok <miro@xxxxxxxxxx> 0.12-1 +- New version. + +* Mon Oct 01 2012 Miro Hrončok <miro@xxxxxxxxxx> 0.11-1 +- Specfile autogenerated by cpanspec 1.78 and revised. diff --git a/sources b/sources index e69de29..c6206bc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4c7ea40cd48028dce893c727396e6a60 Module-Build-WithXSpp-0.12.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