]> git.pld-linux.org Git - packages/perl-PDL.git/blame - perl-PDL.spec
- distfiles friendly source url
[packages/perl-PDL.git] / perl-PDL.spec
CommitLineData
957514fa 1#
0424b9ea 2# Conditional build:
4363aab6 3%bcond_without html # don't generate package with PDL documentation in HTML
f5c301e6 4%bcond_without plplot # don't build / link with plplot (currently broken)
3001f545 5%bcond_with tests # perform "make test"
6 # require a valid DISPLAY
0424b9ea 7#
bf537aba 8%include /usr/lib/rpm/macros.perl
81104304 9%define pdir PDL
ad32ab12 10Summary: perlDL - efficient numerical computing for Perl
b1bf0b1f
ER
11Summary(pl.UTF-8): perlDL - wydajne obliczenia numeryczne w Perlu
12Summary(pt_BR.UTF-8): Módulo PDL para perl
d69a3725 13Name: perl-PDL
92922155
JR
14Version: 2.4.11
15Release: 1
d789e388 16Epoch: 1
ef98fd12 17# same as perl
18License: GPL v1+ or Artistic
d69a3725 19Group: Development/Languages/Perl
1fd65f03 20Source0: http://downloads.sourceforge.net/pdl/%{pdir}-%{version}.tar.gz
92922155 21# Source0-md5: 761a524f6f823ecc2dc668b83ecd8299
cf6d48c2 22Patch0: %{name}-conf.patch
23Patch1: %{name}-dep.patch
1fd13b21 24Patch2: %{name}-Makefile.PL.patch-dumb
29eaa3bd 25Patch3: %{name}-fftw-shared.patch
92922155
JR
26Patch4: %{name}-vendorarch.patch
27Patch5: PDL-Disable-PDL-GIS-Proj.patch
ffcd5480 28URL: http://pdl.perl.org/
9c68f2e6 29BuildRequires: fftw-devel >= 2.1.3-5
b14a285b 30BuildRequires: gd-devel
03f3d9dc 31BuildRequires: gsl-devel >= 1.3
48f1e866 32BuildRequires: libgfortran-static
6114b4b1 33BuildRequires: ncurses-devel >= 5.0
4bcc0bcb 34BuildRequires: perl-ExtUtils-F77 >= 1.10
f3810746
JB
35BuildRequires: perl-Filter
36BuildRequires: perl-Inline >= 0.43
d8ea4fb7 37BuildRequires: perl-OpenGL >= 0.63
f3810746 38BuildRequires: perl-PGPLOT
e182f87f 39BuildRequires: perl-devel >= 1:5.8.0
fbacd4fb 40BuildRequires: perl-perldoc
7b9b871f 41%{?with_plplot:BuildRequires: plplot-devel >= 5.2.1}
d642e4e0 42BuildRequires: proj-devel
38b0f426 43BuildRequires: rpm-perlprov >= 4.1-13
b14a285b
JR
44BuildRequires: xorg-lib-libX11-devel
45BuildRequires: xorg-lib-libXext-devel
46BuildRequires: xorg-lib-libXt-devel
b7ece69c 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d69a3725 48
92922155 49%define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
59223a16 50%define _noautoreq 'perl(local.perldlrc)' 'perl(PDL::Graphics::TriD::GObject)'
5913eb86 51
d69a3725 52%description
b6ce1de1 53The perlDL project aims to turn Perl into an efficient numerical
54language for scientific computing. The PDL module gives standard Perl
55the ability to COMPACTLY store and SPEEDILY manipulate the large
56N-dimensional data sets which are the bread and butter of scientific
daa494ac 57computing, i.e. $a=$b+$c can add two 2048x2048 images in only a
b6ce1de1 58fraction of a second.
d69a3725 59
ab3ece54
JR
60%description -l pl.UTF-8
61Moduł perlDL rozszerza możliwości Perla o funkcje do obliczeń
62numerycznych. Umożliwia przechowywanie oraz szybkie manipulowanie
63dużymi n-wymiarowymi zbiorami danych, które są chlebem powszednim
64naukowych obliczeń, np.: $a=$b+$c dodaje dwie bitmapy rozmiaru
652048x2048 w ułamku sekundy.
b6ce1de1 66
ab3ece54
JR
67%description -l pt_BR.UTF-8
68O projeto perlDL pretende tornar perl uma linguagem númerica eficiente
69para computação científica. O módulo PDL dá ao perl a habilidade de
b6ce1de1 70armazenar de forma compacta e manipular rapidamente grandes conjuntos
ab3ece54
JR
71de dados de N dimensões que são muito comuns em computação científica.
72Ex. $a=$b+$c pode adicionar imagens de 2048x2048 em apenas uma fração
b6ce1de1 73de segundo.
74
ad32ab12 75%package perldl
76Summary: PDL shell
b1bf0b1f 77Summary(pl.UTF-8): Powłoka PDL
ad32ab12 78Group: Development/Languages/Perl
fbacd4fb 79Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 80
81%description perldl
b6ce1de1 82The program perldl is a simple shell (written in perl) for interactive
83use of PDL. perl/PDL commands can simply be typed in - and edited if
84you have appropriate version of the ReadLines and ReadKeys modules
85installed. In that case perldl also supports a history mechanism.
ad32ab12 86
ab3ece54
JR
87%description perldl -l pl.UTF-8
88Program perldl jest prostą powłoką napisaną w Perlu do interaktywnego
89wykonywania funkcji modułu PDL. Komendy Perla lub PDL mogą być w
90prosty sposób wprowadzane, a także modyfikowane jeśli zainstalowane
91są odpowiednie wersje modułów ReadLines oraz ReadKeys. W tym ostatnim
92przypadku perldl obsługuje mechanizm historii komend.
ad32ab12 93
aec239d8
JR
94%package perldl2
95Summary: New and improved PDL shell
96Summary(pl.UTF-8): Nowa i usprawniona powłoka PDL
97Group: Development/Languages/Perl
98Requires: %{name} = %{epoch}:%{version}-%{release}
99
100%description perldl2
101The program perldl2 is a simple shell (written in perl) for interactive
102use of PDL. perl/PDL commands can simply be typed in - and edited if
103you have appropriate version of the ReadLines and ReadKeys modules
104installed. In that case perldl2 also supports a history mechanism.
105
106%description perldl2 -l pl.UTF-8
107Program perldl2 jest prostą powłoką napisaną w Perlu do interaktywnego
108wykonywania funkcji modułu PDL. Komendy Perla lub PDL mogą być w
109prosty sposób wprowadzane, a także modyfikowane jeśli zainstalowane
110są odpowiednie wersje modułów ReadLines oraz ReadKeys. W tym ostatnim
111przypadku perldl2 obsługuje mechanizm historii komend.
112
58d3c84b 113%package docs
681be7f8 114Summary: Supplied extra documentation for PDL::* perl modules
b1bf0b1f 115Summary(pl.UTF-8): Dodatkowo dostarczona dokumentacja do modułów perla PDL::*
58d3c84b 116Group: Development/Languages/Perl
fbacd4fb 117Requires: %{name} = %{epoch}:%{version}-%{release}
58d3c84b 118
119%description docs
120Additional, supplied by authors, documentation to all PDL::* modules.
121
ab3ece54
JR
122%description docs -l pl.UTF-8
123Dodatkowa, dostarczona przez autorów, dokumentacja do modułów PDL::*.
58d3c84b 124
99763d20 125%package docs-HTML
681be7f8 126Summary: Supplied extra documentation for PDL::* perl modules in HTML format
b1bf0b1f 127Summary(pl.UTF-8): Dodatkowo dostarczona dokumentacja w HTML-u do modułów perla PDL::*
99763d20 128Group: Development/Languages/Perl
129# for install dir
fbacd4fb 130Requires: %{name} = %{epoch}:%{version}-%{release}
99763d20 131
132%description docs-HTML
133Additional, supplied by authors, documentation in HTML format to all
134PDL::* modules.
135
ab3ece54
JR
136%description docs-HTML -l pl.UTF-8
137Dodatkowa, dostarczona przez autorów, dokumentacja do modułów PDL::*,
99763d20 138w formacie HTML.
99763d20 139
ad32ab12 140%package Graphics-IIS
141Summary: Display PDL images on IIS devices (saoimage/ximtool)
b1bf0b1f 142Summary(pl.UTF-8): Wyświetlanie grafiki PDL na urządzeniach IIS (saoimage/ximtool)
ad32ab12 143Group: Development/Languages/Perl
fbacd4fb 144Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 145
146%description Graphics-IIS
147Display PDL images on IIS devices (saoimage/ximtool).
148
ab3ece54
JR
149%description Graphics-IIS -l pl.UTF-8
150Wyświetlanie grafiki PDL na urządzeniach IIS (saoimage/ximtool).
ad32ab12 151
152%package Graphics-LUT
153Summary: Provides access to a number of look-up tables for PDL
b1bf0b1f 154Summary(pl.UTF-8): Dostęp do tablic kolorów dla PDL
ad32ab12 155Group: Development/Languages/Perl
fbacd4fb 156Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 157
158%description Graphics-LUT
159Provides access to a number of look-up tables for PDL.
160
ab3ece54
JR
161%description Graphics-LUT -l pl.UTF-8
162Moduł zapewnia dostęp do różnych tablic kolorów (palet) dla PDL.
ad32ab12 163
b14a285b
JR
164%package Graphics-Limits
165Summary: Derive limits for display purposes
166Summary(pl.UTF-8): Oblicza zakresy dla danych w celu wizualizacji
167Group: Development/Languages/Perl
168Requires: %{name} = %{epoch}:%{version}-%{release}
169
170%description Graphics-Limits
171Functions to derive limits for data for display purposes.
172
173%description Graphics-Limits -l pl.UTF-8
174Funkcje obliczające zakresy dla danych w celu wizualizacji.
175
ad32ab12 176%package Graphics-OpenGL
177Summary: PDL interface to the OpenGL graphics library
b1bf0b1f 178Summary(pl.UTF-8): Interfejs OpenGL dla PDL
ad32ab12 179Group: Development/Languages/Perl
fbacd4fb 180Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 181
182%description Graphics-OpenGL
183PDL interface to the OpenGL graphics library.
184
ab3ece54 185%description Graphics-OpenGL -l pl.UTF-8
ad32ab12 186Interfejs OpenGL dla PDL.
187
2ab08f87
JB
188%package Graphics-PGPLOT
189Summary: PGPLOT enhanced interface for PDL
b1bf0b1f 190Summary(pl.UTF-8): Rozszerzony interfejs biblioteki PGPLOT dla PDL
2ab08f87 191Group: Development/Languages/Perl
fbacd4fb 192Requires: %{name} = %{epoch}:%{version}-%{release}
2ab08f87
JB
193
194%description Graphics-PGPLOT
195`PDL::Graphics::PGPLOT' is a convenience interface to the PGPLOT
196commands, implemented using the object oriented PGPLOT plotting
197package in the PDL::Graphics::PGPLOT::Window manpage. See the
198documentation for that package for in-depth information about the
199usage of these commands and the options they accept.
200
ab3ece54
JR
201%description Graphics-PGPLOT -l pl.UTF-8
202Moduł ten jest interfejsem do komend biblioteki PGPLOT. Jest ona
203zaimplementowany za pomocą obiektowo zorientowanego pakietu PGPLOT
204(spójrz do manuala modułu PDL::Graphics::PGPLOT::Window).
2ab08f87 205
47858caa
JB
206%package Graphics-PLplot
207Summary: PDL::Graphics::PLplot - interface to the PLplot plotting library
b1bf0b1f 208Summary(pl.UTF-8): PDL::Graphics::PLplot - interfejs do biblioteki rysującej PLplot
47858caa 209Group: Development/Languages/Perl
fbacd4fb 210Requires: %{name} = %{epoch}:%{version}-%{release}
47858caa
JB
211
212%description Graphics-PLplot
213PDL::Graphics::PLplot is the PDL interface to the PLplot graphics
214library. It is designed to be simple and light weight with a familiar
215'perlish' Object Oriented interface.
216
ab3ece54 217%description Graphics-PLplot -l pl.UTF-8
47858caa 218PDL::Graphics::PLplot to interfejs PLD do biblioteki graficznej
ab3ece54 219PLplot. Jest zaprojektowany tak, aby był prosty i lekki ze znajomym
47858caa
JB
220perlowatym zorientowanym obiektowo interfejsem.
221
2ab08f87
JB
222%package Graphics-TriD
223Summary: PDL 3D interface
b1bf0b1f 224Summary(pl.UTF-8): Interfejs 3D dla PDL
2ab08f87 225Group: Development/Languages/Perl
fbacd4fb
JB
226Requires: %{name} = %{epoch}:%{version}-%{release}
227Requires: %{name}-Graphics-OpenGL = %{epoch}:%{version}-%{release}
228Requires: %{name}-IO-Pic = %{epoch}:%{version}-%{release}
2ab08f87
JB
229
230%description Graphics-TriD
231This module implements a generic 3D plotting interface for PDL.
232Points, lines and surfaces (among other objects) are supported.
233
234With OpenGL, it is easy to manipulate the resulting 3D objects with
235the mouse in real time - this helps data visualization a lot.
236
237With VRML, you can generate objects for everyone to see with e.g.
238Silicon Graphics' Cosmo Player. You can find out more about VRML at
239`http://vrml.sgi.com/' or `http://www.vrml.org/'
240
ab3ece54
JR
241%description Graphics-TriD -l pl.UTF-8
242Moduł ten implementuje podstawowy interfejs 3D dla PDL. Dostępne są -
243wśród innych obiektów - punkty, linie oraz powierzchnie.
2ab08f87 244
ab3ece54
JR
245Za pomocą OpenGL, stworzonymi obiektami 3D można łatwo manipulować w
246czasie rzeczywistym za pomocą myszy, co bardzo wspomaga wizualizację
2ab08f87
JB
247danych.
248
ab3ece54
JR
249Możesz też generować obiekty w formacie VRML, które mogą być oglądane
250przez inne osoby za pomocą np.: programu Cosmo Player firmy Silicon
251Graphics. Więcej na temat VRML możesz znaleźć pod adresami
2ab08f87
JB
252http://vrml.sgi.com/ lub http://www.vrml.org/.
253
99763d20 254%package IO-Browser
255Summary: 2D data browser for PDL
b1bf0b1f 256Summary(pl.UTF-8): Przeglądarka danych 2D dla PDL
99763d20 257Group: Development/Languages/Perl
fbacd4fb 258Requires: %{name} = %{epoch}:%{version}-%{release}
99763d20 259
260%description IO-Browser
2612D data browser for PDL.
262
ab3ece54
JR
263%description IO-Browser -l pl.UTF-8
264Przeglądarka danych 2D dla PDL.
99763d20 265
48f1e866
JR
266%package IO-Dicom
267Summary: Module for reading DICOM images
268Summary(pl.UTF-8): Moduł służący do czytania obrazów w formacie DICOM
269Group: Development/Languages/Perl
270Requires: %{name} = %{epoch}:%{version}-%{release}
271
272%description IO-Dicom
273The PDL::IO::Dicom module enables reading 16-bit gray level Dicom
274images into PDL. As Dicom is an extremely complex format, this module
275can unfortunately not handle all different image types included in the
276DICOM standard. One common format that is currently not supported is
277the Papyrus format.
278
279%description IO-Dicom -l pl.UTF-8
280Moduł PDL::IO::Dicom umożliwia czytanie obrazów w 16-bitowej skali
281szarości w formacie DICOM. Ponieważ DICOM jest niezwykle
282skomplikowanym formatem, ten moduł nie jest w stanie przeczytać
283wszystkich rodzajów obrazów zdefiniowanych w standardzie DICOM.
284Np. format Papyrus jest obecnie nie obsługiwany.
285
ad32ab12 286%package IO-FastRaw
287Summary: A simple, fast and convenient IO format for PDL
b1bf0b1f 288Summary(pl.UTF-8): Prosty, szybki i wygodny format wejścia/wyjścia dla PDL
ad32ab12 289Group: Development/Languages/Perl
fbacd4fb 290Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 291
292%description IO-FastRaw
293A simple, fast and convenient IO format for PDL.
294
ab3ece54
JR
295%description IO-FastRaw -l pl.UTF-8
296Prosty, szybki i wygodny format wejścia/wyjścia dla PDL.
ad32ab12 297
298%package IO-FlexRaw
42f24438 299Summary: A flexible binary IO format for PDL
b1bf0b1f 300Summary(pl.UTF-8): Elastyczny binarny format wejścia/wyjścia dla PDL
ad32ab12 301Group: Development/Languages/Perl
fbacd4fb 302Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 303
304%description IO-FlexRaw
305A flexible binary IO format for PDL.
306
ab3ece54
JR
307%description IO-FlexRaw -l pl.UTF-8
308Elastyczny binarny format wejścia/wyjścia dla PDL.
ad32ab12 309
b14a285b
JR
310%package IO-GD
311Summary: PDL interface to the GD c library
312Summary(pl.UTF-8): Interfejs PLD do biblioteki GD
313Group: Development/Languages/Perl
314Requires: %{name} = %{epoch}:%{version}-%{release}
315
316%description IO-GD
317PDL interface to the GD c library.
318
319%description IO-GD -l pl.UTF-8
320Interfejs PLD do biblioteki GD.
321
ad32ab12 322%package IO-NDF
323Summary: Starlink N-dimensional data structures for PDL
b1bf0b1f 324Summary(pl.UTF-8): Wsparcie dla n-wymiarowych struktur danych firmy Starlink dla PDL
ad32ab12 325Group: Development/Languages/Perl
fbacd4fb 326Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 327
328%description IO-NDF
329Starlink N-dimensional data structures for PDL.
330
ab3ece54 331%description IO-NDF -l pl.UTF-8
ad32ab12 332Wsparcie dla n-wymiarowych struktur danych firmy Starlink dla PDL.
333
334%package IO-Pic
42f24438 335Summary: Image I/O for PDL based on the netpbm package
b1bf0b1f 336Summary(pl.UTF-8): Obsługa obrazków dla PDL oparta na pakiecie netpbm
ad32ab12 337Group: Development/Languages/Perl
ad32ab12 338Requires: netpbm
fbacd4fb
JB
339Requires: %{name} = %{epoch}:%{version}-%{release}
340Requires: %{name}-IO-Pnm = %{epoch}:%{version}-%{release}
ad32ab12 341
342%description IO-Pic
b6ce1de1 343This package implements I/O for a number of popular image formats by
344exploiting the xxxtopnm and pnmtoxxx converters from the netpbm
42f24438 345package.
ad32ab12 346
ab3ece54
JR
347%description IO-Pic -l pl.UTF-8
348Pakiet daje możliwość czytania i zapisywania obrazków w wielu
349formatach poprzez wykorzystywanie konwerterów xxxtopnm i pnmtoxxx z
b6ce1de1 350pakietu netpbm.
ad32ab12 351
352%package IO-Pnm
353Summary: PNM format IO for PDL
b1bf0b1f 354Summary(pl.UTF-8): Wsparcie dla formatu PNM dla PDL
ad32ab12 355Group: Development/Languages/Perl
fbacd4fb 356Requires: %{name} = %{epoch}:%{version}-%{release}
ad32ab12 357
358%description IO-Pnm
359PNM format IO for PDL.
360
ab3ece54 361%description IO-Pnm -l pl.UTF-8
ad32ab12 362Wsparcie dla formatu PNM dla PDL.
363
62df5768
JB
364%package IO-Storable
365Summary: Helper functions to make PDL usable with Storable
b1bf0b1f 366Summary(pl.UTF-8): Funkcje pomocnicze pozwalajace używać PDL ze Storable
62df5768 367Group: Development/Languages/Perl
fbacd4fb 368Requires: %{name} = %{epoch}:%{version}-%{release}
62df5768
JB
369
370%description IO-Storable
371Helper functions to make PDL usable with Storable.
372
ab3ece54
JR
373%description IO-Storable -l pl.UTF-8
374Funkcje pomocnicze pozwalajace używać PDL wraz ze Storable.
62df5768 375
42f24438
JB
376%package Slatec
377Summary: PDL interface to the Slatec numerical programming library
b1bf0b1f 378Summary(pl.UTF-8): Interfejs PDL do biblioteki numerycznej Slatec
42f24438 379Group: Development/Languages/Perl
fbacd4fb 380Requires: %{name} = %{epoch}:%{version}-%{release}
42f24438
JB
381
382%description Slatec
383PDL interface to the Slatec numerical programming library.
384
ab3ece54 385%description Slatec -l pl.UTF-8
42f24438
JB
386Interfejs PDL do biblioteki numerycznej Slatec.
387
388%package GSL
389Summary: PDL interface to RNG and randist routines in GSL
b1bf0b1f 390Summary(pl.UTF-8): Interfejs PDL do funkcji RNG i randist z biblioteki GSL
42f24438 391Group: Development/Languages/Perl
fbacd4fb 392Requires: %{name} = %{epoch}:%{version}-%{release}
42f24438
JB
393
394%description GSL
b6ce1de1 395Interface to the rng and randist packages present in the GNU
396Scientific Library.
42f24438 397
ab3ece54 398%description GSL -l pl.UTF-8
42f24438
JB
399Interfejs do funkcji rng i randist z biblioteki GSL.
400
62df5768
JB
401%package GSLSF
402Summary: PDL interface to GSL Special Functions
b1bf0b1f 403Summary(pl.UTF-8): Interfejs PDL do funkcji specjalnych GSL
62df5768 404Group: Development/Languages/Perl
fbacd4fb 405Requires: %{name} = %{epoch}:%{version}-%{release}
62df5768
JB
406
407%description GSLSF
408PDL interface to GSL Special Functions.
409
ab3ece54 410%description GSLSF -l pl.UTF-8
62df5768
JB
411Interfejs PDL do funkcji specjalnych GSL.
412
48f1e866
JR
413%package Minuit
414Summary: PDL interface to the Minuit library
415Summary(pl.UTF-8): Interfejs PDL do biblioteki Minuit
416Group: Development/Languages/Perl
417Requires: %{name} = %{epoch}:%{version}-%{release}
418
419%description Minuit
420This package implements an interface to the Minuit minimization
421routines (part of the CERN Library,
422http://wwwasdoc.web.cern.ch/wwwasdoc/minuit/minmain.html)
423
424%description Minuit -l pl.UTF-8
425Ten pakiet udostępnia interfejs do funkcji minimizujących Minuit
426(http://wwwasdoc.web.cern.ch/wwwasdoc/minuit/minmain.html).
427
d642e4e0
JR
428%package Transform
429Summary: Coordinate transforms, image warping, and N-D functions
430Summary(pl.UTF-8): Transformacje współrzędnych, warpowaie obrazów i funkcje N-D
431Group: Development/Languages/Perl
432Requires: %{name} = %{epoch}:%{version}-%{release}
433
434%description Transform
435PDL::Transform is a convenient way to represent coordinate
436transformations and resample images. It embodies functions mapping
437R^N -> R^M, both with and without inverses. Provision exists for
438parametrizing functions, and for composing them. You can use this
439part of the Transform object to keep track of arbitrary functions
440mapping R^N -> R^M with or without inverses.
441
442%description Transform -l pl.UTF-8
443Transformacje współrzędnych, warpowaie obrazów i funkcje N-D
444
ad32ab12 445%package Demos
446Summary: PDL demos
b1bf0b1f 447Summary(pl.UTF-8): Przykładowe skrypty z użyciem PDL
ad32ab12 448Group: Development/Languages/Perl
fbacd4fb
JB
449Requires: %{name} = %{epoch}:%{version}-%{release}
450Requires: %{name}-Graphics-LUT = %{epoch}:%{version}-%{release}
451Requires: %{name}-Graphics-PGPLOT = %{epoch}:%{version}-%{release}
452Requires: %{name}-Graphics-TriD = %{epoch}:%{version}-%{release}
ad32ab12 453
454%description Demos
455PDL demos.
456
ab3ece54
JR
457%description Demos -l pl.UTF-8
458Przykładowe skrypty z użyciem PDL.
d69a3725
AF
459
460%prep
f3810746 461%setup -q -n %{pdir}-%{version}
140eebca 462%patch0 -p1
16da3594 463%patch1 -p1
1fd13b21 464%patch2 -p1
29eaa3bd 465%patch3 -p1
92922155 466%patch4 -p1
b6cc81d1 467%patch5 -p1
42f24438 468
3c7e4f44 469%{__perl} -pi -e 's/\b(pdlpp_postamble)\b/$1_int/g' Graphics/PLplot/Makefile.PL
42f24438 470# g77 flags for compiling Slatec:
03f3d9dc 471%{__perl} -pi -e 's@\) \$mycflags s@\) %{rpmcflags} -fPIC s@' Lib/Slatec/Makefile.PL
bf537aba 472
fbacd4fb 473%{__perl} -pi -e "s@(FFTW_LIBS.*)'/lib','/usr/lib','/usr/local/lib'@\$1'/usr/%{_lib}'@" perldl.conf
b2e01c1d 474%{__perl} -pi -e "s@(OPENGL_LIBS.*)'-L/usr/lib@\$1'-L/usr/%{_lib}@" perldl.conf
fbacd4fb
JB
475%{__perl} -pi -e "s@(WHERE_PLPLOT_LIBS.*)undef@\$1'/usr/%{_lib}'@" perldl.conf
476
92922155
JR
477ln -s Basic PDL
478
d69a3725 479%build
38b0f426 480%{__perl} Makefile.PL \
140eebca 481 INSTALLDIRS=vendor
48f1e866 482
a81f4fff 483%{__make} -j1 \
1ed27a21 484 CC="%{__cc}" \
1e399748 485 OPTIMIZE="%{rpmcflags} -I/usr/include/ncurses -DNCURSES -DPERL_POLLUTE"
d69a3725 486
ef98fd12 487%{?with_tests:%{__make} test}
488
d69a3725
AF
489%install
490rm -rf $RPM_BUILD_ROOT
ad32ab12 491
48f1e866 492%{__make} -j1 install \
a8000aec 493 DESTDIR=$RPM_BUILD_ROOT
d69a3725 494
99763d20 495# perl script to regenerate pdldoc database
38b0f426 496install Doc/scantree.pl $RPM_BUILD_ROOT%{perl_vendorarch}/PDL/scantree.pl
99763d20 497
42f24438 498# some manuals have wrong names - this can be fixed in "Makefile.PL"s or here:
f3810746 499cd $RPM_BUILD_ROOT%{_mandir}/man3
42f24438
JB
500mv -f PDL::Dev.3pm PDL::Core::Dev.3pm
501mv -f PDL::Linear.3pm PDL::Filter::Linear.3pm
502mv -f PDL::LinPred.3pm PDL::Filter::LinPred.3pm
42f24438 503mv -f PDL::LM.3pm PDL::Fit::LM.3pm
0967cf52 504mv -f PDL::Linfit.3pm PDL::Fit::Linfit.3pm
42f24438 505mv -f PDL::Polynomial.3pm PDL::Fit::Polynomial.3pm
0967cf52 506mv -f PDL::State.3pm PDL::Graphics::State.3pm
b4a329be 507mv -f Pdlpp.3pm Inline::Pdlpp.3pm
42f24438 508
99763d20 509# some man pages do not belong to the man1 section
510cd $RPM_BUILD_ROOT%{_mandir}/man1
62df5768
JB
511for i in PDL::*.1*; do
512 mv $i ../man3/`echo $i | sed 's/\.1p\?$/.3/'`
99763d20 513done
514
d69a3725
AF
515%clean
516rm -rf $RPM_BUILD_ROOT
517
99763d20 518%post docs
38b0f426 519/usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 520
2ab08f87 521%post Graphics-IIS
38b0f426 522if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
523 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 524fi
525
2ab08f87 526%post Graphics-LUT
38b0f426 527if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
528 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 529fi
530
b14a285b
JR
531%post Graphics-Limits
532if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
533 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
534fi
535
2ab08f87 536%post Graphics-OpenGL
38b0f426 537if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
538 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 539fi
540
2ab08f87 541%post Graphics-PGPLOT
38b0f426 542if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
543 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 544fi
545
47858caa
JB
546%post Graphics-PLplot
547if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
548 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
549fi
550
2ab08f87
JB
551%post Graphics-TriD
552if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
553 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
554fi
555
99763d20 556%post IO-Browser
38b0f426 557if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
558 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 559fi
560
48f1e866
JR
561%post IO-Dicom
562if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
563 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
564fi
565
99763d20 566%post IO-FastRaw
38b0f426 567if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
568 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 569fi
570
571%post IO-FlexRaw
38b0f426 572if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
573 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 574fi
575
b14a285b
JR
576%post IO-GD
577if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
578 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
579fi
580
99763d20 581%post IO-NDF
38b0f426 582if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
583 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 584fi
585
586%post IO-Pic
38b0f426 587if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
588 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 589fi
590
591%post IO-Pnm
38b0f426 592if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
593 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 594fi
595
62df5768 596%post IO-Storable
38b0f426 597if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
598 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
62df5768
JB
599fi
600
99763d20 601%post Slatec
38b0f426 602if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
603 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 604fi
605
606%post GSL
38b0f426 607if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
608 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 609fi
610
62df5768 611%post GSLSF
38b0f426 612if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
613 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
62df5768
JB
614fi
615
48f1e866
JR
616%post Minuit
617if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
618 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
619fi
620
d642e4e0
JR
621%post Transform
622if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
623 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
624fi
625
99763d20 626%post Demos
38b0f426 627if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
628 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 629fi
630
2ab08f87 631%postun Graphics-IIS
38b0f426 632if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
633 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 634fi
635
2ab08f87 636%postun Graphics-LUT
38b0f426 637if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
638 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 639fi
640
b14a285b
JR
641%postun Graphics-Limits
642if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
643 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
644fi
645
2ab08f87 646%postun Graphics-OpenGL
38b0f426 647if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
648 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 649fi
650
2ab08f87 651%postun Graphics-PGPLOT
38b0f426 652if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
653 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 654fi
655
47858caa
JB
656%postun Graphics-PLplot
657if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
658 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
659fi
660
2ab08f87
JB
661%postun Graphics-TriD
662if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
663 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
664fi
665
99763d20 666%postun IO-Browser
38b0f426 667if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
668 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 669fi
670
48f1e866
JR
671%postun IO-Dicom
672if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
673 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
674fi
675
99763d20 676%postun IO-FastRaw
38b0f426 677if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
678 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 679fi
680
681%postun IO-FlexRaw
38b0f426 682if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
683 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 684fi
685
b14a285b
JR
686%postun IO-GD
687if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
688 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
689fi
690
99763d20 691%postun IO-NDF
38b0f426 692if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
693 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 694fi
695
696%postun IO-Pic
38b0f426 697if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
698 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 699fi
700
701%postun IO-Pnm
38b0f426 702if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
703 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 704fi
705
62df5768 706%postun IO-Storable
38b0f426 707if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
708 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
62df5768
JB
709fi
710
99763d20 711%postun Slatec
38b0f426 712if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
713 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 714fi
715
716%postun GSL
38b0f426 717if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
718 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 719fi
720
62df5768 721%postun GSLSF
38b0f426 722if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
723 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
62df5768
JB
724fi
725
48f1e866
JR
726%postun Minuit
727if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
728 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
729fi
730
d642e4e0
JR
731%postun Transform
732if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
733 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
734fi
735
99763d20 736%postun Demos
38b0f426 737if [ -f %{perl_vendorarch}/PDL/scantree.pl ]; then
738 /usr/bin/perl %{perl_vendorarch}/PDL/scantree.pl %{perl_vendorarch}
99763d20 739fi
740
d69a3725
AF
741%files
742%defattr(644,root,root,755)
b14a285b 743%attr(755,root,root) %{_bindir}/pdl
58d3c84b 744%attr(755,root,root) %{_bindir}/pptemplate
38b0f426 745%dir %{perl_vendorarch}/PDL
746
747%{perl_vendorarch}/PDL.pm
748%{perl_vendorarch}/PDL/AutoLoader.pm
749%{perl_vendorarch}/PDL/Bad.pm
750%{perl_vendorarch}/PDL/Basic.pm
751%{perl_vendorarch}/PDL/CallExt.pm
752%{perl_vendorarch}/PDL/Char.pm
753%{perl_vendorarch}/PDL/Complex.pm
aec239d8 754%{perl_vendorarch}/PDL/Compression.pm
38b0f426 755%{perl_vendorarch}/PDL/Config.pm
aec239d8 756%{perl_vendorarch}/PDL/Constants.pm
38b0f426 757%{perl_vendorarch}/PDL/Core
758%{perl_vendorarch}/PDL/Core.pm
759%{perl_vendorarch}/PDL/Dbg.pm
760%{perl_vendorarch}/PDL/DiskCache.pm
761%{perl_vendorarch}/PDL/Doc
762%{perl_vendorarch}/PDL/Doc.pm
763%{perl_vendorarch}/PDL/Exporter.pm
764%{perl_vendorarch}/PDL/FFT.pm
765%{perl_vendorarch}/PDL/FFTW.pm
766%dir %{perl_vendorarch}/PDL/Filter
767%{perl_vendorarch}/PDL/Filter/Linear.pm
768%dir %{perl_vendorarch}/PDL/Fit
769%{perl_vendorarch}/PDL/Fit/Gaussian.pm
770%{perl_vendorarch}/PDL/Func.pm
771%dir %{perl_vendorarch}/PDL/Graphics
772%{perl_vendorarch}/PDL/Graphics/State.pm
773%{perl_vendorarch}/PDL/Image2D.pm
774%{perl_vendorarch}/PDL/ImageND.pm
775%{perl_vendorarch}/PDL/ImageRGB.pm
776%dir %{perl_vendorarch}/PDL/IO
777%{perl_vendorarch}/PDL/IO/Dumper.pm
03f3d9dc 778%{perl_vendorarch}/PDL/IO/FITS.pm
38b0f426 779%{perl_vendorarch}/PDL/IO/Misc.pm
780%{perl_vendorarch}/PDL/LiteF.pm
781%{perl_vendorarch}/PDL/Lite.pm
782%{perl_vendorarch}/PDL/Lvalue.pm
783%{perl_vendorarch}/PDL/Math.pm
0424b9ea 784%{perl_vendorarch}/PDL/MatrixOps.pm
38b0f426 785%{perl_vendorarch}/PDL/NiceSlice.pm
92922155
JR
786%dir %{perl_vendorarch}/PDL/NiceSlice
787%{perl_vendorarch}/PDL/NiceSlice/FilterSimple.pm
788%{perl_vendorarch}/PDL/NiceSlice/FilterUtilCall.pm
38b0f426 789%{perl_vendorarch}/PDL/Opt
790%{perl_vendorarch}/PDL/Ops.pm
791%{perl_vendorarch}/PDL/Options.pm
792%{perl_vendorarch}/PDL/PP
793%{perl_vendorarch}/PDL/PP.pm
794%{perl_vendorarch}/PDL/Primitive.pm
795%{perl_vendorarch}/PDL/Pod
38b0f426 796%{perl_vendorarch}/PDL/Reduce.pm
797%{perl_vendorarch}/PDL/Slices.pm
798%{perl_vendorarch}/PDL/Tests.pm
799%{perl_vendorarch}/PDL/Types.pm
800%{perl_vendorarch}/PDL/Ufunc.pm
801%{perl_vendorarch}/PDL/Version.pm
802%{perl_vendorarch}/PDL/default.perldlrc
803
804%dir %{perl_vendorarch}/auto/PDL
805%dir %{perl_vendorarch}/auto/PDL/Bad
806%{perl_vendorarch}/auto/PDL/Bad/*.bs
807%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Bad/*.so
808%dir %{perl_vendorarch}/auto/PDL/Complex
809%{perl_vendorarch}/auto/PDL/Complex/*.bs
810%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Complex/*.so
aec239d8
JR
811%dir %{perl_vendorarch}/auto/PDL/Compression
812%{perl_vendorarch}/auto/PDL/Compression/*.bs
813%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Compression/*.so
38b0f426 814%dir %{perl_vendorarch}/auto/PDL/FFT
815%{perl_vendorarch}/auto/PDL/FFT/*bs
816%attr(755,root,root) %{perl_vendorarch}/auto/PDL/FFT/*so
817%dir %{perl_vendorarch}/auto/PDL/FFTW
818%{perl_vendorarch}/auto/PDL/FFTW/*bs
819%attr(755,root,root) %{perl_vendorarch}/auto/PDL/FFTW/*so
820%dir %{perl_vendorarch}/auto/PDL/Graphics
821%dir %{perl_vendorarch}/auto/PDL/IO
822
823%dir %{perl_vendorarch}/auto/PDL/Image2D
824%{perl_vendorarch}/auto/PDL/Image2D/*.bs
825%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Image2D/*.so
826%dir %{perl_vendorarch}/auto/PDL/ImageRGB
827%{perl_vendorarch}/auto/PDL/ImageRGB/*.bs
828%attr(755,root,root) %{perl_vendorarch}/auto/PDL/ImageRGB/*.so
829%dir %{perl_vendorarch}/auto/PDL/Ops
830%{perl_vendorarch}/auto/PDL/Ops/*.bs
831%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Ops/*.so
832%dir %{perl_vendorarch}/auto/PDL/Slices
833%{perl_vendorarch}/auto/PDL/Slices/*.bs
834%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Slices/*.so
835%dir %{perl_vendorarch}/auto/PDL/Ufunc
836%{perl_vendorarch}/auto/PDL/Ufunc/*.bs
837%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Ufunc/*.so
838%dir %{perl_vendorarch}/auto/PDL/CallExt
839%{perl_vendorarch}/auto/PDL/CallExt/*.bs
840%attr(755,root,root) %{perl_vendorarch}/auto/PDL/CallExt/*.so
841%dir %{perl_vendorarch}/auto/PDL/Core
842%{perl_vendorarch}/auto/PDL/Core/*.bs
843%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Core/*.so
844%dir %{perl_vendorarch}/auto/PDL/Fit
845%dir %{perl_vendorarch}/auto/PDL/Fit/Gaussian
846%{perl_vendorarch}/auto/PDL/Fit/Gaussian/*.bs
847%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Fit/Gaussian/*.so
848%dir %{perl_vendorarch}/auto/PDL/ImageND
849%{perl_vendorarch}/auto/PDL/ImageND/*.bs
850%attr(755,root,root) %{perl_vendorarch}/auto/PDL/ImageND/*.so
851%dir %{perl_vendorarch}/auto/PDL/IO/Misc
852%{perl_vendorarch}/auto/PDL/IO/Misc/*.bs
853%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/Misc/*.so
854%dir %{perl_vendorarch}/auto/PDL/Math
855%{perl_vendorarch}/auto/PDL/Math/*.bs
856%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Math/*.so
0424b9ea
JB
857%dir %{perl_vendorarch}/auto/PDL/MatrixOps
858%{perl_vendorarch}/auto/PDL/MatrixOps/*.bs
859%attr(755,root,root) %{perl_vendorarch}/auto/PDL/MatrixOps/*.so
38b0f426 860%dir %{perl_vendorarch}/auto/PDL/Primitive
861%{perl_vendorarch}/auto/PDL/Primitive/*.bs
862%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Primitive/*.so
863%dir %{perl_vendorarch}/auto/PDL/Tests
864%{perl_vendorarch}/auto/PDL/Tests/*.bs
865%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Tests/*.so
866
b14a285b 867%{perl_vendorarch}/Inline/MakePdlppInstallable.pm
38b0f426 868%{perl_vendorarch}/Inline/Pdlpp.pm
58d3c84b 869
0967cf52
JB
870%{_mandir}/man1/pptemplate.1*
871%{_mandir}/man3/Inline::Pdlpp.3pm*
ad32ab12 872%{_mandir}/man3/PDL.*
99763d20 873%{_mandir}/man3/PDL::[AC-ELO-RTU]*
ad32ab12 874%{_mandir}/man3/PDL::Ba*
99763d20 875%{_mandir}/man3/PDL::FAQ*
42f24438
JB
876%{_mandir}/man3/PDL::FFT*
877%{_mandir}/man3/PDL::Filter::Linear*
878%{_mandir}/man3/PDL::Fit::Gaussian*
957514fa 879%{_mandir}/man3/PDL::Func.3pm*
0967cf52 880%{_mandir}/man3/PDL::Graphics::State.3pm*
99763d20 881%{_mandir}/man3/PDL::I[mn]*
aec239d8 882%{_mandir}/man3/PDL::IO.3pm*
03f3d9dc 883%{_mandir}/man3/PDL::IO::FITS.3pm*
ad32ab12 884%{_mandir}/man3/PDL::IO::Misc*
42f24438 885%{_mandir}/man3/PDL::Math*
0424b9ea 886%{_mandir}/man3/PDL::MatrixOps.3pm*
7d9977d1 887%{_mandir}/man3/PDL::Modules.3*
0967cf52 888%{_mandir}/man3/PDL::NiceSlice.3pm*
42f24438 889%{_mandir}/man3/PDL::Slices*
0967cf52 890%{_mandir}/man3/PDL::pptemplate.3pm*
58d3c84b 891
892%files docs
893%defattr(644,root,root,755)
99763d20 894%attr(755,root,root) %{_bindir}/pdldoc
38b0f426 895%attr(755,root,root) %{perl_vendorarch}/PDL/scantree.pl
896%ghost %{perl_vendorarch}/PDL/pdldoc.db
897%doc %{perl_vendorarch}/PDL/*.pod
99763d20 898%{_mandir}/man1/pdldoc.1*
899
3de1e33b 900%if %{with html}
99763d20 901%files docs-HTML
2ab08f87 902%defattr(644,root,root,755)
38b0f426 903%doc %{perl_vendorarch}/PDL/HtmlDocs
99763d20 904%endif
ad32ab12 905
ad32ab12 906%files perldl
907%defattr(644,root,root,755)
908%attr(755,root,root) %{_bindir}/perldl
909%{_mandir}/man1/perldl*
ad32ab12 910
aec239d8
JR
911%files perldl2
912%defattr(644,root,root,755)
7d9977d1 913%attr(755,root,root) %{_bindir}/pdl2
aec239d8
JR
914%{perl_vendorarch}/PDL/Perldl2
915%{_mandir}/man1/pdl2*
916
2ab08f87 917%files Graphics-IIS
ad32ab12 918%defattr(644,root,root,755)
2ab08f87
JB
919%{perl_vendorarch}/PDL/Graphics/IIS*
920%dir %{perl_vendorarch}/auto/PDL/Graphics/IIS
921%{perl_vendorarch}/auto/PDL/Graphics/IIS/*.bs
922%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/IIS/*.so
923%{_mandir}/man3/PDL::Graphics::IIS*
ad32ab12 924
2ab08f87
JB
925%files Graphics-LUT
926%defattr(644,root,root,755)
927%{perl_vendorarch}/PDL/Graphics/LUT*
928%{_mandir}/man3/PDL::Graphics::LUT*
929
b14a285b
JR
930%files Graphics-Limits
931%defattr(644,root,root,755)
932%{perl_vendorarch}/PDL/Graphics/Limits*
933%{_mandir}/man3/PDL::Graphics::Limits*
934
2ab08f87
JB
935%files Graphics-OpenGL
936%defattr(644,root,root,755)
937%{perl_vendorarch}/PDL/Graphics/OpenGL*
938%dir %{perl_vendorarch}/auto/PDL/Graphics/OpenGL*
939%{perl_vendorarch}/auto/PDL/Graphics/OpenGL*/*bs
940%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/OpenGL*/*so
941%{_mandir}/man3/PDL::Graphics::OpenGL*
ad32ab12 942
943%files Graphics-PGPLOT
944%defattr(644,root,root,755)
2ab08f87
JB
945%{perl_vendorarch}/PDL/Graphics/PGPLOT*
946%{perl_vendorarch}/PDL/Graphics2D*
38b0f426 947%dir %{perl_vendorarch}/auto/PDL/Graphics/PGPLOT
948%dir %{perl_vendorarch}/auto/PDL/Graphics/PGPLOT/Window
949%{perl_vendorarch}/auto/PDL/Graphics/PGPLOT/Window/*.bs
950%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/PGPLOT/Window/*.so
2ab08f87
JB
951%{_mandir}/man3/PDL::Graphics2D*
952%{_mandir}/man3/PDL::Graphics::PGPLOT*
ad32ab12 953
7b9b871f 954%if %{with plplot}
47858caa
JB
955%files Graphics-PLplot
956%defattr(644,root,root,755)
957%doc Graphics/PLplot/{Changes,README}
958%{perl_vendorarch}/PDL/Graphics/PLplot.pm
959%dir %{perl_vendorarch}/auto/PDL/Graphics/PLplot
960%{perl_vendorarch}/auto/PDL/Graphics/PLplot/PLplot.bs
961%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/PLplot/PLplot.so
962%{_mandir}/man3/PDL::Graphics::PLplot.3pm*
7b9b871f 963%endif
47858caa 964
2ab08f87 965%files Graphics-TriD
ad32ab12 966%defattr(644,root,root,755)
2ab08f87
JB
967%dir %{perl_vendorarch}/PDL/Graphics/TriD
968%{perl_vendorarch}/PDL/Graphics/TriD/[A-SU-Z]*
969%{perl_vendorarch}/PDL/Graphics/TriD/Te*
970%{perl_vendorarch}/PDL/Graphics/VRML*
971%{perl_vendorarch}/PDL/Graphics/TriD.pm
972%dir %{perl_vendorarch}/auto/PDL/Graphics/TriD
973%dir %{perl_vendorarch}/auto/PDL/Graphics/TriD/Rout
974%{perl_vendorarch}/auto/PDL/Graphics/TriD/Rout/*.bs
975%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/TriD/Rout/*.so
976%{_mandir}/man3/PDL::Graphics::TriD.*
977%{_mandir}/man3/PDL::Graphics::TriD::[A-SU-Z]*
ad32ab12 978
99763d20 979%files IO-Browser
980%defattr(644,root,root,755)
981%{_mandir}/man3/PDL::IO::Browser*
38b0f426 982%dir %{perl_vendorarch}/auto/PDL/IO/Browser
983%{perl_vendorarch}/auto/PDL/IO/Browser/*.bs
984%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/Browser/*.so
985%{perl_vendorarch}/PDL/IO/Browser*
99763d20 986
48f1e866
JR
987%files IO-Dicom
988%defattr(644,root,root,755)
989%{_mandir}/man3/PDL::IO::Dicom*
990%{perl_vendorarch}/PDL/IO/Dicom*
991
ad32ab12 992%files IO-FastRaw
993%defattr(644,root,root,755)
994%{_mandir}/man3/PDL::IO::FastRaw*
38b0f426 995%{perl_vendorarch}/PDL/IO/FastRaw*
ad32ab12 996
997%files IO-FlexRaw
998%defattr(644,root,root,755)
999%{_mandir}/man3/PDL::IO::FlexRaw*
38b0f426 1000%{perl_vendorarch}/PDL/IO/FlexRaw*
ad32ab12 1001
b14a285b
JR
1002%files IO-GD
1003%defattr(644,root,root,755)
1004%{_mandir}/man3/PDL::IO::GD*
1005%{perl_vendorarch}/PDL/IO/GD*
5f8e602b 1006%dir %{perl_vendorarch}/auto/PDL/IO/GD
b14a285b
JR
1007%{perl_vendorarch}/auto/PDL/IO/GD/*.bs
1008%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/GD/*.so
1009
ad32ab12 1010%files IO-NDF
1011%defattr(644,root,root,755)
1012%{_mandir}/man3/PDL::IO::NDF*
38b0f426 1013%{perl_vendorarch}/PDL/IO/NDF*
ad32ab12 1014
1015%files IO-Pic
1016%defattr(644,root,root,755)
38b0f426 1017%{perl_vendorarch}/PDL/IO/Pic*
ad32ab12 1018
1019%files IO-Pnm
1020%defattr(644,root,root,755)
1021%{_mandir}/man3/PDL::IO::Pnm*
38b0f426 1022%dir %{perl_vendorarch}/auto/PDL/IO/Pnm
1023%{perl_vendorarch}/auto/PDL/IO/Pnm/*.bs
1024%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/Pnm/*.so
1025%{perl_vendorarch}/PDL/IO/Pnm*
ad32ab12 1026
62df5768
JB
1027%files IO-Storable
1028%defattr(644,root,root,755)
38b0f426 1029%{perl_vendorarch}/PDL/IO/Storable.pm
1030%dir %{perl_vendorarch}/auto/PDL/IO/Storable
1031%{perl_vendorarch}/auto/PDL/IO/Storable/*.bs
1032%attr(755,root,root) %{perl_vendorarch}/auto/PDL/IO/Storable/*.so
62df5768
JB
1033%{_mandir}/man3/PDL::IO::Storable*
1034
42f24438
JB
1035%files Slatec
1036%defattr(644,root,root,755)
1037%{_mandir}/man3/PDL::Filter::LinPred*
1038%{_mandir}/man3/PDL::Fit::Linfit*
1039%{_mandir}/man3/PDL::Fit::LM*
1040%{_mandir}/man3/PDL::Fit::Polynomial*
0424b9ea 1041%{_mandir}/man3/PDL::Matrix.3pm*
42f24438 1042%{_mandir}/man3/PDL::Slatec*
38b0f426 1043%{perl_vendorarch}/PDL/Filter/LinPred.pm
1044%{perl_vendorarch}/PDL/Fit/Linfit.pm
1045%{perl_vendorarch}/PDL/Fit/LM.pm
1046%{perl_vendorarch}/PDL/Fit/Polynomial.pm
38b0f426 1047%{perl_vendorarch}/PDL/Matrix.pm
1048%{perl_vendorarch}/PDL/Slatec.pm
1049%dir %{perl_vendorarch}/auto/PDL/Slatec
1050%{perl_vendorarch}/auto/PDL/Slatec/*.bs
1051%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Slatec/*.so
42f24438
JB
1052
1053%files GSL
1054%defattr(644,root,root,755)
38b0f426 1055%{perl_vendorarch}/PDL/GSL
1056%dir %{perl_vendorarch}/auto/PDL/GSL
0424b9ea
JB
1057%dir %{perl_vendorarch}/auto/PDL/GSL/DIFF
1058%{perl_vendorarch}/auto/PDL/GSL/DIFF/*.bs
1059%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/DIFF/*.so
1060%dir %{perl_vendorarch}/auto/PDL/GSL/INTEG
1061%{perl_vendorarch}/auto/PDL/GSL/INTEG/*.bs
1062%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/INTEG/*.so
1063%dir %{perl_vendorarch}/auto/PDL/GSL/INTERP
1064%{perl_vendorarch}/auto/PDL/GSL/INTERP/*.bs
1065%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/INTERP/*.so
48f1e866
JR
1066%dir %{perl_vendorarch}/auto/PDL/GSL/MROOT
1067%{perl_vendorarch}/auto/PDL/GSL/MROOT/*.bs
1068%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/MROOT/*.so
38b0f426 1069%dir %{perl_vendorarch}/auto/PDL/GSL/RNG
1070%{perl_vendorarch}/auto/PDL/GSL/RNG/*.bs
1071%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSL/RNG/*.so
62df5768
JB
1072%{_mandir}/man3/PDL::GSL::*
1073
1074%files GSLSF
1075%defattr(644,root,root,755)
38b0f426 1076%{perl_vendorarch}/PDL/GSLSF
1077%dir %{perl_vendorarch}/auto/PDL/GSLSF
1078%dir %{perl_vendorarch}/auto/PDL/GSLSF/*
1079%{perl_vendorarch}/auto/PDL/GSLSF/*/*.bs
1080%attr(755,root,root) %{perl_vendorarch}/auto/PDL/GSLSF/*/*.so
62df5768 1081%{_mandir}/man3/PDL::GSLSF::*
42f24438 1082
48f1e866
JR
1083%files Minuit
1084%defattr(644,root,root,755)
1085%{perl_vendorarch}/PDL/Minuit.pm
1086%dir %{perl_vendorarch}/auto/PDL/Minuit
1087%{perl_vendorarch}/auto/PDL/Minuit/*.bs
1088%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Minuit/*.so
1089%{_mandir}/man3/PDL::Minuit*
1090
d642e4e0
JR
1091%files Transform
1092%defattr(644,root,root,755)
d642e4e0
JR
1093%{perl_vendorarch}/PDL/Transform.pm
1094%{perl_vendorarch}/PDL/Transform
d642e4e0
JR
1095%dir %{perl_vendorarch}/auto/PDL/Transform
1096%{perl_vendorarch}/auto/PDL/Transform/*.bs
1097%attr(755,root,root) %{perl_vendorarch}/auto/PDL/Transform/*.so
d642e4e0 1098
ad32ab12 1099%files Demos
1100%defattr(644,root,root,755)
1101%{_mandir}/man3/PDL::BAD*
38b0f426 1102%{perl_vendorarch}/PDL/Demos
This page took 0.265034 seconds and 4 git commands to generate.