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