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