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