Summary(pl): Symulacja przestrzeni kosmicznej w czasie rzeczywistym
Name: celestia
Version: 1.1.4
-Release: 2
+Release: 3
License: GPL
-Group: X11/Applications/Games
-Group(de): X11/Applikationen/Spiele
-Group(pl): X11/Aplikacje/Gry
+Group: X11/Applications/Science
Source0: http://prdownloads.sourceforge.net/celestia/%{name}-%{version}.tar.gz
+Source1: %{name}.desktop
URL: http://www.shatters.net/celestia/
BuildRequires: OpenGL-devel
BuildRequires: autoconf
%build
rm -f missing
-aclocal -I macros
-autoconf
+%{__aclocal} -I macros
+%{__autoconf}
automake -a -f
CFLAGS="-I%{_includedir} %{rpmcflags}"
CPPFLAGS="-I%{_includedir} %{rpmcflags}"
-CXXFLAGS="-I%{_includedir} %{rpmcflags}"
+CXXFLAGS="-I%{_includedir} %{rpmcflags} -fno-rtti -fno-exceptions"
%configure \
--enable-gtk
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} -e DESTDIR=$RPM_BUILD_ROOT install
-
-gzip -9nf README AUTHORS TODO controls.txt
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Astronomy/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README AUTHORS TODO controls.txt
%attr(755,root,root) %{_bindir}/*
%{_datadir}/*
+%{_applnkdir}/Scientific/Astronomy/*