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}-deepsky
25 Requires: %{name}-stars
26 Requires: %{name}-generator
27 Requires: %{name}-textures-mercury
28 Requires: %{name}-textures-venus
29 Requires: %{name}-textures-earth
30 Requires: %{name}-textures-earth-clouds
31 Requires: %{name}-textures-earth-night
32 Requires: %{name}-textures-moon
33 Requires: %{name}-textures-mars
34 Requires: %{name}-textures-jupiter
35 Requires: %{name}-textures-galileanmoons
36 Requires: %{name}-textures-saturn
37 Requires: %{name}-textures-triton
38 Requires: %{name}-textures-pluto
39 Obsoletes: %{name}-textures-stars
40 Obsoletes: %{name}-asterisms
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
46 Celestia is a free real-time space simulation that lets you experience
47 our universe in three dimensions. Unlike most planetarium software,
48 Celestia doesn't confine you to the surface of the Earth. You can
49 travel throughout the solar system, to any of over 100,000 stars, or
50 even beyond the galaxy. All travel in Celestia is seamless; the
51 exponential zoom feature lets you explore space across a huge range of
52 scales, from galaxy clusters down to spacecraft only a few meters
53 across. A 'point-and-goto' interface makes it simple to navigate
54 through the universe to the object you want to visit.
57 Celestia to wolny symulator przestrzeni komicznej w czasie
58 rzeczywistym, który pozwala do¶wiadczaæ naszego Wszech¶wiata w trzech
59 wymiarach. W odró¿nieniu od innych programów planetarnych Celestia nie
60 przywi±zuje Ciê do powierzchni ziemi. Mo¿esz podró¿owaæ przez Uk³ad
61 S³oneczny do ponad 100,000 gwiazd lub nawet poza galaktykê. Wszystkie
62 podró¿e w Celestii s± niezauwa¿alne; funkcja wyk³adniczego
63 przybli¿enia pozwala Ci odkrywaæ Kosmos w ró¿nych skalach - od
64 spojrzenia na galaktyki do widoku kilkumetrowych statków kosmicznych.
65 Interfejs typu 'poka¿-i-leæ' czyni nawigacjê przez Wszech¶wiat prost±.
68 Summary: Default packages for celestia
69 Summary(pl): Domy¶lne pakiety dla celestii
70 Group: X11/Applications/Science
71 Requires: %{name}-extrasolar-default
72 Requires: %{name}-deepsky-default
73 Requires: %{name}-stars-default
74 Requires: %{name}-textures-mercury-default
75 Requires: %{name}-textures-venus-default
76 Requires: %{name}-textures-earth-default
77 Requires: %{name}-textures-earth-clouds-default
78 Requires: %{name}-textures-earth-night-default
79 Requires: %{name}-textures-moon-default
80 Requires: %{name}-textures-mars-default
81 Requires: %{name}-textures-jupiter-default
82 Requires: %{name}-textures-galileanmoons-default
83 Requires: %{name}-textures-saturn-default
84 Requires: %{name}-textures-triton-default
85 Requires: %{name}-textures-pluto-default
87 %description task-default
88 Default packages for celestia. This metapackage contains no files
89 and can be safely uninstalled after installation.
91 %description task-default -l pl
92 Domy¶lne pakiety dla celestii. Ten metapakiet nie zawiera ¿adnych
93 plików i mo¿e zostaæ usuniêty po instalacji.
96 Summary: Hack needed because rpm sucks
97 Summary(pl): Hack potrzebny z powodu obsysania rpm-a
98 Group: X11/Applications/Science
100 %description generator
101 Generates solarsys.ssc.
103 %descreption generator -l pl
106 %package extrasolar-default
107 Summary: Catalog of known extrasolar planetary systems
108 Summary(pl): Katalog znanych uk³adów planetarnych
109 Group: X11/Applications/Science
111 Provides: %{name}-extrasolar
112 Obsoletes: %{name}-extrasolar
114 %description extrasolar-default
115 Catalog of known extrasolar planetary systems.
117 %description extrasolar-default -l pl
118 Katalog znanych uk³adów planetarnych.
120 %package deepsky-default
121 Summary: Galaxy catalog (8 galaxies)
122 Summary(pl): Katalog o¶miu galaktyk
123 Group: X11/Applications/Science
125 Provides: %{name}-deepsky
126 Obsoletes: %{name}-deepsky
127 Obsoletes: %{name}-galaxies
129 %description deepsky-default
130 Galaxy catalog (8 galaxies).
132 %description deepsky-default -l pl
133 Katalog o¶miu galaktyk.
135 %package stars-default
136 Summary: Database with 100 000 stars
137 Summary(pl): Baza danych 100 000 gwiazd
138 Group: X11/Applications/Science
140 Provides: %{name}-stars
141 Obsoletes: %{name}-stars
143 %description stars-default
144 Initial Stars database (with about 100 000 Hipparcos stars).
146 %description stars-default -l pl
147 Podstawowa baza danych gwiazd (z oko³o 100 000 gwiazd zbadanych
148 przez sondê kosmiczn± Hipparcos).
150 %package textures-mercury-default
151 Summary: 1k Mercury textures
152 Summary(pl): Tekstury Merkurego o wielko¶ci 1024 x 512
153 Group: X11/Applications/Science
154 Prereq: %{name}-generator
156 Provides: %{name}-textures-mercury
157 Obsoletes: %{name}-textures-mercury
159 %description textures-mercury-default
162 %description textures-mercury-default -l pl
163 Tekstury Merkurego o wielko¶ci 1024 x 512.
165 %package textures-venus-default
166 Summary: 1k Venus textures
167 Summary(pl): Tekstury Wenus o wielko¶ci 1024 x 512
168 Group: X11/Applications/Science
169 Prereq: %{name}-generator
171 Provides: %{name}-textures-venus
172 Obsoletes: %{name}-textures-venus
174 %description textures-venus-default
177 %description textures-venus-default -l pl
178 Tekstury Venus o wielko¶ci 1024 x 512.
180 %package textures-earth-default
181 Summary: 2k Earth textures
182 Summary(pl): Tekstury Ziemi o wielko¶ci 2048 x 1024
183 Group: X11/Applications/Science
184 Prereq: %{name}-generator
186 Provides: %{name}-textures-earth
187 Obsoletes: %{name}-textures-earth
189 %description textures-earth-default
192 %description textures-earth-default -l pl
193 Tekstury Ziemi o wielko¶ci 2048 x 1024.
195 %package textures-earth-clouds-default
196 Summary: 1k Earth cloud textures
197 Summary(pl): Tekstury ziemskich chmur o wielko¶ci 1024 x 512
198 Group: X11/Applications/Science
199 Prereq: %{name}-generator
201 Provides: %{name}-textures-earth-clouds
202 Obsoletes: %{name}-textures-earth-clouds
204 %description textures-earth-clouds-default
205 1k Earth clouds textures.
207 %description textures-earth-clouds-default -l pl
208 Tekstury ziemskich chmur o wielko¶ci 1024 x 512.
210 %package textures-earth-night-default
211 Summary: 1k Earth night textures
212 Summary(pl): Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512
213 Group: X11/Applications/Science
214 Prereq: %{name}-generator
216 Provides: %{name}-textures-earth-night
217 Obsoletes: %{name}-textures-earth-night
219 %description textures-earth-night-default
220 1k Earth night textures.
222 %description textures-earth-night-default -l pl
223 Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512.
225 %package textures-moon-default
226 Summary: 1k Moon textures
227 Summary(pl): Tekstury Ksiê¿yca o wielko¶ci 1024 x 512
228 Group: X11/Applications/Science
229 Prereq: %{name}-generator
231 Provides: %{name}-textures-moon
232 Obsoletes: %{name}-textures-moon
234 %description textures-moon-default
237 %description textures-moon-default -l pl
238 Tekstury Ksiê¿yca o wielko¶ci 1024 x 512.
240 %package textures-mars-default
241 Summary: 1k Mars textures
242 Summary(pl): Tekstury Marsa o wielko¶ci 1024 x 512
243 Group: X11/Applications/Science
244 Prereq: %{name}-generator
246 Provides: %{name}-textures-mars
247 Obsoletes: %{name}-textures-mars
249 %description textures-mars-default
252 %description textures-mars-default -l pl
253 Tekstury Marsa o wielko¶ci 1024 x 512.
255 %package textures-jupiter-default
256 Summary: 1k Jupiter textures
257 Summary(pl): Tekstury Jowisza o wielko¶ci 1024 x 512
258 Group: X11/Applications/Science
259 Prereq: %{name}-generator
261 Provides: %{name}-textures-jupiter
262 Obsoletes: %{name}-textures-jupiter
264 %description textures-jupiter-default
267 %description textures-jupiter-default -l pl
268 Tekstury Jowisza o wielko¶ci 1024 x 512.
270 %package textures-galileanmoons-default
271 Summary: 1k galilean moons textures
272 Summary(pl): Tekstury ksiê¿yców odkrytych przez Galileusza o wielko¶ci 1024 x 512
273 Group: X11/Applications/Science
274 Prereq: %{name}-generator
276 Provides: %{name}-textures-galileanmoons
277 Obsoletes: %{name}-textures-galileanmoons
279 %description textures-galileanmoons-default
280 1k galilean moons (Io, Europa, Ganymede, Calypso) textures.
282 %description textures-galileanmoons-default -l pl
283 Tekstury ksiê¿yców Jowisza odkrytych przez Galileusza (Io,
284 Europa, Ganimedes, Calypso) o wielko¶ci 1024 x 512.
286 %package textures-saturn-default
287 Summary: 256 Saturn textures
288 Summary(pl): Tekstury Saturna o wielko¶ci 256 x 128
289 Group: X11/Applications/Science
290 Prereq: %{name}-generator
292 Provides: %{name}-textures-saturn
293 Obsoletes: %{name}-textures-saturn
295 %description textures-saturn-default
298 %description textures-saturn-default -l pl
299 Tekstury Jowisza o wielko¶ci 256 x 128.
301 %package textures-triton-default
302 Summary: 512 Triton textures
303 Summary(pl): Tekstury Trytona o wielko¶ci 512 x 256
304 Group: X11/Applications/Science
305 Prereq: %{name}-generator
307 Provides: %{name}-textures-triton
308 Obsoletes: %{name}-textures-triton
310 %description textures-triton-default
313 %description textures-triton-default -l pl
314 Tekstury najwiêkszego ksiê¿yca Neptuna, Trytona
315 o wielko¶ci 512 x 256.
317 %package textures-pluto-default
318 Summary: 1k Pluto textures
319 Summary(pl): Tekstury Plutona o wielko¶ci 1024 x 512
320 Group: X11/Applications/Science
321 Prereq: %{name}-generator
323 Provides: %{name}-textures-pluto
324 Obsoletes: %{name}-textures-pluto
326 %description textures-pluto-default
329 %description textures-pluto-default -l pl
330 Tekstury Plutona o wielko¶ci 1024 x 512.
335 echo "You can remove this package safely." > PLACEHOLDER-TASK-DEFAULT
340 %{__aclocal} -I macros
343 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
353 rm -rf $RPM_BUILD_ROOT
354 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Scientific/Astronomy}
357 DESTDIR=$RPM_BUILD_ROOT
360 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy/%{name}.desktop
361 cp src/celestia/kde/data/hi48-app-celestia.png $RPM_BUILD_ROOT%{_pixmapsdir}/celestia.png
363 # solarsys.ssc generator
364 install -d $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
365 install solar/* $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
366 cat > $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/solarsys-gen << EOF
368 cd %{_datadir}/apps/%{name}/data
369 LANG=C cat solarsys/* > solarsys.ssc
373 rm -rf $RPM_BUILD_ROOT
375 # all texture-* here are required in one or another version, so no %%postun
376 %post -p %{_datadir}/apps/%{name}/solarsys-gen
377 %post textures-mercury-default -p %{_datadir}/apps/%{name}/solarsys-gen
378 %post textures-venus-default -p %{_datadir}/apps/%{name}/solarsys-gen
379 %post textures-earth-default -p %{_datadir}/apps/%{name}/solarsys-gen
380 %post textures-earth-clouds-default -p %{_datadir}/apps/%{name}/solarsys-gen
381 %post textures-earth-night-default -p %{_datadir}/apps/%{name}/solarsys-gen
382 %post textures-moon-default -p %{_datadir}/apps/%{name}/solarsys-gen
383 %post textures-mars-default -p %{_datadir}/apps/%{name}/solarsys-gen
384 %post textures-jupiter-default -p %{_datadir}/apps/%{name}/solarsys-gen
385 %post textures-galileanmoons-default -p %{_datadir}/apps/%{name}/solarsys-gen
386 %post textures-saturn-default -p %{_datadir}/apps/%{name}/solarsys-gen
387 %post textures-triton-default -p %{_datadir}/apps/%{name}/solarsys-gen
388 %post textures-pluto-default -p %{_datadir}/apps/%{name}/solarsys-gen
391 %defattr(644,root,root,755)
392 %doc README AUTHORS TODO controls.txt ChangeLog
393 %doc %{_datadir}/apps/celestia/manual
394 %attr(755,root,root) %{_bindir}/*
395 %{_datadir}/apps/celestia/data/solarsys/35-earth-satellites
396 %{_datadir}/apps/celestia/data/solarsys/45-mars-moons
397 %{_datadir}/apps/celestia/data/solarsys/52-jupiter-small-moon
398 %{_datadir}/apps/celestia/data/solarsys/65-saturn-moons
399 %{_datadir}/apps/celestia/data/solarsys/70-uranus
400 %{_datadir}/apps/celestia/data/solarsys/75-uranus-moons
401 %{_datadir}/apps/celestia/data/solarsys/80-neptune
402 %{_datadir}/apps/celestia/data/solarsys/84-neptune-moons
403 %{_datadir}/apps/celestia/data/solarsys/92-pluto-moon
404 %{_datadir}/apps/celestia/data/solarsys/99-various
405 %{_datadir}/apps/celestia/data/asterisms.dat
406 %{_datadir}/apps/celestia/data/boundaries.dat
407 %{_datadir}/apps/celestia/data/galileo.xyz
408 %verify(not md5 size mtime) %{_datadir}/apps/celestia/data/solarsys.ssc
409 %{_datadir}/apps/celestia/data/hdnames.dat
410 %{_datadir}/apps/celestia/data/starnames.dat
411 %{_datadir}/apps/celestia/extras
412 %{_datadir}/apps/celestia/favicons
413 %{_datadir}/apps/celestia/fonts
414 %{_datadir}/apps/celestia/models
415 %{_datadir}/apps/celestia/shaders
416 %dir %{_datadir}/apps/celestia/textures
417 %{_datadir}/apps/celestia/textures/lores
418 %{_datadir}/apps/celestia/textures/medres
419 %exclude %{_datadir}/apps/celestia/textures/medres/callisto.jpg
420 %exclude %{_datadir}/apps/celestia/textures/medres/earth*
421 %exclude %{_datadir}/apps/celestia/textures/medres/europa.jpg
422 %exclude %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
423 %exclude %{_datadir}/apps/celestia/textures/medres/io.jpg
424 %exclude %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
425 %exclude %{_datadir}/apps/celestia/textures/medres/mars*
426 %exclude %{_datadir}/apps/celestia/textures/medres/mercury*
427 %exclude %{_datadir}/apps/celestia/textures/medres/moon*
428 %exclude %{_datadir}/apps/celestia/textures/medres/pluto*
429 %exclude %{_datadir}/apps/celestia/textures/medres/saturn*
430 %exclude %{_datadir}/apps/celestia/textures/medres/triton*
431 %exclude %{_datadir}/apps/celestia/textures/medres/venus.jpg
432 %exclude %{_datadir}/apps/celestia/textures/medres/venussurface.jpg
433 %{_datadir}/apps/celestia/textures/flare.jpg
434 %{_datadir}/apps/celestia/textures/logo.png
435 %{_datadir}/apps/celestia/bookmarks.xml
436 %{_datadir}/apps/celestia/celestia.cfg
437 %{_datadir}/apps/celestia/celestiaui.rc
438 %{_datadir}/apps/celestia/controls.txt
439 %{_datadir}/apps/celestia/*.cel
441 %{_applnkdir}/Scientific/Astronomy/*
444 %{_datadir}/doc/HTML/en/%{name}
445 %{_datadir}/mimelnk/application/*
446 %{_datadir}/services/*
449 %defattr(644,root,root,755)
450 %doc PLACEHOLDER-TASK-DEFAULT
453 %defattr(644,root,root,755)
454 %dir %{_datadir}/apps/celestia
455 %dir %{_datadir}/apps/celestia/data
456 %dir %{_datadir}/apps/celestia/data/solarsys
457 %attr(755,root,root) %{_datadir}/apps/celestia/solarsys-gen
459 %files extrasolar-default
460 %defattr(644,root,root,755)
461 %{_datadir}/apps/celestia/data/extrasolar.ssc
463 %files deepsky-default
464 %defattr(644,root,root,755)
465 %{_datadir}/apps/celestia/data/deepsky.dsc
468 %defattr(644,root,root,755)
469 %{_datadir}/apps/celestia/data/stars.dat
471 %files textures-mercury-default
472 %defattr(644,root,root,755)
473 %{_datadir}/apps/celestia/textures/medres/mercury.jpg
474 %{_datadir}/apps/celestia/textures/medres/mercurybump.jpg
475 %{_datadir}/apps/celestia/data/solarsys/00-mercury
477 %files textures-venus-default
478 %defattr(644,root,root,755)
479 %{_datadir}/apps/celestia/textures/medres/venus.jpg
480 %{_datadir}/apps/celestia/textures/medres/venussurface.jpg
481 %{_datadir}/apps/celestia/data/solarsys/10-venus
483 %files textures-earth-default
484 %defattr(644,root,root,755)
485 %{_datadir}/apps/celestia/textures/medres/earth.png
486 %{_datadir}/apps/celestia/data/solarsys/20-earth
487 %{_datadir}/apps/celestia/data/solarsys/24-earth
488 %{_datadir}/apps/celestia/data/solarsys/28-earth
490 %files textures-earth-clouds-default
491 %defattr(644,root,root,755)
492 %{_datadir}/apps/celestia/textures/medres/earth-clouds.png
493 %{_datadir}/apps/celestia/data/solarsys/26-earth-clouds
495 %files textures-earth-night-default
496 %defattr(644,root,root,755)
497 %{_datadir}/apps/celestia/textures/medres/earthnight.jpg
498 %{_datadir}/apps/celestia/data/solarsys/22-earth-night
500 %files textures-moon-default
501 %defattr(644,root,root,755)
502 %{_datadir}/apps/celestia/textures/medres/moon.jpg
503 %{_datadir}/apps/celestia/textures/medres/moonbump1k.jpg
504 %{_datadir}/apps/celestia/data/solarsys/30-moon
506 %files textures-mars-default
507 %defattr(644,root,root,755)
508 %{_datadir}/apps/celestia/textures/medres/mars.jpg
509 %{_datadir}/apps/celestia/textures/medres/marsbump1k.jpg
510 %{_datadir}/apps/celestia/data/solarsys/40-mars
512 %files textures-jupiter-default
513 %defattr(644,root,root,755)
514 %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
515 %{_datadir}/apps/celestia/data/solarsys/50-jupiter
517 %files textures-galileanmoons-default
518 %defattr(644,root,root,755)
519 %{_datadir}/apps/celestia/textures/medres/callisto.jpg
520 %{_datadir}/apps/celestia/textures/medres/io.jpg
521 %{_datadir}/apps/celestia/textures/medres/europa.jpg
522 %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
523 %{_datadir}/apps/celestia/data/solarsys/55-jupiter-galilean-moons
525 %files textures-saturn-default
526 %defattr(644,root,root,755)
527 %{_datadir}/apps/celestia/textures/medres/saturn.jpg
528 %{_datadir}/apps/celestia/data/solarsys/60-saturn
530 %files textures-triton-default
531 %defattr(644,root,root,755)
532 %{_datadir}/apps/celestia/textures/medres/triton.jpg
533 %{_datadir}/apps/celestia/data/solarsys/82-neptune-triton
535 %files textures-pluto-default
536 %defattr(644,root,root,755)
537 %{_datadir}/apps/celestia/textures/medres/pluto.jpg
538 %{_datadir}/apps/celestia/textures/medres/plutobump1k.jpg
539 %{_datadir}/apps/celestia/data/solarsys/90-pluto