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