Name: perl-Inline-Python Version: 0.49 Release: 5%{?dist} Summary: Write Perl subs and classes in Python License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Inline-Python/ Source0: http://www.cpan.org/authors/id/N/NI/NINE/Inline-Python-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Path) BuildRequires: perl(Getopt::Long) BuildRequires: perl(Inline) >= 0.46 BuildRequires: perl(Inline::denter) BuildRequires: perl(overload) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(POSIX) BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Simple) BuildRequires: perl(utf8) BuildRequires: perl(warnings) BuildRequires: python-devel >= 2.5 Requires: perl(Inline) >= 0.46 Requires: perl(Inline::denter) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Remove underspecified generated dependency %global __requires_exclude ^perl\\(Inline\\)$ %description The Inline::Python module allows you to put Python source code directly "inline" in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python's symbol table for things to bind to Perl. The process of interrogating the Python interpreter for global variables only occurs the first time you run your Python code. The name-space is cached, and subsequent calls use the cached version. %prep %setup -q -n Inline-Python-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README ToDo %{perl_vendorarch}/auto/* %{perl_vendorarch}/Inline* %{_mandir}/man3/* %changelog * Sun May 15 2016 Jitka Plesnikova - 0.49-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.49-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 24 2015 Jon Kerr Nilsen 0.49-3 - added two forgotten BuildRequires * Wed Jun 24 2015 Jon Kerr Nilsen 0.49-2 - adjusted to fit Fedora packaging guidelines. * Fri Jun 19 2015 Jon Kerr Nilsen 0.49-1 - Specfile autogenerated by cpanspec 1.78.