]> git.pld-linux.org Git - packages/celestia.git/blob - celestia.spec
- NFY
[packages/celestia.git] / celestia.spec
1 Summary:        A real-time visual space simulation
2 Summary(pl):    Symulacja przestrzeni kosmicznej w czasie rzeczywistym
3 Name:           celestia
4 Version:        1.3.0
5 Release:        0.1
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://dl.sourceforge.net/celestia/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 URL:            http://www.shatters.net/celestia/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  fam-devel
14 BuildRequires:  glut-devel
15 BuildRequires:  kdelibs-devel
16 BuildRequires:  libjpeg-devel
17 BuildRequires:  libpng-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRequires:  OpenGL-devel
21 Requires:       OpenGL
22 Requires:       %{name}-extrasolar
23 Requires:       %{name}-deepsky
24 Requires:       %{name}-stars
25 Requires:       %{name}-textures-mercury
26 Requires:       %{name}-textures-earth
27 Requires:       %{name}-textures-earth-clouds
28 Requires:       %{name}-textures-earth-night
29 Requires:       %{name}-textures-moon
30 Requires:       %{name}-textures-mars
31 Requires:       %{name}-textures-jupiter
32 Requires:       %{name}-textures-galileanmoons
33 Requires:       %{name}-textures-saturn
34 Requires:       %{name}-textures-triton
35 Requires:       %{name}-textures-pluto
36 Obsoletes:      %{name}-textures-stars
37 Obsoletes:      %{name}-asterisms
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %define         _noautoreqdep   libGL.so.1 libGLU.so.1 libGLcore.so.1
41
42 %description
43 Celestia is a free real-time space simulation that lets you experience
44 our universe in three dimensions. Unlike most planetarium software,
45 Celestia doesn't confine you to the surface of the Earth. You can
46 travel throughout the solar system, to any of over 100,000 stars, or
47 even beyond the galaxy. All travel in Celestia is seamless; the
48 exponential zoom feature lets you explore space across a huge range of
49 scales, from galaxy clusters down to spacecraft only a few meters
50 across. A 'point-and-goto' interface makes it simple to navigate
51 through the universe to the object you want to visit.
52
53 %description -l pl
54 Celestia to wolny symulator przestrzeni komicznej w czasie
55 rzeczywistym, który pozwala do¶wiadczaæ naszego Wszech¶wiata w trzech
56 wymiarach. W odró¿nieniu od innych programów planetarnych Celestia nie
57 przywi±zuje Ciê do powierzchni ziemi. Mo¿esz podró¿owaæ przez Uk³ad
58 S³oneczny do ponad 100,000 gwiazd lub nawet poza galaktykê. Wszystkie
59 podró¿e w Celestii s± niezauwa¿alne; funkcja wyk³adniczego
60 przybli¿enia pozwala Ci odkrywaæ Kosmos w ró¿nych skalach - od
61 spojrzenia na galaktyki do widoku kilkumetrowych statków kosmicznych.
62 Interfejs typu 'poka¿-i-leæ' czyni nawigacjê przez Wszech¶wiat prost±.
63
64 %package task-default
65 Summary:        Default packages for celestia
66 Summary(pl):    Domy¶lne pakiety dla celestii
67 Group:          X11/Applications/Science
68 Requires:       %{name}-extrasolar-default
69 Requires:       %{name}-deepsky-default
70 Requires:       %{name}-stars-default
71 Requires:       %{name}-textures-mercury-default
72 Requires:       %{name}-textures-earth-default
73 Requires:       %{name}-textures-earth-clouds-default
74 Requires:       %{name}-textures-earth-night-default
75 Requires:       %{name}-textures-moon-default
76 Requires:       %{name}-textures-mars-default
77 Requires:       %{name}-textures-jupiter-default
78 Requires:       %{name}-textures-galileanmoons-default
79 Requires:       %{name}-textures-saturn-default
80 Requires:       %{name}-textures-triton-default
81 Requires:       %{name}-textures-pluto-default
82
83 %description task-default
84 Default packages for celestia. This metapackage contains no files
85 and can be safely uninstalled after installation.
86
87 %description task-default -l pl
88 Domy¶lne pakiety dla celestii. Ten metapakiet nie zawiera ¿adnych
89 plików i mo¿e zostaæ usuniêty po instalacji.
90
91 %package extrasolar-default
92 Summary:        Catalog of known extrasolar planetary systems
93 Summary(pl):    Katalog znanych uk³adów planetarnych
94 Group:          X11/Applications/Science
95 Requires:       %{name}
96 Provides:       %{name}-extrasolar
97 Obsoletes:      %{name}-extrasolar
98
99 %description extrasolar-default
100 Catalog of known extrasolar planetary systems.
101
102 %description extrasolar-default -l pl
103 Katalog znanych uk³adów planetarnych.
104
105 %package deepsky-default
106 Summary:        Galaxy catalog (8 galaxies)
107 Summary(pl):    Katalog o¶miu galaktyk
108 Group:          X11/Applications/Science
109 Requires:       %{name}
110 Provides:       %{name}-deepsky
111 Obsoletes:      %{name}-deepsky
112 Obsoletes:      %{name}-galaxies
113
114 %description deepsky-default
115 Galaxy catalog (8 galaxies).
116
117 %description deepsky-default -l pl
118 Katalog o¶miu galaktyk.
119
120 %package stars-default
121 Summary:        Database with 100 000 stars
122 Summary(pl):    Baza danych 100 000 gwiazd
123 Group:          X11/Applications/Science
124 Requires:       %{name}
125 Provides:       %{name}-stars
126 Obsoletes:      %{name}-stars
127
128 %description stars-default
129 Initial Stars database (with about 100 000 Hipparcos stars).
130
131 %description stars-default -l pl
132 Podstawowa baza danych gwiazd (z oko³o 100 000 gwiazd zbadanych
133 przez sondê kosmiczn± Hipparcos).
134
135 %package textures-mercury-default
136 Summary:        1k Mercury textures
137 Summary(pl):    Tekstury Merkurego o wielko¶ci 1024 x 512
138 Group:          X11/Applications/Science
139 Prereq:         %{name}
140 Provides:       %{name}-textures-mercury
141 Obsoletes:      %{name}-textures-mercury
142
143 %description textures-mercury-default
144 1k Mercury textures.
145
146 %description textures-mercury-default -l pl
147 Tekstury Merkurego o wielko¶ci 1024 x 512.
148
149 %package textures-earth-default
150 Summary:        2k Earth textures
151 Summary(pl):    Tekstury Ziemi o wielko¶ci 2048 x 1024
152 Group:          X11/Applications/Science
153 Prereq:         %{name}
154 Provides:       %{name}-textures-earth
155 Obsoletes:      %{name}-textures-earth
156
157 %description textures-earth-default
158 2k Earth textures.
159
160 %description textures-earth-default -l pl
161 Tekstury Ziemi o wielko¶ci 2048 x 1024.
162
163 %package textures-earth-clouds-default
164 Summary:        1k Earth cloud textures
165 Summary(pl):    Tekstury ziemskich chmur o wielko¶ci 1024 x 512
166 Group:          X11/Applications/Science
167 Prereq:         %{name}
168 Provides:       %{name}-textures-earth-clouds
169 Obsoletes:      %{name}-textures-earth-clouds
170
171 %description textures-earth-clouds-default
172 1k Earth clouds textures.
173
174 %description textures-earth-clouds-default -l pl
175 Tekstury ziemskich chmur o wielko¶ci 1024 x 512.
176
177 %package textures-earth-night-default
178 Summary:        1k Earth night textures
179 Summary(pl):    Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512
180 Group:          X11/Applications/Science
181 Prereq:         %{name}
182 Provides:       %{name}-textures-earth-night
183 Obsoletes:      %{name}-textures-earth-night
184
185 %description textures-earth-night-default
186 1k Earth night textures.
187
188 %description textures-earth-night-default -l pl
189 Tekstury nocnych ¶wiate³ miast o wielko¶ci 1024 x 512.
190
191 %package textures-moon-default
192 Summary:        1k Moon textures
193 Summary(pl):    Tekstury Ksiê¿yca o wielko¶ci 1024 x 512
194 Group:          X11/Applications/Science
195 Prereq:         %{name}
196 Provides:       %{name}-textures-moon
197 Obsoletes:      %{name}-textures-moon
198
199 %description textures-moon-default
200 1k Moon textures.
201
202 %description textures-moon-default -l pl
203 Tekstury Ksiê¿yca o wielko¶ci 1024 x 512.
204
205 %package textures-mars-default
206 Summary:        1k Mars textures
207 Summary(pl):    Tekstury Marsa o wielko¶ci 1024 x 512
208 Group:          X11/Applications/Science
209 Prereq:         %{name}
210 Provides:       %{name}-textures-mars
211 Obsoletes:      %{name}-textures-mars
212
213 %description textures-mars-default
214 1k Mars textures.
215
216 %description textures-mars-default -l pl
217 Tekstury Marsa o wielko¶ci 1024 x 512.
218
219 %package textures-jupiter-default
220 Summary:        1k Jupiter textures
221 Summary(pl):    Tekstury Jowisza o wielko¶ci 1024 x 512
222 Group:          X11/Applications/Science
223 Prereq:         %{name}
224 Provides:       %{name}-textures-jupiter
225 Obsoletes:      %{name}-textures-jupiter
226
227 %description textures-jupiter-default
228 1k Jupiter textures.
229
230 %description textures-jupiter-default -l pl
231 Tekstury Jowisza o wielko¶ci 1024 x 512.
232
233 %package textures-galileanmoons-default
234 Summary:        1k galilean moons textures
235 Summary(pl):    Tekstury ksiê¿yców odkrytych przez Galileusza o wielko¶ci 1024 x 512
236 Group:          X11/Applications/Science
237 Prereq:         %{name}
238 Provides:       %{name}-textures-galileanmoons
239 Obsoletes:      %{name}-textures-galileanmoons
240
241 %description textures-galileanmoons-default
242 1k galilean moons (Io, Europa, Ganymede, Calypso) textures.
243
244 %description textures-galileanmoons-default -l pl
245 Tekstury ksiê¿yców Jowisza odkrytych przez Galileusza (Io,
246 Europa, Ganimedes, Calypso) o wielko¶ci 1024 x 512.
247
248 %package textures-saturn-default
249 Summary:        256 Saturn textures
250 Summary(pl):    Tekstury Saturna o wielko¶ci 256 x 128
251 Group:          X11/Applications/Science
252 Prereq:         %{name}
253 Provides:       %{name}-textures-saturn
254 Obsoletes:      %{name}-textures-saturn
255
256 %description textures-saturn-default
257 256 Saturn textures.
258
259 %description textures-saturn-default -l pl
260 Tekstury Jowisza o wielko¶ci 256 x 128.
261
262 %package textures-triton-default
263 Summary:        512 Triton textures
264 Summary(pl):    Tekstury Trytona o wielko¶ci 512 x 256
265 Group:          X11/Applications/Science
266 Prereq:         %{name}
267 Provides:       %{name}-textures-triton
268 Obsoletes:      %{name}-textures-triton
269
270 %description textures-triton-default
271 512 Triton textures.
272
273 %description textures-triton-default -l pl
274 Tekstury najwiêkszego ksiê¿yca Neptuna, Trytona
275 o wielko¶ci 512 x 256.
276
277 %package textures-pluto-default
278 Summary:        1k Pluto textures
279 Summary(pl):    Tekstury Plutona o wielko¶ci 1024 x 512
280 Group:          X11/Applications/Science
281 Prereq:         %{name}
282 Provides:       %{name}-textures-pluto
283 Obsoletes:      %{name}-textures-pluto
284
285 %description textures-pluto-default
286 1k Pluto textures.
287
288 %description textures-pluto-default -l pl
289 Tekstury Plutona o wielko¶ci 1024 x 512.
290
291 %prep
292 %setup -q
293
294 echo "You can remove this package safely." > PLACEHOLDER-TASK-DEFAULT
295
296 %build
297 rm -f missing
298 %{__libtoolize}
299 %{__aclocal} -I macros
300 %{__autoconf}
301 %{__automake}
302 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
303 %configure \
304         --disable-rpath \
305         --with-kde \
306         --without-gtk \
307         --without-lua \
308         --with-xinerama
309 %{__make}
310
311 %install
312 rm -rf $RPM_BUILD_ROOT
313 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Scientific/Astronomy}
314
315 %{__make} install \
316         DESTDIR=$RPM_BUILD_ROOT
317
318 # desktop/icon
319 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy/%{name}.desktop
320 cp src/celestia/kde/data/hi48-app-celestia.png $RPM_BUILD_ROOT%{_pixmapsdir}/celestia.png
321
322 # solarsys.ssc generator
323 mkdir $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
324 cat > $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/solarsys-gen << EOF
325 #!/bin/sh
326 cd %{_datadir}/apps/%{name}/data
327 LANG=C cat solarsys/* > solarsys.ssc
328 EOF
329
330 %clean
331 rm -rf $RPM_BUILD_ROOT
332
333 %files
334 %defattr(644,root,root,755)
335 %doc README AUTHORS TODO controls.txt ChangeLog
336 %doc %{_datadir}/apps/celestia/manual
337 %attr(755,root,root) %{_bindir}/*
338 %attr(755,root,root) %{_datadir}/apps/celestia/solarsys-gen
339 %dir %{_datadir}/apps/celestia
340 %dir %{_datadir}/apps/celestia/data
341 %{_datadir}/apps/celestia/data/asterisms.dat
342 %{_datadir}/apps/celestia/data/boundaries.dat
343 %{_datadir}/apps/celestia/data/galileo.xyz
344 %verify(not md5 size mtime) %{_datadir}/apps/celestia/data/solarsys.ssc
345 %{_datadir}/apps/celestia/data/hdnames.dat
346 %{_datadir}/apps/celestia/data/starnames.dat
347 %{_datadir}/apps/celestia/extras
348 %{_datadir}/apps/celestia/favicons
349 %{_datadir}/apps/celestia/fonts
350 %{_datadir}/apps/celestia/models
351 %{_datadir}/apps/celestia/shaders
352 %dir %{_datadir}/apps/celestia/textures
353 %{_datadir}/apps/celestia/textures/lores
354 %{_datadir}/apps/celestia/textures/medres
355 %exclude %{_datadir}/apps/celestia/textures/medres/callisto.jpg
356 %exclude %{_datadir}/apps/celestia/textures/medres/earth*
357 %exclude %{_datadir}/apps/celestia/textures/medres/europa.jpg
358 %exclude %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
359 %exclude %{_datadir}/apps/celestia/textures/medres/io.jpg
360 %exclude %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
361 %exclude %{_datadir}/apps/celestia/textures/medres/mars*
362 %exclude %{_datadir}/apps/celestia/textures/medres/mercury*
363 %exclude %{_datadir}/apps/celestia/textures/medres/moon*
364 %exclude %{_datadir}/apps/celestia/textures/medres/pluto*
365 %exclude %{_datadir}/apps/celestia/textures/medres/saturn*
366 %exclude %{_datadir}/apps/celestia/textures/medres/triton*
367 %exclude %{_datadir}/apps/celestia/textures/medres/venus.jpg
368 %exclude %{_datadir}/apps/celestia/textures/medres/venussurface.jpg
369 %{_datadir}/apps/celestia/textures/flare.jpg
370 %{_datadir}/apps/celestia/textures/logo.png
371 %{_datadir}/apps/celestia/bookmarks.xml
372 %{_datadir}/apps/celestia/celestia.cfg
373 %{_datadir}/apps/celestia/celestiaui.rc
374 %{_datadir}/apps/celestia/controls.txt
375 %{_datadir}/apps/celestia/*.cel
376
377 %{_applnkdir}/Scientific/Astronomy/*
378 %{_pixmapsdir}/*
379 %{_datadir}/config
380 %{_datadir}/doc/HTML/en/%{name}
381 %{_datadir}/mimelnk/application/*
382 %{_datadir}/services/*
383
384 %files task-default
385 %defattr(644,root,root,755)
386 %doc PLACEHOLDER-TASK-DEFAULT
387
388 %files extrasolar-default
389 %defattr(644,root,root,755)
390 %{_datadir}/apps/celestia/data/extrasolar.ssc
391
392 %files deepsky-default
393 %defattr(644,root,root,755)
394 %{_datadir}/apps/celestia/data/deepsky.dsc
395
396 %files stars-default
397 %defattr(644,root,root,755)
398 %{_datadir}/apps/celestia/data/stars.dat
399
400 %files textures-mercury-default
401 %defattr(644,root,root,755)
402 %{_datadir}/apps/celestia/textures/medres/mercury.jpg
403 %{_datadir}/apps/celestia/textures/medres/mercurybump.jpg
404
405 %files textures-earth-default
406 %defattr(644,root,root,755)
407 %{_datadir}/apps/celestia/textures/medres/earth.png
408
409 %files textures-earth-clouds-default
410 %defattr(644,root,root,755)
411 %{_datadir}/apps/celestia/textures/medres/earth-clouds.png
412
413 %files textures-earth-night-default
414 %defattr(644,root,root,755)
415 %{_datadir}/apps/celestia/textures/medres/earthnight.jpg
416
417 %files textures-moon-default
418 %defattr(644,root,root,755)
419 %{_datadir}/apps/celestia/textures/medres/moon.jpg
420 %{_datadir}/apps/celestia/textures/medres/moonbump1k.jpg
421
422 %files textures-mars-default
423 %defattr(644,root,root,755)
424 %{_datadir}/apps/celestia/textures/medres/mars.jpg
425 %{_datadir}/apps/celestia/textures/medres/marsbump1k.jpg
426
427 %files textures-jupiter-default
428 %defattr(644,root,root,755)
429 %{_datadir}/apps/celestia/textures/medres/jupiter.jpg
430
431 %files textures-galileanmoons-default
432 %defattr(644,root,root,755)
433 %{_datadir}/apps/celestia/textures/medres/callisto.jpg
434 %{_datadir}/apps/celestia/textures/medres/io.jpg
435 %{_datadir}/apps/celestia/textures/medres/europa.jpg
436 %{_datadir}/apps/celestia/textures/medres/ganymede.jpg
437
438 %files textures-saturn-default
439 %defattr(644,root,root,755)
440 %{_datadir}/apps/celestia/textures/medres/saturn.jpg
441
442 %files textures-triton-default
443 %defattr(644,root,root,755)
444 %{_datadir}/apps/celestia/textures/medres/triton.jpg
445
446 %files textures-pluto-default
447 %defattr(644,root,root,755)
448 %{_datadir}/apps/celestia/textures/medres/pluto.jpg
449 %{_datadir}/apps/celestia/textures/medres/plutobump1k.jpg
This page took 0.430868 seconds and 4 git commands to generate.