/[packages]/cauldron/celestia/current/SPECS/celestia.spec
ViewVC logotype

Contents of /cauldron/celestia/current/SPECS/celestia.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 339809 - (show annotations) (download)
Sun Jan 6 03:57:07 2013 UTC (11 years, 2 months ago) by fwang
File size: 2486 byte(s)
disable schema install
1 Summary: A real-time visual space simulation
2 Name: celestia
3 Version: 1.6.1
4 Release: %mkrel 4
5 License: GPLv2+
6 Group: Sciences/Astronomy
7 Source0: http://prdownloads.sourceforge.net/celestia/%{name}-%{version}.tar.gz
8 Source1: %{name}-16.png
9 Source2: %{name}-32.png
10 Source3: %{name}-48.png
11 Patch0: celestia-1.6.1-gcc46.patch
12 Patch1: celestia-1.6.0-cfg.patch
13 Patch2: celestia-1.6.1-zlib.patch
14 Patch3: celestia-1.6.1-link.patch
15 Patch4: celestia-1.6.1-gcc47.patch
16 Patch5: celestia-1.6.1-am-1.13.patch
17 URL: http://www.shatters.net/celestia/
18
19 BuildRequires: mesaglu-devel
20 BuildRequires: cairo-devel
21 BuildRequires: gettext-devel
22 BuildRequires: libtheora-devel
23 BuildRequires: gtk2-devel gtkglext-devel
24 BuildRequires: jpeg-devel
25 BuildRequires: png-devel
26 BuildRequires: lua5.1-devel
27 BuildRequires: desktop-file-utils
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 %prep
41 %setup -q
42 %patch0 -p0 -b .gcc
43 %patch1 -p0 -b .cfg
44 %patch2 -p0 -b .zlib
45 %patch3 -p0 -b .link
46 %patch4 -p1 -b .gcc47
47 %patch5 -p1 -b .am
48
49 %build
50 autoreconf -fi
51 %configure2_5x --with-gtk \
52 --disable-schemas-install \
53 --disable-rpath \
54 --enable-cairo \
55 --enable-theora \
56 --with-lua
57 %make
58
59 %install
60 %makeinstall_std
61
62 desktop-file-install --vendor='' \
63 --dir %buildroot%_datadir/applications \
64 --remove-category='Application' \
65 --add-category='GTK;Education' \
66 --remove-key='Version' \
67 %buildroot%_datadir/applications/*.desktop
68
69 install -D -m 644 %{SOURCE1} %{buildroot}%{_miconsdir}/%{name}.png
70 install -D -m 644 %{SOURCE2} %{buildroot}%{_iconsdir}/%{name}.png
71 install -D -m 644 %{SOURCE3} %{buildroot}%{_liconsdir}/%{name}.png
72
73 %find_lang %name %name celestia_constellations
74
75 %files -f %name.lang
76 %doc AUTHORS ChangeLog COPYING INSTALL README
77 %attr(755,root,root) %{_bindir}/*
78 %{_datadir}/applications/%{name}.desktop
79 %{_datadir}/pixmaps/%{name}.png
80 %{_datadir}/%{name}
81 %{_iconsdir}/%{name}.png
82 %{_miconsdir}/%{name}.png
83 %{_liconsdir}/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.30