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