]> git.pld-linux.org Git - packages/celestia.git/blobdiff - celestia.spec
- added celestia.desktop to Scientific/Astronomy applnk subdir
[packages/celestia.git] / celestia.spec
index 3289039272fdbe3c556fb0b4e353c2c1b6d71bcc..354bc94ebdbcb8303c3397a89ab1fab112b3aef8 100644 (file)
@@ -2,12 +2,11 @@ Summary:      A real-time visual space simulation
 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
@@ -54,12 +53,12 @@ Interfejs typu 'poka
 
 %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}
@@ -67,14 +66,15 @@ CXXFLAGS="-I%{_includedir} %{rpmcflags}"
 %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/*
This page took 0.260105 seconds and 4 git commands to generate.