Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37558928
en ru br
ALT Linux repos
S:1.6.2.2-alt3
D:1.5.0-alt1
4.1: 1.5.0-alt2
4.0: 1.4.1-alt5
+backports:1.4.1-alt5
3.0: 1.3.2-alt2

Other repositories
Upstream:1.5.0

Group :: Education
RPM: celestia

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: celestia
Version: 1.3.2
Release: alt2
License: GPL
Group: Education
Summary: A real-time visual space simulation
URL: http://www.shatters.net/celestia/
Source: %{name}-%{version}.tar.gz
Patch1: celestia-1.3.2_gcc-3.4.patch


# Automatically added by buildreq on Tue Jan 18 2005

BuildRequires: boson fontconfig freetype2 gcc-c++ gcc-java hostinfo kde-i18n-ru kde-settings kdelibs-devel libarts-devel libgcj-devel libjpeg-devel libpng-devel libqt3-devel libqt3-settings libstdc++-devel qt3-designer xml-utils xorg-x11-devel xorg-x11-libs xorg-x11-mesaGL zlib-devel

%description
Celestia is a free real-time space simulation that
lets you experienceour universe in three dimensions.
Unlike most planetarium software, Celestia does not
confine you to the surface of the Earth. You can
travelthroughout the solar system, to any of over
100,000 stars, or even beyondthe galaxy.

%prep
%setup -q
%__subst 's,\.la,\.so,' configure
%patch1 -p0 -R


%build
%configure --disable-rpath --with-kde --with-glut=no --with-gtk=no
make

%install
%__mkdir_p  %buildroot{%_bindir,%_datadir,%_menudir}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
export GCONF_SCHEMA_FILE_DIR="%{buildroot}%{_sysconfdir}/gconf/schemas"
make install DESTDIR=%buildroot
## По непонятной (пока?) причине, файлы дублируются в каталоге %buildroot%buildroot
%__rm -f %buildroot%buidlroot
%find_lang %{name}


# Menu                                                                          

%__cat << EOF > %buildroot%_menudir/%name
?package(celestia): needs="X11" section="Applications/Edutainment" title="Celestia" longtitle="Visual space simulation" command="/usr/bin/celestia" icon="celestia.png"
EOF


%post
%update_menus
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/celestia.schemas &>/dev/null || :

%preun
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/celestia.schemas &>/dev/null || :

%postun
%clean_menus

%files -f %{name}.lang
%_bindir/*
%_datadir/apps/*
%_datadir/applnk/*
%_datadir/config/*
## %_datadir/locale/*
%_datadir/mimelnk/*
%_datadir/services/*
%_menudir/*
# %_iconsdir/hicolor/*
%_iconsdir/*/*/*/*.png
%_defaultdocdir/HTML/en/*
%doc ChangeLog TODO TRANSLATORS README NEWS


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin