Name: xstar Version: 2.2.0 Release: 1%{?dist} Summary: Program that simulates the movement of stars Group: Amusements/Graphics License: GPLv2+ URL: http://www.schlitt.net/xstar/ Source0: http://www.schlitt.net/xstar/%{name}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libX11-devel BuildRequires: imake BuildRequires: libXext-devel %description XStar is a Unix program that simulates the movement of stars. It starts by putting a bunch of stars on the screen, and then it lets the inter-body gravitational forces move the stars around. The result is a lot of neat wandering paths, as the stars interact and collide. Along with the program, there is a fairly large document that explains the N-Body problem in a fair amount of detail. It doesn't get into the gory details of the "real" N-body solvers, but it does give you an overview of the techniques they use. %prep %setup -q %build xmkmf make MANSRCSUFFIX=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install install.man MANSRCSUFFIX=1 DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/xstar %{_mandir}/man1/xstar.1* %doc n-body.ps COPYING README README.xgrav %changelog * Mon Dec 17 2007 Lubomir Kundrak 2.2.0-1 - Initial package