%define name spar %define version 0.5.10 %define release 1 %define prefix /usr/local Summary: A C/C++ maths applications framework Name: %{name} Version: %{version} Release: %{release} Group: Applications/Scientific Packager: Davide Angelocola davide178@inwind.it Distribution: N/A copyright: Copyright (C) 2000, 2001 Davide Angelocola Url: http://spar.sourceforge.net Source: spar-%{version}.tar.gz BuildRoot: /var/tmp/spar-root Docdir: %{prefix}/doc %description Spar is a maths application framework. It allows users to easily develop small and dynamic math based applications by providing an interface to C/C++ compilers and a comprehensive math library. This package include also: a console calculator with the related man page, some poly modules, and, the library itself, of course. You can find addictional tutorial, documentation at the project website: http://spar.sourceforge.net. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} make %install make prefix=$RPM_BUILD_ROOT%{prefix} install && ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %doc NEWS ChangeLog README AUTHORS FAQ INSTALL COPYING BUG-REPORT TODO HISTORY THANKS %{prefix}/bin/spar %{prefix}/lib %{prefix}/include/spar %{prefix}/share/spar