Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17510 | Посещений: 15355588
en ru br
Репозитории ALT
S:1.6.9.git-alt2
D:1.5.0-alt1
5.1: 1.6.0-alt4
4.1: 1.5.0-alt2
4.0: 1.4.1-alt5
+backports:1.4.1-alt5
3.0: 1.3.2-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:1.5.0

Группа :: Обучение
Пакет: celestia

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: celestia
Version: 1.5.0
Release: alt1
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.5.0-alt-fixes.patch
Patch2: celestia-1.4.0-desktop-fix.patch

# Automatically added by buildreq on Wed Jan 11 2006

BuildRequires: fontconfig freetype2 gcc-c++ kde-settings kdelibs-devel
BuildRequires: libarts-devel libjpeg-devel libpng-devel libqt3-devel
BuildRequires: libqt3-settings libstdc++-devel xml-utils xorg-x11-devel
BuildRequires: xorg-x11-mesagl zlib-devel

BuildRequires: libGConf2-devel GConf
Requires(post): GConf


%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
%patch1 -p1
%patch2 -p0
##%__aclocal --force
##%__automake --foreign
##%__autoconf
##%__subst 's,\.la,\.so,' configure


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

%install
%__mkdir_p  %buildroot{%_bindir,%_datadir,%_desktopdir,%_iconsdir}
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%buildroot
find %buildroot%_datadir -name %{name}.desktop -exec rm {} \;
%__install src/celestia/kde/data/%{name}.desktop %buildroot%_desktopdir
%__install src/celestia/gtk/data/%{name}.png %buildroot%_iconsdir
%find_lang %{name}
##(cd %buildroot/%_datadir/apps && symlinks -c .)

%pre
[ ! -d %_datadir/apps/%name ] || %__rm -fr %_datadir/apps/%name

%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/locale/*/*/celestia_constellations.mo
%_datadir/mimelnk/*
%_datadir/services/*
%_datadir/%{name}
%_iconsdir/%{name}.png
%_desktopdir/%{name}.desktop
## %%_menudir/*
## %_iconsdir/hicolor/*
## %_iconsdir/*/*/*/*.png
## %_defaultdocdir/HTML/en/*
%doc ChangeLog TODO TRANSLATORS README NEWS


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin