File perl-Inline.spec of Package perl-Inline

#
# spec file for package perl-Inline (Version 0.45)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Inline
BuildRequires:  perl-Parse-RecDescent
Version:        0.45
Release:        1
Provides:       Inline
Requires:       perl = %perl_version
Requires:       perl-Parse-RecDescent
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://www.cpan.org/modules/by-module/Inline/
Summary:        Write Perl subroutines in other programming languages
Source:         Inline-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Inline lets you write Perl subroutines in other programming languages,
like C, C++, Java, Python, Tcl and even Assembly. You don't need to
compile anything. All the details are handled transparently, so you can
just run your Perl script like normal.



Authors:
--------
    Brian Ingerson <INGY@cpan.org>

%prep
%setup -n Inline-%version -q

%build
perl Makefile.PL
make

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-, root, root)
%doc Changes README
%{_mandir}/man?/*
%perl_vendorlib/Inline*
%perl_vendorlib/auto/Inline
%perl_vendorarch/auto/Inline
/var/adm/perl-modules/%name

%changelog
* Tue Jan 20 2009 anicka@suse.cz
- update to 0.45
  * Apply patch to Inline.pm that addresses a problem with
  whitespace occurring in the name of the build directory.
  * Fix ParseRegExp.pm.
  * Fix (in Inline.pm) problem regarding the calling of the same
  script from different builds of perl.
  * Allow Inline::install() subroutine to apply to languages other
  than C and CPP.
  * Fix C/Makefile.PL so that the C compiler can still be found
  when $Config{cc} reports something like /some/place/cc.
  * In C/C.pm, allow for the calling of multiple typemaps, and
  have the "No Inline C functions bound to Perl" warning
  specify the file for which no bindings were found
  * Minor doc fixes.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 16 2003 mmj@suse.de
- Don't build as root
- Use %%perl_make_install
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 14 2003 mmj@suse.de
- Use vendor_install target and friends
* Tue Jul 01 2003 mmj@suse.de
- Use %%perl_process_packlist
* Wed Jun 18 2003 coolo@suse.de
- package directories
* Tue May 13 2003 mmj@suse.de
- Package all files
* Mon Dec 02 2002 mmj@suse.de
- Update to 0.44
* Mon Jul 29 2002 mls@suse.de
- Fixed neededforbuild for perl-5.8.0
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Wed Aug 01 2001 grimmer@suse.de
- update to 0.43
* Fri Jun 22 2001 grimmer@suse.de
- added missing Requires:
* Fri Jun 22 2001 grimmer@suse.de
- initial build (version 0.42), required for latest
  version of grepmail (probably other packages will need it, too)
openSUSE Build Service is sponsored by