]> git.pld-linux.org Git - packages/perl-ExtUtils-F77.git/blobdiff - perl-ExtUtils-F77.spec
- tabs in preamble
[packages/perl-ExtUtils-F77.git] / perl-ExtUtils-F77.spec
index 5717a40b87dcbd24a7586446da92830f0a03ce05..e58147609acc8682184fe4a90fc6288d521be4e0 100644 (file)
@@ -1,46 +1,63 @@
-%define        pdir    ExtUtils
-%define        pnam    F77
+#
+# Conditional build:
+%bcond_without tests   # don't perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-Summary:       ExtUtils-F77 perl module
-Summary(pl):   Modu³ perla ExtUtils-F77
+%define                pdir    ExtUtils
+%define                pnam    F77
+Summary:       ExtUtils::F77 Perl module - simple interface to F77 libraries
+Summary(pl.UTF-8):     Moduł Perla ExtUtils::F77 - prosty interfejs do bibliotek F77
 Name:          perl-ExtUtils-F77
 Version:       1.14
-Release:       3
-
-License:       GPL
+Release:       6
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8b25d181fdedd3cdc6d5d26b9bf94d27
+Patch0:                %{name}-gcc.patch
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: gcc-g77
 Requires:      gcc-g77
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-ExtUtils-F77 - Simple interface to F77 libs.
-
-%description -l pl
-ExtUtils-F77 - prosty interfejs do bibliotek F77.
+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.
+
+%description -l pl.UTF-8
+Ten moduł próbuje odkryć, jak linkować programy w C z obecnymi w
+systemie procedurami Fortranu. Zasadniczo polega to na dodaniu listy
+fortranowych bibliotek uruchomieniowych. Problem tkwi w ich położeniu
+i różnych nazwach w zależności od kombinacji systemu operacyjnego i
+kompilatora.
 
 %prep
-%setup -q -n ExtUtils-F77-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf CHANGES
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%{perl_sitelib}/ExtUtils/F77.pm
+%doc CHANGES
+%{perl_vendorlib}/ExtUtils/F77.pm
 %{_mandir}/man3/*
This page took 0.059198 seconds and 4 git commands to generate.