jonkni pushed to perl-Inline-Python (epel7). "Initial import (#1234791)."
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Jun 26 10:56:34 UTC 2015
From 23f4d0d723d804570e55cd8284b609ad9f5015f8 Mon Sep 17 00:00:00 2001
From: Jon Kerr Nilsen <j.k.nilsen at usit.uio.no>
Date: Thu, 25 Jun 2015 16:31:59 +0200
Subject: Initial import (#1234791).
diff --git a/.gitignore b/.gitignore
index e69de29..e45a5d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Inline-Python-0.49.tar.gz
diff --git a/perl-Inline-Python.spec b/perl-Inline-Python.spec
new file mode 100644
index 0000000..84ea644
--- /dev/null
+++ b/perl-Inline-Python.spec
@@ -0,0 +1,80 @@
+Name: perl-Inline-Python
+Version: 0.49
+Release: 3%{?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
+* Wed Jun 24 2015 Jon Kerr Nilsen <j.k.nilsen at usit.uio.no> 0.49-3
+- added two forgotten BuildRequires
+* Wed Jun 24 2015 Jon Kerr Nilsen <j.k.nilsen at usit.uio.no> 0.49-2
+- adjusted to fit Fedora packaging guidelines.
+* Fri Jun 19 2015 Jon Kerr Nilsen <j.k.nilsen at usit.uio.no> 0.49-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b3f8749 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3900f3fbd0bb33c3b8e06c908a14ec2d Inline-Python-0.49.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Inline-Python.git/commit/?h=epel7&id=23f4d0d723d804570e55cd8284b609ad9f5015f8
More information about the perl-devel
mailing list