commit 157dccbfaf293de208126da357487412e17753cc Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue May 29 15:03:28 2012 +0200 Initial import .gitignore | 1 + perl-Devel-CallParser.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..cb543bc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-CallParser-0.001.tar.gz diff --git a/perl-Devel-CallParser.spec b/perl-Devel-CallParser.spec new file mode 100644 index 0000000..22008ba --- /dev/null +++ b/perl-Devel-CallParser.spec @@ -0,0 +1,68 @@ +Name: perl-Devel-CallParser +Version: 0.001 +Release: 1%{?dist} +Summary: Custom parsing attached to subroutines +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-CallParser/ +Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Devel-CallParser-%{version}.tar.gz +BuildRequires: perl >= 0:5.011002 +BuildRequires: perl(Devel::CallChecker) >= 0.002 +BuildRequires: perl(DynaLoader) +BuildRequires: perl(DynaLoader::Functions) +BuildRequires: perl(Exporter) +BuildRequires: perl(parent) +BuildRequires: perl(Module::Build) +# Tests +BuildRequires: perl(Data::Alias) >= 1.13 +BuildRequires: perl(Devel::Declare) >= 0.006004 +BuildRequires: perl(ExtUtils::CBuilder) >= 0.15 +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::File) >= 1.03 +BuildRequires: perl(Lexical::Sub) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(Devel::CallChecker) >= 0.002 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Conflicts: perl(Data::Alias) < 1.13 +Conflicts: perl(Devel::Declare) < 0.006004 + +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::CallChecker\\) + +%description +This module provides a C API, for XS modules, concerned with custom +parsing. It is centered around the function cv_set_call_parser, which allows +XS code to attach a magical annotation to a Perl subroutine, resulting in +resolvable calls to that subroutine having their arguments parsed by +arbitrary C code. (This is a more conveniently structured facility than the +core's PL_keyword_plugin API.) This module makes cv_set_call_parser and +several supporting functions available. + +%prep +%setup -q -n Devel-CallParser-%{version} + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Devel* +%{_mandir}/man3/* + +%changelog +* Mon May 21 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.001-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..3d852d1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +28bfcb750a1faa2a0a9f9c0eb68b88fc Devel-CallParser-0.001.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