Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37652633
en ru br
ALT Linux repositórios
S:1.26-alt1
5.0: 1.15-alt1
4.1: 1.15-alt1
4.0: 1.15-alt1
3.0: 1.14-alt4.1

Group :: Desenvolvimento/Perl
RPM: perl-ExtUtils-F77

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist ExtUtils-F77
Name: perl-%dist
Version: 1.26
Release: alt1

Summary: Simple interface to F77 libs
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/E/ET/ETJ/%{dist}-%{version}.tar.gz

BuildArch: noarch

# Automatically added by buildreq on Wed Nov 16 2011

BuildRequires: gcc-fortran perl-devel perl(File/Which.pm)

%description
Simple interface to F77 libs.  Used to be in perl-PDL, but isn't anymore.

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!

%prep
%setup -q -n %{dist}-%{version}

%build
%perl_vendor_build

: show configuration
perl -Mblib -MExtUtils::F77 -e1

: try to compile hello world
cat <<__EOF__ >hello.f
     PROGRAM HELLO
     DO 10, I=1,10
     PRINT *,'Hello World'
10    CONTINUE
     STOP
     END
__EOF__

%define _g77() perl -Mblib -MExtUtils::F77 -e 'print ExtUtils::F77::%1()' |tail -1
`%{_g77 compiler}` hello.f
./a.out

%install
%perl_vendor_install

%files
%doc CHANGES README
%perl_vendor_privlib/ExtUtils

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009