Name: nightfall Version: 1.62 Release: 2%{?dist} Summary: Nightfall is an astronomy application for emulation of eclipsing stars License: GPLv2+ Group: Applications/Engineering URL: http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html Source0: http://www.la-samhna.de/%{name}/%{name}-%{version}.tar.gz Source1: nightfall.desktop Patch0: nightfall-1.62-fixmakefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel, desktop-file-utils Requires: gnuplot %description Nightfall is an astronomy application for fun, education, and science. It can produce animated views of eclipsing binary stars, calculate synthetic lightcurves and radial velocity curves, and eventually determine the best-fit model for a given set of observational data of an eclipsing binary star system. It is, however, not able to fry your breakfast egg on your harddisk. %prep %setup -q %patch0 -p2 -b .makefile %build %configure --with-gnuplot --enable-gnome make %{_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install %find_lang %{name} desktop-file-install --vendor fedora --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %defattr(-,root,root) %doc UserManual.pdf UserManual.html README COPYING AUTHORS ChangeLog %attr(755,root,root) %{_bindir}/nightfall %attr(644,root,root) %{_mandir}/man1/nightfall.* %{_datadir}/nightfall/* %{_datadir}/applications/fedora-nightfall.desktop %changelog * Sun Nov 25 2007 Marek Mahut - 1.62-2 - Initial build.