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

#
# spec file for package perl-ExtUtils-F77
#
# Copyright (c) 2011 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-F77
BuildRequires:  gcc-fortran gmp-devel perl
BuildRequires:  perl-macros
Version:        1.17
Release:        1
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic-1.0
Url:            http://cpan.org/modules/by-module/ExtUtils/
Summary:        Simple interface to F77 libs
Source:         ExtUtils-F77-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%description
This module tries to figure out how to link C programs with Fortran
subroutines on your system. Basically one must add a list of Fortran
runtime libraries. The problem is their location and name varies with
each OS/compiler combination!



Authors:
--------
    Karl Glazebrook <kgb@aaoepp.aao.GOV.AU>

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

%build
perl Makefile.PL
make %{?_smp_mflags}

%check
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING CHANGES README 
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/ExtUtils
%{perl_vendorlib}/ExtUtils

%changelog
openSUSE Build Service is sponsored by