Author: mmahut Update of /cvs/pkgs/rpms/xstar/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12932/devel Modified Files: .cvsignore sources Added Files: xstar.conf xstar.spec xstar.xml Log Message: Initial import --- NEW FILE xstar.conf --- xstar -r --- NEW FILE xstar.spec --- Name: xstar Version: 2.2.0 Release: 2%{?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 Source10: %{name}.conf Source11: %{name}.xml 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. %package xscreensaver Summary: XScreenSaver support for %{name} Group: Amusements/Graphics Requires: %{name} = %{version}-%{release} Requires(post): xscreensaver-base Requires(postun): xscreensaver-base %description xscreensaver This package contains the files needed to use %{name} with XScreenSaver. %prep %setup -q %build xmkmf make MANSRCSUFFIX=1 CC="%{__cc} $RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install install.man MANSRCSUFFIX=1 DESTDIR=$RPM_BUILD_ROOT # XScreenSaver related mkdir -p $RPM_BUILD_ROOT%{_datadir}/xscreensaver/hacks.conf.d mkdir -p $RPM_BUILD_ROOT%{_datadir}/xscreensaver/config install -c -p -m 644 %{SOURCE10} \ $RPM_BUILD_ROOT%{_datadir}/xscreensaver/hacks.conf.d/ install -c -p -m 644 %{SOURCE11} \ $RPM_BUILD_ROOT%{_datadir}/xscreensaver/config/ %clean rm -rf $RPM_BUILD_ROOT %post xscreensaver if [ -x %{_sbindir}/update-xscreensaver-hacks ] ; then %{_sbindir}/update-xscreensaver-hacks || : fi %postun xscreensaver if [ -x %{_sbindir}/update-xscreensaver-hacks ] ; then %{_sbindir}/update-xscreensaver-hacks || : fi %files %defattr(-,root,root,-) %{_bindir}/xstar %{_mandir}/man1/xstar.1* %doc n-body.ps COPYING README README.xgrav %files xscreensaver %defattr(-,root,root,-) %{_datadir}/xscreensaver/config/%{name}.xml %{_datadir}/xscreensaver/hacks.conf.d/%{name}.conf %changelog * Mon Dec 17 2007 Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx> 2.2.0-2 - Support XScreenSaver - Honor Fedora specific compilaton flags * Mon Dec 17 2007 Lubomir Kundrak <lkundrak@xxxxxxxxxx> 2.2.0-1 - Initial package --- NEW FILE xstar.xml --- <?xml version="1.0" encoding="ISO-8859-1"?> <screensaver name="xstar" _label="Xstar"> <command arg="-r"/> <number id="stars" type="spinbutton" arg="-b %" _label="Number of stars" low="2" high="249" default="15"/> <number id="delay" type="spinbutton" arg="-D %" _label="Delay" low="0" high="500" default="0"/> <number id="trails" type="spinbutton" arg="-T %" _label="Trails" low="512" high="24575" default="16384"/> <number id="accuracy" type="slider" arg="-a %" _label="Accurary" _low-label="Low" _high-label="High" low="0.1" high="20" default="1."/> <number id="dist" type="slider" arg="-l %" _label="Collide dist" _low-label="Small" _high-label="Large" low="0.1" high="20" default="1."/> <number id="buffer" type="slider" arg="-B %" _label="Buffering" _low-label="Low" _high-label="High" low="0.1" high="20" default="1."/> <boolean id="crotate" _label="Color Rotation" arg-set="-R"/> <boolean id="cassign" _label="Color Assignment" arg-set="-M"/> <select id="method"> <option id="taylor3" _label="Taylor" arg-set="-m taylor3"/> <option id="rk4" _label="Runge-Kutta" arg-set="-m rk4"/> <option id="gpemce8" _label="Gragg" arg-set="-m gpemce8"/> <option id="ab7" _label="Adam-Bashford" /> <option id="am4" _label="Adam-Moulton" arg-set="-m am4"/> </select> <_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. </_description> </screensaver> Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/xstar/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 17 Dec 2007 17:23:25 -0000 1.1 +++ .cvsignore 17 Dec 2007 19:59:14 -0000 1.2 @@ -0,0 +1 @@ +xstar.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/xstar/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 17 Dec 2007 17:23:25 -0000 1.1 +++ sources 17 Dec 2007 19:59:14 -0000 1.2 @@ -0,0 +1 @@ +ca347de5e1e7fd8f44a6e0003992f6ef xstar.tar.gz