Hello,

I am trying to make a rpm package from PDL-LinearAlgebra-0.06.tar.gz

It is OK upto:

RPM build errors:
    File not found by glob: 
/home/pdupre/rpm/BUILDROOT/perl-PDL-LinearAlgebra-0.06-1.fc19.i386/usr/share/perl5/vendor_perl/*
    File not found by glob: 
/home/pdupre/rpm/BUILDROOT/perl-PDL-LinearAlgebra-0.06-1.fc19.i386/usr/bin/*

The test is OK

here is the spec file:
Name:           perl-PDL-LinearAlgebra
Version:        0.06
Release:        1%{?dist}
Summary:        Linear Algebra utils for PDL
License:        CHECK(GPL+ or Artistic)
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/PDL-LinearAlgebra/
Source0:        
http://www.cpan.org/modules/by-module/PDL/PDL-LinearAlgebra-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
This module provides a convenient interface to PDL::LinearAlgebra::Real and
PDL::LinearAlgebra::Complex. Its primary purpose is educational. You have
to know that routines defined here are not optimized, particularly in term
of memory. Since Blas and Lapack use a column major ordering scheme some
routines here need to transpose matrices before calling fortran routines
and transpose back (see the documentation of each routine). If you need
optimized code use directly PDL::LinearAlgebra::Real and
PDL::LinearAlgebra::Complex. It's planned to "port" this module to
PDL::Matrix such that transpositions will not be necessary, the major
problem is that two new modules need to be created PDL::Matrix::Real and
PDL::Matrix::Complex.

%prep
%setup -q -n PDL-LinearAlgebra-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Artistic Changes Config README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sat Jul 20 2013 Patrick Dupre 0.06-1
- Specfile autogenerated by cpanspec 1.78.






The file seems to be in:
../BUILDROOT/perl-PDL-LinearAlgebra-0.06-1.fc19.i386/usr/lib/perl5/vendor_perl

Thank for your help

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to