]> git.pld-linux.org Git - packages/perl-ExtUtils-F77.git/blob - perl-ExtUtils-F77.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-ExtUtils-F77.git] / perl-ExtUtils-F77.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # don't perform "make test"
4 #
5 %define         pdir    ExtUtils
6 %define         pnam    F77
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
10 Version:        1.17
11 Release:        1
12 # same as perl
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
22 Requires:       gcc-fortran
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
31
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
37 kompilatora.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %patch0 -p1
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc CHANGES
62 %{perl_vendorlib}/ExtUtils/F77.pm
63 %{_mandir}/man3/ExtUtils::F77.3pm*
This page took 0.054783 seconds and 4 git commands to generate.