]> git.pld-linux.org Git - packages/celestia.git/blob - celestia.spec
- 1.4.0
[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.4.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://dl.sourceforge.net/celestia/%{name}-%{version}.tar.gz
9 # Source0-md5:  d4bd0029af87fdd9cb4a0828cf62a025
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-lua50.patch
12 Patch1:         %{name}-makefile.patch
13 Patch2:         %{name}-gcc4.patch
14 Patch3:         %{name}-extras.patch
15 URL:            http://www.shatters.net/celestia/
16 BuildRequires:  GConf2-devel
17 BuildRequires:  OpenGL-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  fam-devel
21 BuildRequires:  glut-devel
22 BuildRequires:  kdelibs-devel
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  libpng-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool
27 BuildRequires:  lua50-devel
28 BuildRequires:  pkgconfig
29 Requires:       OpenGL
30 Obsoletes:      celestia-textures-stars
31 Obsoletes:      celestia-asterisms
32 Obsoletes:      celestia-galaxies
33 Obsoletes:      celestia-textures-venus-default
34 Obsoletes:      celestia-textures-jupiter-default
35 Obsoletes:      celestia-textures-saturn-default
36 Obsoletes:      celestia-textures-triton-default
37 Obsoletes:      celestia-textures-pluto-default
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 %prep
65 %setup -q
66 %patch0 -p1
67 %patch1 -p1
68 %patch2 -p1
69 %patch3 -p1
70
71 %build
72 touch config.h.in
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__automake}
77
78 CPPFLAGS="-I/usr/X11R6/include -I/usr/include/lua50"
79 CXXFLAGS="%{rpmcflags} -fno-exceptions"
80
81 %configure \
82         --disable-rpath \
83         --with-kde \
84         --without-gtk \
85         --with-lua \
86         --with-xinerama \
87         --with-qt-dir=%{_libdir}
88
89 %{__make} ACLOCAL="%{__aclocal} -I macros"
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         kde_htmldir=%{_kdedocdir}
97
98 # desktop/icon
99 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
100 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
101 install src/celestia/gtk/data/celestia.png $RPM_BUILD_ROOT%{_pixmapsdir}
102
103 %find_lang %{name} --with-kde
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files -f %{name}.lang
109 %defattr(644,root,root,755)
110 %doc README AUTHORS TODO controls.txt ChangeLog manual/
111 %attr(755,root,root) %{_bindir}/*
112 %{_datadir}/celestia
113 %{_desktopdir}/*
114 %{_pixmapsdir}/*
115 %{_datadir}/apps/celestia
116 %{_datadir}/config/*
117 %{_datadir}/mimelnk/application/*
118 %{_datadir}/services/*
119 %exclude %{_datadir}/celestia/manual
This page took 0.038623 seconds and 4 git commands to generate.