File perl-ExtUtils-Depends.spec of Package perl-ExtUtils-Depends

#
# spec file for package perl-ExtUtils-Depends (Version 0.302)
#
# 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-ExtUtils-Depends
Url:            http://cpan.org/modules/by-module/ExtUtils/
License:        Artistic License ..
Group:          Development/Libraries/Perl
Requires:       perl = %{perl_version}
AutoReqProv:    on
Summary:        ExtUtils-Depends Perl module
Version:        0.302
Release:        1
Source:         ExtUtils-Depends-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module tries to make it easy to build Perl extensions that use
functions and typemaps provided by other perl extensions. This means
that a perl extension is treated like a shared library that provides
also a C and an XS interface besides the perl one.  This works as long
as the base extension is loaded with the RTLD_GLOBAL flag (usually done
with a sub dl_load_flags {0x01} in the main .pm file) if you need to
use functions defined in the module.



Authors:
--------
    Paolo Molaro <lupus@debian.org>
    muppet <scott@asofyet.org> 

%prep
%setup -q -n ExtUtils-Depends-%{version}

%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
%doc %{_mandir}/man?/*
%{perl_vendorlib}/ExtUtils
%{perl_vendorarch}/auto/ExtUtils
/var/adm/perl-modules/%{name}

%changelog
openSUSE Build Service is sponsored by