Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
perl-PDL
perl-PDL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-PDL.spec of Package perl-PDL
# # spec file for package perl-PDL (Version 2.4.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-PDL BuildRequires: f2c fftw-devel freeglut-devel gcc-fortran gsl-devel ncurses-devel perl-Curses perl-ExtUtils-F77 perl-Inline xorg-x11 xorg-x11-Xvfb License: BSD 3-Clause; GPL v2 or later Group: Development/Libraries/Perl Provides: PDL perl_pdl Obsoletes: perl_pdl AutoReqProv: on Version: 2.4.3 Release: 141 Summary: PDL - perlDL module extension for perl Source: ftp://www.cpan.org/CPAN/modules/by-module/PDL/PDL-%{version}.tar.bz2 Patch: PDL-%{version}.diff Patch1: PDL-%{version}-64bit.diff Patch4: PDL-%{version}-return.diff Patch5: PDL-%{version}-pdldoc.db.diff Patch6: PDL-%{version}-64bitpointer.diff Patch7: PDL-%{version}-prototypes.diff Patch8: PDL-%{version}-makefile.diff Patch9: PDL-%{version}-qsortvec.diff Patch10: PDL-%{version}-undefined-operation.diff Patch11: PDL-%{version}-ppdef.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://cpan.org/modules/by-module/PDL/ %description The perlDL project aims to turn perl into an efficient numerical language for scientific computing. The PDL module gives standard perl the ability to compactly store and speedily manipulate the large N-dimensional data sets. Authors: -------- Tuomas J. Lukka <lukka@fas.harvard.edu> Karl Glazebrook <kgb@aaoepp.aao.gov.au> %prep %setup -n PDL-%{version} -q %patch %ifarch x86_64 s390x alpha ia64 ppc64 %patch1 %endif %patch4 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %build perl Makefile.PL make CCCDLFLAGS="-fPIC -DPERL_REENTR_API=1" #to make the tests of srand pass Xvfb :95 & trap "kill $! || true" EXIT sleep 5 # the following tests are disabled for the reason specified mv t/flexraw.t t/flexraw.tt # gfortran format not compatible to g77 %ifarch sparc s390x s390 x86_64 mv t/slatec.t t/slatec.tt # a bug somewhere in chid() function %endif mv t/opengl.t t/opengl.tt # does not work with Xvfb server mv t/xvals.t t/xvals.tt #mysterioously fails, see upstream #1744014 DISPLAY=:95 make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor mv $RPM_BUILD_ROOT/usr/lib/perl5/%{perl_version} $RPM_BUILD_ROOT/usr/lib/perl5/%{perl_version}.tmp cp -R /usr/lib/perl5/%{perl_version} $RPM_BUILD_ROOT/usr/lib/perl5 perl -I blib/lib -I blib/arch Doc/scantree.pl $RPM_BUILD_ROOT%{perl_vendorarch} rm -rf $RPM_BUILD_ROOT/usr/lib/perl5/%{perl_version} mv $RPM_BUILD_ROOT/usr/lib/perl5/%{perl_version}.tmp $RPM_BUILD_ROOT/usr/lib/perl5/%{perl_version} %perl_process_packlist for i in `find $RPM_BUILD_ROOT/%{perl_vendorarch}/PDL/HtmlDocs/PDL/ -type f`; do sed s:$RPM_BUILD_ROOT::g < $i > $i.tmp mv $i.tmp $i done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Known_problems TODO README COPYING DEVELOPMENT Changes Release_Notes BUGS DEPENDENCIES MANIFEST Example %doc %{_mandir}/man?/* %{perl_vendorarch}/auto/PDL %{perl_vendorarch}/PDL %{perl_vendorarch}/Inline %{perl_vendorarch}/PDL.pm %{_bindir}/* /var/adm/perl-modules/perl-PDL %changelog * Mon Mar 03 2008 anicka@suse.cz - workaround problem with incompatible random generators - disable xvals.t (upstream bugzilla #1744014) - fix undefined operation in pp_def * Fri Mar 30 2007 aj@suse.de - Cleanup buildrequires. * Thu Feb 15 2007 anicka@suse.cz - fix build (call Doc/scantree.pl with right path in %%install) * Wed Dec 13 2006 anicka@suse.cz - fix invalid operation in IIS.xs * Wed Sep 13 2006 anicka@suse.cz - update to 2.4.3 * Modified gsl_interp.pd and gsl_random.pd to pass pointers as IVs (removed our patches fixing the same problem) * bugfixes, documentation added * Modified PDL::GSL::INTEG to enable the calculation of nested integrals * Fri Aug 18 2006 anosek@suse.cz - disable opengl test, does not work with Xvfb server * Mon Mar 27 2006 mls@suse.de - fix qsortvec for platforms with unsigned char * Tue Jan 31 2006 mls@suse.de - workaround makefile problem with perl-5.8.8 - disable flexraw test, does not work with gfortran * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Aug 01 2005 mjancar@suse.cz - update to 2.4.2 - fix implicit prototypes * Mon Feb 14 2005 schwab@suse.de - Fix invalid casts. * Mon Feb 14 2005 schwab@suse.de - Fix missing declarations. * Wed May 12 2004 mjancar@suse.cz - genereate documentation database (#38504) * Tue Apr 27 2004 mjancar@suse.cz - mark void functions as such - disable tests that fail on certain architectures * Sat Apr 24 2004 sndirsch@suse.de - use xorg-x11 packages * Thu Apr 01 2004 mls@suse.de - ppc64 also has 64bit * Wed Mar 31 2004 mls@suse.de - fix gsl interp on 64bit platforms * Wed Mar 31 2004 mls@suse.de - fix range operator for 64bit platforms * Tue Mar 02 2004 mjancar@suse.cz - update to 2.4.1 * Sun Feb 22 2004 ro@suse.de - added libusb and resmgr to neededforbuild * Sat Jan 10 2004 adrian@suse.de - add %%defattr * Mon Jul 21 2003 mjancar@suse.cz - adapt to perl-5.8.1 - use %%perl_process_packlist * Thu Jun 26 2003 ro@suse.de - remove traces of buildroot in documentation (fix basedir for find command) * Tue May 20 2003 mjancar@suse.cz - remove unpackaged files * Mon Mar 31 2003 ro@suse.de - use mesa-devel-packages in neededforbuild * Thu Dec 05 2002 prehak@suse.cz - updated to version 2.3.4 - added freetype2 to neededforbuild - disabled slatec.t for sparc * Mon Nov 11 2002 ro@suse.de - updated neededforbuild after xf86-rename * Thu Oct 17 2002 prehak@suse.cz - fixed for lib64 archs - disabled some tests for axp * Sat Oct 12 2002 prehak@suse.cz - used Xvfb to enable and pass t/opengl.t test * Wed Sep 18 2002 prehak@suse.cz - fixed callext.t test - rejected some specified tests, but enabled make test * Mon Jul 29 2002 mls@suse.de - Fixed neededforbuild for perl-5.8.0 * Mon Jul 22 2002 prehak@suse.cz - update to version 2.3.3 - added Example directory and more to documentation * Fri May 24 2002 ro@suse.de - use -fPIC when building shared object * Sun Feb 03 2002 schwab@suse.de - Add mesa, mesaglu and mesasoft to neededforbuild. - Fix race when polishing .packlist. - Fix for 64bit platforms. * Wed Jan 16 2002 rvasice@suse.cz - update to version 2.3.2 - spec file cleanup * Tue Jun 26 2001 ro@suse.de - update to 2.2.1 ( to make it build ) * Wed May 09 2001 mfabian@suse.de - bzip2 sources * Tue Nov 14 2000 pblaha@suse.cz - rename to perl-PDL * Wed Aug 23 2000 bubnikv@suse.cz - updated to 2.1.1 * Fri May 26 2000 bubnikv@suse.cz - sorted * Fri Mar 31 2000 bubnikv@suse.cz - new version (2.004) - added buildroot * Thu Jan 20 2000 ro@suse.de - use macro for mandir * Tue Oct 19 1999 fehr@suse.de - changed to new version 2.002 * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Fri Apr 30 1999 ro@suse.de - fixed to build on alpha * Wed Apr 14 1999 fehr@suse.de - add version 2.0 of package to SuSE distribution
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor