3 %bcond_without tests # don't perform "make test"
7 Summary: ExtUtils::F77 Perl module - simple interface to F77 libraries
8 Summary(pl.UTF-8): Moduł Perla ExtUtils::F77 - prosty interfejs do bibliotek F77
9 Name: perl-ExtUtils-F77
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: c0143b5342587ed2ee5db3f6cfb9cc13
17 Patch0: %{name}-gcc.patch
18 URL: http://search.cpan.org/dist/ExtUtils-F77/
19 BuildRequires: gcc-fortran
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module tries to figure out how to link C programs with Fortran
28 subroutines on your system. Basically one must add a list of Fortran
29 runtime libraries. The problem is their location and name varies with
30 each OS/compiler combination.
32 %description -l pl.UTF-8
33 Ten moduł próbuje odkryć, jak linkować programy w C z obecnymi w
34 systemie procedurami Fortranu. Zasadniczo polega to na dodaniu listy
35 fortranowych bibliotek uruchomieniowych. Problem tkwi w ich położeniu
36 i różnych nazwach w zależności od kombinacji systemu operacyjnego i
40 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/ExtUtils/F77.pm
63 %{_mandir}/man3/ExtUtils::F77.3pm*