SPECS: perl-PDL.spec - up to 2.4.3 - fixed gsl version check - add...

baggins baggins at pld-linux.org
Tue Apr 8 11:37:42 CEST 2008


Author: baggins                      Date: Tue Apr  8 09:37:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.4.3
- fixed gsl version check
- added IO::GD and Graphics::Limits packages
- updated files

---- Files affected:
SPECS:
   perl-PDL.spec (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: SPECS/perl-PDL.spec
diff -u SPECS/perl-PDL.spec:1.97 SPECS/perl-PDL.spec:1.98
--- SPECS/perl-PDL.spec:1.97	Wed Mar 26 14:48:31 2008
+++ SPECS/perl-PDL.spec	Tue Apr  8 11:37:37 2008
@@ -12,14 +12,14 @@
 Summary(pl.UTF-8):	perlDL - wydajne obliczenia numeryczne w Perlu
 Summary(pt_BR.UTF-8):	Módulo PDL para perl
 Name:		perl-PDL
-Version:	2.4.1
-Release:	3
+Version:	2.4.3
+Release:	1
 Epoch:		1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
-# Source0-md5:	0d57eb5ccb4d9e63103622e1e1144793
+# Source0-md5:	8fa453a4ac90d5c0382020d5635ad90a
 Patch0:		%{name}-conf.patch
 Patch1:		%{name}-dep.patch
 Patch2:		%{name}-Makefile.PL.patch-dumb
@@ -27,10 +27,11 @@
 Patch4:		%{name}-WITH_IO_BROWSER.patch
 Patch5:		%{name}-karma.patch
 Patch6:		%{name}-vendorarch.patch
+Patch7:		%{name}-gsl-check.patch
 URL:		http://pdl.perl.org/
 BuildRequires:	OpenGL-devel
-BuildRequires:	XFree86-devel
 BuildRequires:	fftw-devel >= 2.1.3-5
+BuildRequires:	gd-devel
 BuildRequires:	gsl-devel >= 1.3
 %{?with_karma:BuildRequires:	karma-devel}
 BuildRequires:	ncurses-devel >= 5.0
@@ -43,6 +44,9 @@
 BuildRequires:	perl-perldoc
 BuildRequires:	plplot-devel >= 5.2.1
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXext-devel
+BuildRequires:	xorg-lib-libXt-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define 	_noautoreqdep	libGL.so.1 libGLU.so.1 libGLcore.so.1
@@ -156,6 +160,18 @@
 %description Graphics-LUT -l pl.UTF-8
 Moduł zapewnia dostęp do różnych tablic kolorów (palet) dla PDL.
 
+%package Graphics-Limits
+Summary:	Derive limits for display purposes
+Summary(pl.UTF-8):	Oblicza zakresy dla danych w celu wizualizacji
+Group:		Development/Languages/Perl
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description Graphics-Limits
+Functions to derive limits for data for display purposes.
+
+%description Graphics-Limits -l pl.UTF-8
+Funkcje obliczające zakresy dla danych w celu wizualizacji.
+
 %package Graphics-OpenGL
 Summary:	PDL interface to the OpenGL graphics library
 Summary(pl.UTF-8):	Interfejs OpenGL dla PDL
@@ -296,6 +312,18 @@
 %description IO-FlexRaw -l pl.UTF-8
 Elastyczny binarny format wejścia/wyjścia dla PDL.
 
+%package IO-GD
+Summary:	PDL interface to the GD c library
+Summary(pl.UTF-8):	Interfejs PLD do biblioteki GD
+Group:		Development/Languages/Perl
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description IO-GD
+PDL interface to the GD c library.
+
+%description IO-GD -l pl.UTF-8
+Interfejs PLD do biblioteki GD.
+
 %package IO-NDF
 Summary:	Starlink N-dimensional data structures for PDL
 Summary(pl.UTF-8):	Wsparcie dla n-wymiarowych struktur danych firmy Starlink dla PDL
@@ -412,6 +440,7 @@
 %patch4 -p1
 %{?with_karma:%patch5 -p1}
 %patch6 -p1
+%patch7 -p1
 
 %{__perl} -pi -e 's/\b(pdlpp_postamble)\b/$1_int/g' Graphics/PLplot/Makefile.PL
 # g77 flags for compiling Slatec:
@@ -478,6 +507,11 @@
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
 fi
 
+%post Graphics-Limits
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
 %post Graphics-OpenGL
 if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -518,6 +552,11 @@
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
 fi
 
+%post IO-GD
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
 %post IO-NDF
 if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -573,6 +612,11 @@
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
 fi
 
+%postun Graphics-Limits
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
 %postun Graphics-OpenGL
 if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -613,6 +657,11 @@
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
 fi
 
+%postun IO-GD
+if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
+	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
+fi
+
 %postun IO-NDF
 if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
 	/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
@@ -655,6 +704,7 @@
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pdl
 %attr(755,root,root) %{_bindir}/pptemplate
 %dir %{perl_vendorarch}/PDL
 
@@ -776,6 +826,7 @@
 %{perl_vendorarch}/auto/PDL/Transform/*.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/PDL/Transform/*.so
 
+%{perl_vendorarch}/Inline/MakePdlppInstallable.pm
 %{perl_vendorarch}/Inline/Pdlpp.pm
 
 %{_mandir}/man1/pdl.1*
@@ -841,6 +892,11 @@
 %{perl_vendorarch}/PDL/Graphics/LUT*
 %{_mandir}/man3/PDL::Graphics::LUT*
 
+%files Graphics-Limits
+%defattr(644,root,root,755)
+%{perl_vendorarch}/PDL/Graphics/Limits*
+%{_mandir}/man3/PDL::Graphics::Limits*
+
 %files Graphics-OpenGL
 %defattr(644,root,root,755)
 %{perl_vendorarch}/PDL/Graphics/OpenGL*
@@ -906,6 +962,13 @@
 %{_mandir}/man3/PDL::IO::FlexRaw*
 %{perl_vendorarch}/PDL/IO/FlexRaw*
 
+%files IO-GD
+%defattr(644,root,root,755)
+%{_mandir}/man3/PDL::IO::GD*
+%{perl_vendorarch}/PDL/IO/GD*
+%{perl_vendorarch}/auto/PDL/IO/GD/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/GD/*.so
+
 %files IO-NDF
 %defattr(644,root,root,755)
 %{_mandir}/man3/PDL::IO::NDF*
@@ -989,6 +1052,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2008-04-08 09:37:37  baggins
+- up to 2.4.3
+- fixed gsl version check
+- added IO::GD and Graphics::Limits packages
+- updated files
+
 Revision 1.97  2008-03-26 13:48:31  baggins
 - rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-PDL.spec?r1=1.97&r2=1.98&f=u



More information about the pld-cvs-commit mailing list