# Perform an optional test %bcond_without perl_Inline_enables_optional_test Name: perl-Inline Version: 0.82 Release: 1%{?dist} Summary: Inline Perl module License: GPL+ or Artistic Url: https://metacpan.org/release/Inline Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/Inline-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.8.1 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Digest::MD5) BuildRequires: perl(DynaLoader) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(FindBin) BuildRequires: perl(Socket) BuildRequires: perl(utf8) BuildRequires: perl(version) >= 0.82 # Tests only BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(Inline::Files) BuildRequires: perl(lib) BuildRequires: perl(Test::More) # Test::Pod 1.41 not used BuildRequires: perl(Test::Warn) >= 0.23 %if %{with perl_Inline_enables_optional_test} # Optional tests BuildRequires: perl(diagnostics) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Digest::MD5) Requires: perl(DynaLoader) Requires: perl(File::Spec) >= 0.80 Requires: perl(FindBin) Requires: perl(Socket) Requires: perl(version) >= 0.82 %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((File::Spec|version)\\)$ %global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(Inline\\)$ %description The Inline module allows you to put source code from other programming languages directly "inline" in a Perl script or module. The code is automatically compiled as needed, and then loaded for immediate access from Perl. Inline saves you from the hassle of having to write and compile your own glue code using facilities like XS or SWIG. Simply type the code where you want it and run your Perl as normal. All the hairy details are handled for you. The compilation and installation of your code chunks all happen transparently; all you will notice is the delay of compilation on the first run. The Inline code only gets compiled the first time you run it (or whenever it is modified) so you only take the performance hit once. Code that is Inlined into distributed modules (like on the CPAN) will get compiled when the module is installed, so the end user will never notice the compilation time. %prep %setup -q -n Inline-%{version} find example -type f -exec chmod 0644 {} + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} chmod -R u+w %{buildroot}/* %check unset AUTHOR_TESTING PERL_INLINE_DIRECTORY make test %files %license LICENSE %doc Changes CONTRIBUTING example README %{perl_vendorlib}/Inline* %{_mandir}/man3/*.3* %changelog * Wed Apr 03 2019 Petr Pisar - 0.82-1 - 0.82 bump * Mon Feb 04 2019 Petr Pisar - 0.81-1 - 0.81 bump * Fri Jul 13 2018 Fedora Release Engineering - 0.80-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.80-10 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.80-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.80-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.80-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.80-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.80-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.80-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.80-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.80-2 - Perl 5.22 rebuild * Wed Mar 18 2015 Petr Šabata - 0.80-1 - 0.80 bump * Wed Feb 18 2015 Petr Šabata - 0.79-1 - 0.79 bump, Win32 fixes only * Fri Dec 05 2014 Petr Šabata - 0.78-1 - 0.78 bump * Mon Sep 29 2014 Petr Šabata - 0.77-1 - 0.77 bump * Thu Aug 28 2014 Jitka Plesnikova - 0.76-2 - Perl 5.20 rebuild * Wed Aug 20 2014 Petr Šabata - 0.76-1 - 0.76 bump * Thu Aug 14 2014 Petr Šabata - 0.68-2 - Don't require Filters or Struct when bootstrapping * Tue Aug 12 2014 Petr Šabata - 0.68-1 - 0.68 bump * Fri Aug 08 2014 Petr Pisar - 0.67-1 - 0.67 bump * Fri Aug 01 2014 Petr Šabata - 0.66-1 - 0.66 bump * Wed Jul 16 2014 Petr Šabata - 0.62-1 - 0.62 bump - Remove Inline::C from distribution * Sat Jun 07 2014 Fedora Release Engineering - 0.55-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 29 2014 Petr Šabata - 0.55-1 - 0.55 bump * Sat Aug 03 2013 Fedora Release Engineering - 0.53-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.53-4 - Perl 5.18 rebuild * Sat Jul 20 2013 Petr Šabata - 0.53-3 - Correcting the Licence tag; C-Cookbook.pod is Artistic only - Fix a bogus date in changelog * Sat Jul 20 2013 Petr Šabata - 0.53-2 - Add some missing dependencies * Thu May 02 2013 Petr Šabata - 0.53-1 - 0.53 bump, marker regexp enhancements * Thu Mar 07 2013 Petr Šabata - 0.52-1 - 0.52 bump * Thu Feb 14 2013 Fedora Release Engineering - 0.51-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 15 2012 Petr Šabata - 0.51-2 - Use DESTDIR - Don't remove the nonexistent empty directories * Mon Oct 15 2012 Petr Šabata - 0.51-1 - 0.51 bump * Fri Jul 20 2012 Fedora Release Engineering - 0.50-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 16 2012 Petr Pisar - 0.50-2 - Perl 5.16 rebuild * Tue Feb 07 2012 Petr Šabata - 0.50-1 - 0.50 bump - Minor cleanup * Fri Jan 13 2012 Fedora Release Engineering - 0.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 13 2011 Marcela Mašláňová 0.49-1 - bump to 0.49 - add BR: perl(Carp), perl(File::Spec), perl(Test::More) - add R: perl(Data::Dumper) * Wed Nov 09 2011 Iain Arnell 0.48-3 - R/BR perl(Digest::MD5) * Wed Jun 29 2011 Marcela Mašláňová - 0.48-2 - Perl mass rebuild - fix filter macro * Mon Mar 7 2011 Marcela Mašláňová - 0.48-1 - update to 0.48 - add Test::Warn into BR * Tue Feb 08 2011 Fedora Release Engineering - 0.47-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jan 25 2011 Marcela Mašláňová - 0.47-1 - 671863 update to 0.47 * Fri Dec 17 2010 Marcela Maslanova - 0.46-2 - 661697 rebuild for fixing problems with vendorach/lib * Wed Jul 14 2010 Tom "spot" Callaway - 0.46-1 - update to 0.46 * Sun May 02 2010 Marcela Maslanova - 0.44-24 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.44-23 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.44-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.44-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.44-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 5 2008 Tom "spot" Callaway - 0.44-19 - rebuild for new perl * Mon Nov 19 2007 Robin Norwood - 0.44-18 - Add BR: perl(Inline::Files) * Wed Oct 24 2007 Robin Norwood - 0.44-17 - Various fixes from package review * Tue Oct 16 2007 Tom "spot" Callaway - 0.44-16 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control - rebuild * Fri Feb 03 2006 Jason Vas Dias - 0.44-15.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Thu Apr 21 2005 Jose Pedro Oliveira - 0.44-15 - BuildArch correction (noarch). (#155811) - Bring up to date with current Fedora.Extras perl spec template. * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Feb 19 2004 Chip Turner 0.44-10 - rebuild * Fri Feb 13 2004 Elliot Lee - rebuilt * Tue Jun 17 2003 Chip Turner 0.44-8 - rebuild * Mon Jan 27 2003 Chip Turner - version bump and rebuild * Wed Nov 20 2002 Chip Turner - rebuild - update to 0.44 * Tue Aug 6 2002 Chip Turner - automated release bump and build * Thu Jun 27 2002 Chip Turner - description update * Fri Jun 07 2002 cturner@redhat.com - Specfile autogenerated