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