|
|
|
Name: perl-Inline
|
|
|
|
Version: 0.44
|
|
|
|
Release: 15.1
|
|
|
|
Summary: Inline Perl module
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL or Artistic
|
|
|
|
Url: http://search.cpan.org/dist/Inline/
|
|
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Inline-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl >= 1:5.6.1
|
|
|
|
BuildRequires: perl(Parse::RecDescent)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%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}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check || :
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{perl_vendorlib}/Inline*
|
|
|
|
%{perl_vendorlib}/auto/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt for new gcj
|
|
|
|
|
|
|
|
* Thu Apr 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.44-15
|
|
|
|
- BuildArch correction (noarch). (#155811)
|
|
|
|
- Bring up to date with current Fedora.Extras perl spec template.
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Feb 19 2004 Chip Turner <cturner@redhat.com> 0.44-10
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 0.44-8
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
|
|
|
- version bump and rebuild
|
|
|
|
|
|
|
|
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- rebuild
|
|
|
|
- update to 0.44
|
|
|
|
|
|
|
|
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- automated release bump and build
|
|
|
|
|
|
|
|
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- description update
|
|
|
|
|
|
|
|
* Fri Jun 07 2002 cturner@redhat.com
|
|
|
|
- Specfile autogenerated
|
|
|
|
|