%define name xmds %define realversion 1.5-2 %define version %( echo %realversion | sed 's/-/_/g' ) %define release %mkrel 1 Summary: eXtensible multi-dimensional Simulator Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{realversion}.tar.bz2 Patch0: xmds-stupid-configure.patch.bz2 License:GPL Group:Sciences/Other Url: http://www.xmds.org/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: fftw2-devel Requires:fftw2-devel %description XMDS is a code generator that integrates equations. You write them down in human readable form in an XML file, and it goes away and writes and compiles a C++ program that integrates those equations as fast as it can possibly be done in your architecture. %prep %setup -q -n %name-%realversion %patch -p0 %build %configure %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog AUTHORS INSTALL NEWS README %doc examples %_bindir/* %_includedir/*.h %_libdir/*.a %_mandir/man?/* %changelog * Thu Aug 10 2006 Olivier Thauvin <nanardon@mandriva.org> + 08/10/06 10:44:04 (55344) - 1.5-2 * Thu Aug 10 2006 Olivier Thauvin <nanardon@mandriva.org> + 08/10/06 10:39:37 (55339) Import xmds * Sun Mar 05 2006 Olivier Thauvin <nanardon@mandriva.org> 1.5_1-1mdk - 1.5-1 * Fri Jan 21 2005 Sylvie Terjan <erinmargault@zarb.org> 1.3_5-1mdk - make spec file