5f659ed
Name:		accrete
5f659ed
Version:	1.0
5f659ed
Release:	2%{?dist}
5f659ed
Summary:	Accrete is a physical simulation of solar system planet formation
5f659ed
5f659ed
License:	Public Domain
5f659ed
Group:		Applications/Engineering
5f659ed
URL:		http://sourceforge.net/projects/accrete
5f659ed
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
5f659ed
Patch0:		accrete-1.0-savetofile.patch
5f659ed
5f659ed
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5f659ed
5f659ed
%description
5f659ed
Accrete is a physical simulation of solar system planet formation,
5f659ed
by modelling a dust cloud around a Sun-like star, injecting a series
5f659ed
of masses which collect dust, and form planets. The simulation then
5f659ed
determines what the planetary environments will be like in terms
5f659ed
of temperature, atmospheric composition, and other factors.
5f659ed
5f659ed
%prep
5f659ed
%setup -q -n %{name}-%{version}
5f659ed
%patch0 -p2 -b .filetosave
5f659ed
5f659ed
%build
5f659ed
make 'CFLAGS=%{optflags}' %{_smp_mflags}
5f659ed
5f659ed
%install
5f659ed
rm -rf $RPM_BUILD_ROOT
5f659ed
install -Dm 755 accrete $RPM_BUILD_ROOT%{_bindir}/accrete
5f659ed
5f659ed
%clean
5f659ed
rm -rf $RPM_BUILD_ROOT
5f659ed
5f659ed
%files
5f659ed
%defattr(-,root,root,-)
5f659ed
%doc README ChangeLog
5f659ed
%{_bindir}/accrete
5f659ed
5f659ed
%changelog
5f659ed
* Sat Nov 24 2007 Marek Mahut <mmahut@fedoraproject.org> - 1.0-2
5f659ed
- Initial build.