packages: perl-PDL/perl-PDL-Makefile.PL.patch-dumb, perl-PDL/perl-PDL-conf....
baggins
baggins at pld-linux.org
Thu Jul 29 12:39:11 CEST 2010
Author: baggins Date: Thu Jul 29 10:39:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 1
- updated files
- added IO-Dicom and Minuit packages
- BR libgfortran-static
---- Files affected:
packages/perl-PDL:
perl-PDL-Makefile.PL.patch-dumb (1.2 -> 1.3) , perl-PDL-conf.patch (1.13 -> 1.14) , perl-PDL.spec (1.107 -> 1.108)
---- Diffs:
================================================================
Index: packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb
diff -u packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb:1.2 packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb:1.3
--- packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb:1.2 Tue Dec 30 17:39:57 2003
+++ packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb Thu Jul 29 12:39:05 2010
@@ -7,6 +7,6 @@
# 'perl Makefile.PL'!!!
-package PDL;
+package PDL::Config;
+ use File::Spec;
\%PDL::Config = (\n";
for(keys %PDL_CONFIG) {
- $fh->print( "\t$_\t=>\t" );
================================================================
Index: packages/perl-PDL/perl-PDL-conf.patch
diff -u packages/perl-PDL/perl-PDL-conf.patch:1.13 packages/perl-PDL/perl-PDL-conf.patch:1.14
--- packages/perl-PDL/perl-PDL-conf.patch:1.13 Thu Apr 10 17:14:37 2008
+++ packages/perl-PDL/perl-PDL-conf.patch Thu Jul 29 12:39:05 2010
@@ -1,27 +1,21 @@
diff -urN PDL-2.4.0.org/perldl.conf PDL-2.4.0/perldl.conf
--- PDL-2.4.0.org/perldl.conf 2003-12-30 14:54:25.663910257 +0100
+++ PDL-2.4.0/perldl.conf 2003-12-30 15:14:41.363631658 +0100
-@@ -58,16 +58,19 @@
+@@ -58,12 +58,12 @@
# There are problems with the build on OS-X, so we turn it off by default
# for such systems
#
-- WITH_3D => $^O eq "darwin" ? 0 : undef,
-+ WITH_3D => 1,
+- WITH_3D => undef,
++ WITH_3D => 1,
+ #
+ # Build Graphics/TriD using Perl OpenGL (experimental)
#
- # For Mesa 3.2
- #
- # OPENGL_LIBS => '-L/usr/local/Mesa/lib -lGL -lGLU -lXext -lX11',
-+ OPENGL_LIBS => '-lGL -lGLU -lXext -lX11',
- # Mesa need -DGL_GLEXT_LEGACY for glPolygonOffsetEXT amoung others
- #
- # OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
- # OPENGL_INC => '-I/usr/include/GL/',
-+ OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
-+ OPENGL_INC => '-I/usr/include',
+- USE_POGL => undef,
++ USE_POGL => 1,
+ # USE_POGL => 0,
#
- #
- # For SGI GL
+ POGL_VERSION => 0.62, # minimum compatible OpenGL version
@@ -76,7 +79,7 @@
# Whether or not to build the Karma interface module
================================================================
Index: packages/perl-PDL/perl-PDL.spec
diff -u packages/perl-PDL/perl-PDL.spec:1.107 packages/perl-PDL/perl-PDL.spec:1.108
--- packages/perl-PDL/perl-PDL.spec:1.107 Thu Jul 29 12:05:26 2010
+++ packages/perl-PDL/perl-PDL.spec Thu Jul 29 12:39:05 2010
@@ -14,7 +14,7 @@
Summary(pt_BR.UTF-8): Módulo PDL para perl
Name: perl-PDL
Version: 2.4.6
-Release: 0.1
+Release: 1
Epoch: 1
# same as perl
License: GPL v1+ or Artistic
@@ -33,6 +33,7 @@
BuildRequires: gd-devel
BuildRequires: gsl-devel >= 1.3
%{?with_karma:BuildRequires: karma-devel}
+BuildRequires: libgfortran-static
BuildRequires: ncurses-devel >= 5.0
BuildRequires: perl-ExtUtils-F77 >= 1.10
BuildRequires: perl-Filter
@@ -289,6 +290,26 @@
%description IO-Browser -l pl.UTF-8
Przeglądarka danych 2D dla PDL.
+%package IO-Dicom
+Summary: Module for reading DICOM images
+Summary(pl.UTF-8): Moduł służący do czytania obrazów w formacie DICOM
+Group: Development/Languages/Perl
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description IO-Dicom
+The PDL::IO::Dicom module enables reading 16-bit gray level Dicom
+images into PDL. As Dicom is an extremely complex format, this module
+can unfortunately not handle all different image types included in the
+DICOM standard. One common format that is currently not supported is
+the Papyrus format.
+
+%description IO-Dicom -l pl.UTF-8
+Moduł PDL::IO::Dicom umożliwia czytanie obrazów w 16-bitowej skali
+szarości w formacie DICOM. Ponieważ DICOM jest niezwykle
+skomplikowanym formatem, ten moduł nie jest w stanie przeczytać
+wszystkich rodzajów obrazów zdefiniowanych w standardzie DICOM.
+Np. format Papyrus jest obecnie nie obsługiwany.
+
%package IO-FastRaw
Summary: A simple, fast and convenient IO format for PDL
Summary(pl.UTF-8): Prosty, szybki i wygodny format wejścia/wyjścia dla PDL
@@ -416,6 +437,21 @@
%description GSLSF -l pl.UTF-8
Interfejs PDL do funkcji specjalnych GSL.
+%package Minuit
+Summary: PDL interface to the Minuit library
+Summary(pl.UTF-8): Interfejs PDL do biblioteki Minuit
+Group: Development/Languages/Perl
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description Minuit
+This package implements an interface to the Minuit minimization
+routines (part of the CERN Library,
+http://wwwasdoc.web.cern.ch/wwwasdoc/minuit/minmain.html)
+
+%description Minuit -l pl.UTF-8
+Ten pakiet udostępnia interfejs do funkcji minimizujących Minuit
+(http://wwwasdoc.web.cern.ch/wwwasdoc/minuit/minmain.html).
+
%package Transform
Summary: Coordinate transforms, image warping, and N-D functions
Summary(pl.UTF-8): Transformacje współrzędnych, warpowaie obrazów i funkcje N-D
@@ -471,6 +507,7 @@
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags} -I/usr/include/ncurses -DNCURSES -DPERL_POLLUTE"
@@ -480,7 +517,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
# perl script to regenerate pdldoc database
@@ -559,6 +596,11 @@
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
fi
+%post IO-Dicom
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+ /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
%post IO-FastRaw
if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -609,6 +651,11 @@
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
fi
+%post Minuit
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+ /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
%post Transform
if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -669,6 +716,11 @@
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
fi
+%postun IO-Dicom
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+ /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
%postun IO-FastRaw
if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -719,6 +771,11 @@
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
fi
+%postun Minuit
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+ /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
%postun Transform
if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -975,6 +1032,11 @@
%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/Browser/*.so
%{perl_vendorarch}/PDL/IO/Browser*
+%files IO-Dicom
+%defattr(644,root,root,755)
+%{_mandir}/man3/PDL::IO::Dicom*
+%{perl_vendorarch}/PDL/IO/Dicom*
+
%files IO-FastRaw
%defattr(644,root,root,755)
%{_mandir}/man3/PDL::IO::FastRaw*
@@ -1024,14 +1086,12 @@
%{_mandir}/man3/PDL::Fit::Linfit*
%{_mandir}/man3/PDL::Fit::LM*
%{_mandir}/man3/PDL::Fit::Polynomial*
-%{_mandir}/man3/PDL::Gaussian*
%{_mandir}/man3/PDL::Matrix.3pm*
%{_mandir}/man3/PDL::Slatec*
%{perl_vendorarch}/PDL/Filter/LinPred.pm
%{perl_vendorarch}/PDL/Fit/Linfit.pm
%{perl_vendorarch}/PDL/Fit/LM.pm
%{perl_vendorarch}/PDL/Fit/Polynomial.pm
-%{perl_vendorarch}/PDL/Gaussian.pm
%{perl_vendorarch}/PDL/Matrix.pm
%{perl_vendorarch}/PDL/Slatec.pm
%dir %{perl_vendorarch}/auto/PDL/Slatec
@@ -1051,6 +1111,9 @@
%dir %{perl_vendorarch}/auto/PDL/GSL/INTERP
%{perl_vendorarch}/auto/PDL/GSL/INTERP/*.bs
%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/INTERP/*.so
+%dir %{perl_vendorarch}/auto/PDL/GSL/MROOT
+%{perl_vendorarch}/auto/PDL/GSL/MROOT/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/MROOT/*.so
%dir %{perl_vendorarch}/auto/PDL/GSL/RNG
%{perl_vendorarch}/auto/PDL/GSL/RNG/*.bs
%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/RNG/*.so
@@ -1065,6 +1128,14 @@
%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSLSF/*/*.so
%{_mandir}/man3/PDL::GSLSF::*
+%files Minuit
+%defattr(644,root,root,755)
+%{perl_vendorarch}/PDL/Minuit.pm
+%dir %{perl_vendorarch}/auto/PDL/Minuit
+%{perl_vendorarch}/auto/PDL/Minuit/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Minuit/*.so
+%{_mandir}/man3/PDL::Minuit*
+
%files Transform
%defattr(644,root,root,755)
%dir %{perl_vendorarch}/PDL/GIS
@@ -1094,6 +1165,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.108 2010/07/29 10:39:05 baggins
+- rel 1
+- updated files
+- added IO-Dicom and Minuit packages
+- BR libgfortran-static
+
Revision 1.107 2010/07/29 10:05:26 baggins
- working source URL
- switch to perl-OpenGL for TriD
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-PDL/perl-PDL-Makefile.PL.patch-dumb?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-PDL/perl-PDL-conf.patch?r1=1.13&r2=1.14&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-PDL/perl-PDL.spec?r1=1.107&r2=1.108&f=u
More information about the pld-cvs-commit
mailing list