9cd5483
Name:           perl-Inline
9cd5483
Version:        0.44
2db1ba5
Release: 	15.2.1
9cd5483
Summary:        Inline Perl module
9cd5483
9cd5483
Group:          Development/Libraries
cc1faea
License:        GPL+ or Artistic
9cd5483
Url:            http://search.cpan.org/dist/Inline/
9cd5483
Source0:      http://www.cpan.org/authors/id/I/IN/INGY/Inline-%{version}.tar.gz
9cd5483
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9cd5483
9cd5483
BuildArch:      noarch
9cd5483
BuildRequires:  perl >= 1:5.6.1
9cd5483
BuildRequires:  perl(Parse::RecDescent)
9cd5483
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsdist f773c42
cvsdist f773c42
%description
cvsdist f773c42
The Inline module allows you to put source code from other programming
cvsdist f773c42
languages directly "inline" in a Perl script or module. The code is
cvsdist f773c42
automatically compiled as needed, and then loaded for immediate access
cvsdist f773c42
from Perl.
cvsdist f773c42
cvsdist f773c42
Inline saves you from the hassle of having to write and compile your
cvsdist f773c42
own glue code using facilities like XS or SWIG. Simply type the code
cvsdist f773c42
where you want it and run your Perl as normal. All the hairy details
cvsdist f773c42
are handled for you. The compilation and installation of your code
cvsdist f773c42
chunks all happen transparently; all you will notice is the delay of
cvsdist f773c42
compilation on the first run.
cvsdist f773c42
cvsdist f773c42
The Inline code only gets compiled the first time you run it (or
cvsdist f773c42
whenever it is modified) so you only take the performance hit
cvsdist f773c42
once. Code that is Inlined into distributed modules (like on the CPAN)
cvsdist f773c42
will get compiled when the module is installed, so the end user will
cvsdist f773c42
never notice the compilation time.
cvsdist f773c42
9cd5483
cvsdist f773c42
%prep
cvsdist f773c42
%setup -q -n Inline-%{version} 
cvsdist f773c42
cvsdist f773c42
%build
9cd5483
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
9cd5483
make %{?_smp_mflags}
cvsdist f773c42
cvsdist f773c42
%install
9cd5483
rm -rf $RPM_BUILD_ROOT
9cd5483
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
9cd5483
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
9cd5483
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
9cd5483
chmod -R u+w $RPM_BUILD_ROOT/*
9cd5483
9cd5483
%check || :
9cd5483
make test
cvsdist f773c42
9cd5483
%clean 
cvsdist f773c42
rm -rf $RPM_BUILD_ROOT
cvsdist f773c42
cvsdist 9745293
9cd5483
%files
9cd5483
%defattr(-,root,root,-)
9cd5483
%{perl_vendorlib}/Inline*
9cd5483
%{perl_vendorlib}/auto/
9cd5483
%{_mandir}/man3/*.3*
cvsdist f773c42
cvsdist f773c42
cvsdist f773c42
%changelog
2db1ba5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
2db1ba5
- rebuild
2db1ba5
jvdias 899ebd1
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.44-15.2
jvdias 899ebd1
- rebuild for new perl-5.8.8
jvdias 899ebd1
0e342a2
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
7292ee5
- rebuilt for new gcc
7292ee5
7292ee5
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
0e342a2
- rebuilt for new gcj
0e342a2
9cd5483
* Thu Apr 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.44-15
9cd5483
- BuildArch correction (noarch). (#155811)
9cd5483
- Bring up to date with current Fedora.Extras perl spec template.
35452eb
cvsdist 14bd921
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 14bd921
- rebuilt
cvsdist 14bd921
cvsdist d4dbd4f
* Thu Feb 19 2004 Chip Turner <cturner@redhat.com> 0.44-10
cvsdist d4dbd4f
- rebuild
cvsdist d4dbd4f
cvsdist d4dbd4f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d4dbd4f
- rebuilt
cvsdist d4dbd4f
cvsdist ada4c1f
* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 0.44-8
cvsdist ada4c1f
- rebuild
cvsdist ada4c1f
cvsdist 9745293
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
cvsdist 9745293
- version bump and rebuild
cvsdist 9745293
cvsdist 9745293
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
cvsdist 9745293
- rebuild
cvsdist 9745293
- update to 0.44
cvsdist 9745293
cvsdist 3b90a46
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
cvsdist 3b90a46
- automated release bump and build
cvsdist 3b90a46
cvsdist f773c42
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
cvsdist f773c42
- description update
cvsdist f773c42
cvsdist f773c42
* Fri Jun 07 2002 cturner@redhat.com
cvsdist f773c42
- Specfile autogenerated
cvsdist f773c42