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