Name: tuxmeteor Version: 0.4 Release: 1%{?dist} Summary: Tux Meteor is a meteor counting program Group: Applications/Productivity License: GPLv2 URL: http://www.shallowsky.com/software/tuxmeteor.html Source0: http://www.shallowsky.com/software/tuxmeteor/tuxmeteor-0.4.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libX11-devel %description Tux Meteor is a meteor counting program. The idea is, while you're lounging on a lawn chair watching the show with a nice warm blanket over you, you put your laptop in your lap (thus helping to warm your lap, under the blanket so the bright CRT doesn't destroy everyone's night vision) and click mouse buttons or keys on the keyboard every time you see a meteor. These events all get logged to a file, so you can take the data later and make a graph of meteor frequency vs. time, or whatever. %prep %setup -q %build cc %{optflags} -DVERSION='"%{version}"' -c -o tuxmeteor.o tuxmeteor.c cc %{optflags} -o tuxmeteor tuxmeteor.o -lX11 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} install -p -m 0755 tuxmeteor $RPM_BUILD_ROOT%{_bindir}/tuxmeteor install -p -m 0755 meteor2plot.py $RPM_BUILD_ROOT%{_bindir}/meteor2plot %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README tuxmeteor.html plot %{_bindir}/tuxmeteor %{_bindir}/meteor2plot %changelog * Wed Dec 31 2008 - 0.4-1 - Initial build.