]> git.pld-linux.org Git - packages/celestia.git/blob - celestia.spec
- 1.2.4
[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.2.4
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://prdownloads.sourceforge.net/celestia/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Patch0:         %{name}-moon_eclipse.patch
11 URL:            http://www.shatters.net/celestia/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  glut-devel
16 BuildRequires:  gnome-libs-devel
17 BuildRequires:  gtk+-devel
18 BuildRequires:  gtkglarea-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libstdc++-devel
22 Requires:       OpenGL
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _noautoreqdep   libGL.so.1 libGLU.so.1 libGLcore.so.1
26
27 %define         _prefix         /usr/X11R6
28 %define         _mandir         %{_prefix}/man
29
30 %description
31 Celestia is a free real-time space simulation that lets you experience
32 our universe in three dimensions. Unlike most planetarium software,
33 Celestia doesn't confine you to the surface of the Earth. You can
34 travel throughout the solar system, to any of over 100,000 stars, or
35 even beyond the galaxy. All travel in Celestia is seamless; the
36 exponential zoom feature lets you explore space across a huge range of
37 scales, from galaxy clusters down to spacecraft only a few meters
38 across. A 'point-and-goto' interface makes it simple to navigate
39 through the universe to the object you want to visit.
40
41 %description -l pl
42 Celestia to wolny symulator przestrzeni komicznej w czasie
43 rzeczywistym, który pozwala do¶wiadczaæ naszego Wszech¶wiata w trzech
44 wymiarach. W odró¿nieniu od innych programów planetarnych Celestia nie
45 przywi±zuje Ciê do powierzchni ziemi. Mo¿esz podró¿owaæ przez Uk³ad
46 S³oneczny do ponad 100,000 gwiazd lub nawet poza galaktykê. Wszystkie
47 podró¿e w Celestii s± niezauwa¿alne; funkcja wyk³adniczego
48 przybli¿enia pozwala Ci odkrywaæ Kosmos w ró¿nych skalach - od
49 spojrzenia na galaktyki do widoku kilkumetrowych statków kosmicznych.
50 Interfejs typu 'poka¿-i-leæ' czyni nawigacjê przez Wszech¶wiat prost±.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 rm -f missing
58 %{__aclocal} -I macros
59 %{__autoconf}
60 automake -a -f
61 CFLAGS="-I%{_includedir} %{rpmcflags}"
62 CPPFLAGS="-I%{_includedir} %{rpmcflags}"
63 CXXFLAGS="-I%{_includedir} %{rpmcflags} -fno-rtti -fno-exceptions"
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 %{__make} -e DESTDIR=$RPM_BUILD_ROOT install
70 install -d $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy/%{name}.desktop
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc README AUTHORS TODO controls.txt
79 %attr(755,root,root) %{_bindir}/*
80 %{_datadir}/*
81 %{_applnkdir}/Scientific/Astronomy/*
This page took 0.102114 seconds and 4 git commands to generate.