Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37525797
en ru br
Репозитории ALT
S:1.26-alt1
5.1: 1.15-alt1
4.1: 1.15-alt1
4.0: 1.15-alt1
3.0: 1.14-alt4.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-ExtUtils-F77

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin