1 Summary: A real-time visual space simulation
2 Summary(pl): Symulacja przestrzeni kosmicznej w czasie rzeczywistym
7 Group: X11/Applications/Science
8 Source0: http://dl.sourceforge.net/celestia/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 Source2: %{name}-solar-%{version}.tar.gz
11 URL: http://www.shatters.net/celestia/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: fam-devel
15 BuildRequires: glut-devel
16 BuildRequires: kdelibs-devel
17 BuildRequires: libjpeg-devel
18 BuildRequires: libpng-devel
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
21 BuildRequires: OpenGL-devel
23 Requires: %{name}-extrasolar
24 Requires: %{name}-stars
25 Requires: %{name}-generator
26 Requires: %{name}-textures-mercury
27 Requires: %{name}-textures-venus
28 Requires: %{name}-textures-earth
29 Requires: %{name}-textures-earth-clouds
30 Requires: %{name}-textures-moon
31 Requires: %{name}-textures-mars
32 Requires: %{name}-textures-jupiter
33 Requires: %{name}-textures-galileanmoons
34 Requires: %{name}-textures-saturn
35 Requires: %{name}-textures-triton
36 Requires: %{name}-textures-pluto
37 Obsoletes: %{name}-textures-stars
38 Obsoletes: %{name}-asterisms
39 Obsoletes: %{name}-galaxies
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
45 Celestia is a free real-time space simulation that lets you experience
46 our universe in three dimensions. Unlike most planetarium software,
47 Celestia doesn't confine you to the surface of the Earth. You can
48 travel throughout the solar system, to any of over 100,000 stars, or
49 even beyond the galaxy. All travel in Celestia is seamless; the
50 exponential zoom feature lets you explore space across a huge range of
51 scales, from galaxy clusters down to spacecraft only a few meters
52 across. A 'point-and-goto' interface makes it simple to navigate
53 through the universe to the object you want to visit.
56 Celestia to wolny symulator przestrzeni komicznej w czasie
57 rzeczywistym, który pozwala do¶wiadczaæ naszego Wszech¶wiata w trzech
58 wymiarach. W odró¿nieniu od innych programów planetarnych Celestia nie
59 przywi±zuje Ciê do powierzchni ziemi. Mo¿esz podró¿owaæ przez Uk³ad
60 S³oneczny do ponad 100,000 gwiazd lub nawet poza galaktykê. Wszystkie
61 podró¿e w Celestii s± niezauwa¿alne; funkcja wyk³adniczego
62 przybli¿enia pozwala Ci odkrywaæ Kosmos w ró¿nych skalach - od
63 spojrzenia na galaktyki do widoku kilkumetrowych statków kosmicznych.
64 Interfejs typu 'poka¿-i-leæ' czyni nawigacjê przez Wszech¶wiat prost±.
67 Summary: Default packages for celestia
68 Summary(pl): Domy¶lne pakiety dla celestii
69 Group: X11/Applications/Science
70 Requires: %{name}-extrasolar-default
71 Requires: %{name}-stars-default
72 Requires: %{name}-textures-mercury-default
73 Requires: %{name}-textures-venus-default
74 Requires: %{name}-textures-earth-default
75 Requires: %{name}-textures-earth-clouds-default
76 Requires: %{name}-textures-moon-default
77 Requires: %{name}-textures-mars-default
78 Requires: %{name}-textures-jupiter-default
79 Requires: %{name}-textures-galileanmoons-default
80 Requires: %{name}-textures-saturn-default
81 Requires: %{name}-textures-triton-default
82 Requires: %{name}-textures-pluto-default
84 %description task-default
85 Default packages for celestia. This metapackage contains no files
86 and can be safely uninstalled after installation.
88 %description task-default -l pl
89 Domy¶lne pakiety dla celestii. Ten metapakiet nie zawiera ¿adnych
90 plików i mo¿e zostaæ usuniêty po instalacji.
93 Summary: Hack needed because rpm sucks
94 Summary(pl): Hack potrzebny z powodu obsysania rpm-a
95 Group: X11/Applications/Science
97 %description generator
98 Generates solarsys.ssc.
100 %descreption generator -l pl
103 %package extrasolar-default
104 Summary: Catalog of known extrasolar planetary systems
105 Summary(pl): Katalog znanych uk³adów planetarnych
106 Group: X11/Applications/Science
108 Provides: %{name}-extrasolar
109 Obsoletes: %{name}-extrasolar
111 %description extrasolar-default
112 Catalog of known extrasolar planetary systems.
114 %description extrasolar-default -l pl
115 Katalog znanych uk³adów planetarnych.
117 %package stars-default
118 Summary: Database with 100 000 stars
119 Summary(pl): Baza danych 100 000 gwiazd
120 Group: X11/Applications/Science
122 Provides: %{name}-stars
123 Obsoletes: %{name}-stars
125 %description stars-default
126 Initial Stars database (with about 100 000 Hipparcos stars).
128 %description stars-default -l pl
129 Podstawowa baza danych gwiazd (z oko³o 100 000 gwiazd zbadanych
130 przez sondê kosmiczn± Hipparcos).
132 %package textures-mercury-default
133 Summary: 1k Mercury textures
134 Summary(pl): Tekstury Merkurego o wielko¶ci 1024 x 512
135 Group: X11/Applications/Science
136 Prereq: %{name}-generator
138 Provides: %{name}-textures-mercury
139 Obsoletes: %{name}-textures-mercury
141 %description textures-mercury-default
144 %description textures-mercury-default -l pl
145 Tekstury Merkurego o wielko¶ci 1024 x 512.
147 %package textures-mercury-bumpmap-default
148 Summary: 1k Mercury bump maps
149 Summary(pl): Mapa wybojów Merkurego o wielko¶ci 1024 x 512
150 Group: X11/Applications/Science
151 Prereq: %{name}-generator
153 Provides: %{name}-textures-mercury-bumpmap
154 Obsoletes: %{name}-textures-mercury-bumpmap
156 %description textures-mercury-bumpmap-default
159 %description textures-mercury-bumpmap-default -l pl
160 Mapa wybojów Merkurego o wielko¶ci 1024 x 512.
162 %package textures-venus-default
163 Summary: 1k Venus textures
164 Summary(pl): Tekstury Wenus o wielko¶ci 1024 x 512
165 Group: X11/Applications/Science
166 Prereq: %{name}-generator
168 Provides: %{name}-textures-venus
169 Obsoletes: %{name}-textures-venus
171 %description textures-venus-default
174 %description textures-venus-default -l pl
175 Tekstury Venus o wielko¶ci 1024 x 512.
177 %package textures-earth-default
178 Summary: 2k Earth textures
179 Summary(pl): Tekstury Ziemi o wielko¶ci 2048 x 1024
180 Group: X11/Applications/Science
181 Prereq: %{name}-generator
183 Provides: %{name}-textures-earth
184 Obsoletes: %{name}-textures-earth
186 %description textures-earth-default
189 %description textures-earth-default -l pl
190 Tekstury Ziemi o wielko¶ci 2048 x 1024.
192 %package textures-earth-clouds-default
193 Summary: 1k Earth cloud textures
194 Summary(pl): Tekstury ziemskich chmur o wielko¶ci 1024 x 512
195 Group: X11/Applications/Science
196 Prereq: %{name}-generator
198 Provides: %{name}-textures-earth-clouds
199 Obsoletes: %{name}-textures-earth-clouds
201 %description textures-earth-clouds-default
202 1k Earth clouds textures.
204 %description textures-earth-clouds-default -l pl
205 Tekstury ziemskich chmur o wielko¶ci 1024 x 512.
207 %package textures-earth-night-default
208 Summary: 1k Earth night textures
209 Summary(pl): Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512
210 Group: X11/Applications/Science
211 Prereq: %{name}-generator
213 Provides: %{name}-textures-earth-night
214 Obsoletes: %{name}-textures-earth-night
216 %description textures-earth-night-default
217 1k Earth night textures.
219 %description textures-earth-night-default -l pl
220 Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512.
222 %package textures-moon-default
223 Summary: 1k Moon textures
224 Summary(pl): Tekstury Ksiê¿yca o wielko¶ci 1024 x 512
225 Group: X11/Applications/Science
226 Prereq: %{name}-generator
228 Provides: %{name}-textures-moon
229 Obsoletes: %{name}-textures-moon
231 %description textures-moon-default
234 %description textures-moon-default -l pl
235 Tekstury Ksiê¿yca o wielko¶ci 1024 x 512.
237 %package textures-moon-bumpmap-default
238 Summary: 1k Moon bump map
239 Summary(pl): Mapa wybojów Ksiê¿yca o wielko¶ci 1024 x 512
240 Group: X11/Applications/Science
241 Prereq: %{name}-generator
243 Provides: %{name}-textures-moon-bumpmap
244 Obsoletes: %{name}-textures-moon-bumpmap
246 %description textures-moon-bumpmap-default
249 %description textures-moon-bumpmap-default -l pl
250 Mapa wybojów Ksiê¿yca o wielko¶ci 1024 x 512.
252 %package textures-mars-default
253 Summary: 1k Mars textures
254 Summary(pl): Tekstury Marsa o wielko¶ci 1024 x 512
255 Group: X11/Applications/Science
256 Prereq: %{name}-generator
258 Provides: %{name}-textures-mars
259 Obsoletes: %{name}-textures-mars
261 %description textures-mars-default
264 %description textures-mars-default -l pl
265 Tekstury Marsa o wielko¶ci 1024 x 512.
267 %package textures-mars-bumpmap-default
268 Summary: 1k Mars bump map
269 Summary(pl): Mapa wybojów Marsa o wielko¶ci 1024 x 512
270 Group: X11/Applications/Science
271 Prereq: %{name}-generator
273 Provides: %{name}-textures-mars-bumpmap
274 Obsoletes: %{name}-textures-mars-bumpmap
276 %description textures-mars-bumpmap-default
279 %description textures-mars-bumpmap-default -l pl
280 Mapa wybojów Marsa o wielko¶ci 1024 x 512.
282 %package textures-jupiter-default
283 Summary: 1k Jupiter textures
284 Summary(pl): Tekstury Jowisza o wielko¶ci 1024 x 512
285 Group: X11/Applications/Science
286 Prereq: %{name}-generator
288 Provides: %{name}-textures-jupiter
289 Obsoletes: %{name}-textures-jupiter
291 %description textures-jupiter-default
294 %description textures-jupiter-default -l pl
295 Tekstury Jowisza o wielko¶ci 1024 x 512.
297 %package textures-galileanmoons-default
298 Summary: 1k galilean moons textures
299 Summary(pl): Tekstury ksiê¿yców odkrytych przez Galileusza o wielko¶ci 1024 x 512
300 Group: X11/Applications/Science
301 Prereq: %{name}-generator
303 Provides: %{name}-textures-galileanmoons
304 Obsoletes: %{name}-textures-galileanmoons
306 %description textures-galileanmoons-default
307 1k galilean moons (Io, Europa, Ganymede, Calypso) textures.
309 %description textures-galileanmoons-default -l pl
310 Tekstury ksiê¿yców Jowisza odkrytych przez Galileusza (Io,
311 Europa, Ganimedes, Calypso) o wielko¶ci 1024 x 512.
313 %package textures-saturn-default
314 Summary: 256 Saturn textures
315 Summary(pl): Tekstury Saturna o wielko¶ci 256 x 128
316 Group: X11/Applications/Science
317 Prereq: %{name}-generator
319 Provides: %{name}-textures-saturn
320 Obsoletes: %{name}-textures-saturn
322 %description textures-saturn-default
325 %description textures-saturn-default -l pl
326 Tekstury Jowisza o wielko¶ci 256 x 128.
328 %package textures-triton-default
329 Summary: 512 Triton textures
330 Summary(pl): Tekstury Trytona o wielko¶ci 512 x 256
331 Group: X11/Applications/Science
332 Prereq: %{name}-generator
334 Provides: %{name}-textures-triton
335 Obsoletes: %{name}-textures-triton
337 %description textures-triton-default
340 %description textures-triton-default -l pl
341 Tekstury najwiêkszego ksiê¿yca Neptuna, Trytona
342 o wielko¶ci 512 x 256.
344 %package textures-pluto-default
345 Summary: 1k Pluto textures
346 Summary(pl): Tekstury Plutona o wielko¶ci 1024 x 512
347 Group: X11/Applications/Science
348 Prereq: %{name}-generator
350 Provides: %{name}-textures-pluto
351 Obsoletes: %{name}-textures-pluto
353 %description textures-pluto-default
356 %description textures-pluto-default -l pl
357 Tekstury Plutona o wielko¶ci 1024 x 512.
362 echo "You can remove this package safely." > PLACEHOLDER-TASK-DEFAULT
367 %{__aclocal} -I macros
370 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
380 rm -rf $RPM_BUILD_ROOT
381 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Scientific/Astronomy}
384 DESTDIR=$RPM_BUILD_ROOT
387 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy/%{name}.desktop
388 cp src/celestia/kde/data/hi48-app-celestia.png $RPM_BUILD_ROOT%{_pixmapsdir}/celestia.png
390 # solarsys.ssc generator
391 install -d $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
392 install solar/* $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
393 cat > $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/solarsys-gen << EOF
395 cd %{_datadir}/apps/%{name}/data
396 LANG=C cat solarsys/* > solarsys.ssc
400 rm -rf $RPM_BUILD_ROOT
402 # all texture-* here are required in one or another version, so no %%postun
403 %post -p %{_datadir}/apps/%{name}/solarsys-gen
404 %post textures-mercury-default -p %{_datadir}/apps/%{name}/solarsys-gen
405 %post textures-venus-default -p %{_datadir}/apps/%{name}/solarsys-gen
406 %post textures-earth-default -p %{_datadir}/apps/%{name}/solarsys-gen
407 %post textures-earth-clouds-default -p %{_datadir}/apps/%{name}/solarsys-gen
408 %post textures-moon-default -p %{_datadir}/apps/%{name}/solarsys-gen
409 %post textures-mars-default -p %{_datadir}/apps/%{name}/solarsys-gen
410 %post textures-jupiter-default -p %{_datadir}/apps/%{name}/solarsys-gen
411 %post textures-galileanmoons-default -p %{_datadir}/apps/%{name}/solarsys-gen
412 %post textures-saturn-default -p %{_datadir}/apps/%{name}/solarsys-gen
413 %post textures-triton-default -p %{_datadir}/apps/%{name}/solarsys-gen
414 %post textures-pluto-default -p %{_datadir}/apps/%{name}/solarsys-gen
416 # optional, so %%postun is also required
417 %post textures-mercury-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
418 %postun textures-mercury-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
419 %post textures-earth-night-default -p %{_datadir}/apps/%{name}/solarsys-gen
420 %postun textures-earth-night-default -p %{_datadir}/apps/%{name}/solarsys-gen
421 %post textures-mars-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
422 %postun textures-mars-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
423 %post textures-moon-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
424 %postun textures-moon-bumpmap-default -p %{_datadir}/apps/%{name}/solarsys-gen
427 %defattr(644,root,root,755)
428 %doc README AUTHORS TODO controls.txt ChangeLog
429 %doc %{_datadir}/apps/celestia/manual
430 %attr(755,root,root) %{_bindir}/*
431 %{_datadir}/apps/celestia/data/solarsys/37-earth-satellites
432 %{_datadir}/apps/celestia/data/solarsys/48-mars-moons
433 %{_datadir}/apps/celestia/data/solarsys/52-jupiter-small-moon
434 %{_datadir}/apps/celestia/data/solarsys/65-saturn-moons
435 %{_datadir}/apps/celestia/data/solarsys/70-uranus
436 %{_datadir}/apps/celestia/data/solarsys/75-uranus-moons
437 %{_datadir}/apps/celestia/data/solarsys/80-neptune
438 %{_datadir}/apps/celestia/data/solarsys/84-neptune-moons
439 %{_datadir}/apps/celestia/data/solarsys/92-pluto-moon
440 %{_datadir}/apps/celestia/data/solarsys/99-various
441 %{_datadir}/apps/celestia/data/asterisms.dat
442 %{_datadir}/apps/celestia/data/boundaries.dat
443 %{_datadir}/apps/celestia/data/deepsky.dsc
444 %{_datadir}/apps/celestia/data/galileo.xyz
445 %verify(not md5 size mtime) %{_datadir}/apps/celestia/data/solarsys.ssc
446 %{_datadir}/apps/celestia/data/hdnames.dat
447 %{_datadir}/apps/celestia/data/starnames.dat
448 %{_datadir}/apps/celestia/extras
449 %{_datadir}/apps/celestia/favicons
450 %{_datadir}/apps/celestia/fonts
451 %{_datadir}/apps/celestia/models
452 %{_datadir}/apps/celestia/shaders
453 %dir %{_datadir}/apps/celestia/textures
454 %{_datadir}/apps/celestia/textures/lores
455 %{_datadir}/apps/celestia/textures/medres
456 %exclude %{_datadir}/apps/celestia/textures/medres/callisto.jpg
457 %exclude %{_datadir}/apps/celestia/textures/medres/earth*
458 %exclude %{_datadir}/apps/celestia/textures/medres/europa.jpg
459 %exclude %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
460 %exclude %{_datadir}/apps/celestia/textures/medres/io.jpg
461 %exclude %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
462 %exclude %{_datadir}/apps/celestia/textures/medres/mars*
463 %exclude %{_datadir}/apps/celestia/textures/medres/mercury*
464 %exclude %{_datadir}/apps/celestia/textures/medres/moon*
465 %exclude %{_datadir}/apps/celestia/textures/medres/pluto*
466 %exclude %{_datadir}/apps/celestia/textures/medres/saturn*
467 %exclude %{_datadir}/apps/celestia/textures/medres/triton*
468 %exclude %{_datadir}/apps/celestia/textures/medres/venus.jpg
469 %exclude %{_datadir}/apps/celestia/textures/medres/venussurface.jpg
470 %{_datadir}/apps/celestia/textures/flare.jpg
471 %{_datadir}/apps/celestia/textures/logo.png
472 %{_datadir}/apps/celestia/bookmarks.xml
473 %{_datadir}/apps/celestia/celestia.cfg
474 %{_datadir}/apps/celestia/celestiaui.rc
475 %{_datadir}/apps/celestia/controls.txt
476 %{_datadir}/apps/celestia/*.cel
478 %{_applnkdir}/Scientific/Astronomy/*
481 %{_datadir}/doc/HTML/en/%{name}
482 %{_datadir}/mimelnk/application/*
483 %{_datadir}/services/*
486 %defattr(644,root,root,755)
487 %doc PLACEHOLDER-TASK-DEFAULT
490 %defattr(644,root,root,755)
491 %dir %{_datadir}/apps/celestia
492 %dir %{_datadir}/apps/celestia/data
493 %dir %{_datadir}/apps/celestia/data/solarsys
494 %attr(755,root,root) %{_datadir}/apps/celestia/solarsys-gen
496 %files extrasolar-default
497 %defattr(644,root,root,755)
498 %{_datadir}/apps/celestia/data/extrasolar.ssc
501 %defattr(644,root,root,755)
502 %{_datadir}/apps/celestia/data/stars.dat
504 %files textures-mercury-default
505 %defattr(644,root,root,755)
506 %{_datadir}/apps/celestia/textures/medres/mercury.jpg
507 %{_datadir}/apps/celestia/data/solarsys/00-mercury
508 %{_datadir}/apps/celestia/data/solarsys/07-mercury
510 %files textures-mercury-bumpmap-default
511 %defattr(644,root,root,755)
512 %{_datadir}/apps/celestia/textures/medres/mercurybump.jpg
513 %{_datadir}/apps/celestia/data/solarsys/05-mercury-bump
515 %files textures-venus-default
516 %defattr(644,root,root,755)
517 %{_datadir}/apps/celestia/textures/medres/venus.jpg
518 %{_datadir}/apps/celestia/textures/medres/venussurface.jpg
519 %{_datadir}/apps/celestia/data/solarsys/10-venus
521 %files textures-earth-default
522 %defattr(644,root,root,755)
523 %{_datadir}/apps/celestia/textures/medres/earth.png
524 %{_datadir}/apps/celestia/data/solarsys/20-earth
525 %{_datadir}/apps/celestia/data/solarsys/24-earth
526 %{_datadir}/apps/celestia/data/solarsys/28-earth
528 %files textures-earth-clouds-default
529 %defattr(644,root,root,755)
530 %{_datadir}/apps/celestia/textures/medres/earth-clouds.png
531 %{_datadir}/apps/celestia/data/solarsys/26-earth-clouds
533 %files textures-earth-night-default
534 %defattr(644,root,root,755)
535 %{_datadir}/apps/celestia/textures/medres/earthnight.jpg
536 %{_datadir}/apps/celestia/data/solarsys/22-earth-night
538 %files textures-moon-default
539 %defattr(644,root,root,755)
540 %{_datadir}/apps/celestia/textures/medres/moon.jpg
541 %{_datadir}/apps/celestia/data/solarsys/30-moon
542 %{_datadir}/apps/celestia/data/solarsys/35-moon
544 %files textures-moon-bumpmap-default
545 %defattr(644,root,root,755)
546 %{_datadir}/apps/celestia/textures/medres/moonbump1k.jpg
547 %{_datadir}/apps/celestia/data/solarsys/33-moon-bump
549 %files textures-mars-default
550 %defattr(644,root,root,755)
551 %{_datadir}/apps/celestia/textures/medres/mars.jpg
552 %{_datadir}/apps/celestia/data/solarsys/40-mars
553 %{_datadir}/apps/celestia/data/solarsys/44-mars
554 %{_datadir}/apps/celestia/data/solarsys/46-mars
556 %files textures-mars-bumpmap-default
557 %defattr(644,root,root,755)
558 %{_datadir}/apps/celestia/textures/medres/marsbump1k.jpg
559 %{_datadir}/apps/celestia/data/solarsys/42-mars-bump
561 %files textures-jupiter-default
562 %defattr(644,root,root,755)
563 %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
564 %{_datadir}/apps/celestia/data/solarsys/50-jupiter
566 %files textures-galileanmoons-default
567 %defattr(644,root,root,755)
568 %{_datadir}/apps/celestia/textures/medres/callisto.jpg
569 %{_datadir}/apps/celestia/textures/medres/io.jpg
570 %{_datadir}/apps/celestia/textures/medres/europa.jpg
571 %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
572 %{_datadir}/apps/celestia/data/solarsys/55-jupiter-galilean-moons
574 %files textures-saturn-default
575 %defattr(644,root,root,755)
576 %{_datadir}/apps/celestia/textures/medres/saturn.jpg
577 %{_datadir}/apps/celestia/data/solarsys/60-saturn
579 %files textures-triton-default
580 %defattr(644,root,root,755)
581 %{_datadir}/apps/celestia/textures/medres/triton.jpg
582 %{_datadir}/apps/celestia/data/solarsys/82-neptune-triton
584 %files textures-pluto-default
585 %defattr(644,root,root,755)
586 %{_datadir}/apps/celestia/textures/medres/pluto.jpg
587 %{_datadir}/apps/celestia/textures/medres/plutobump1k.jpg
588 %{_datadir}/apps/celestia/data/solarsys/90-pluto