# # rpm spec for hugs98 # Summary: Haskell interpreter Name: hugs98 Version: Nov2003 Release: 1%{?redhatvers:.%{redhatvers}} Group: Development/Languages License: BSDish Packager: Paul Heinlein URL: http://www.haskell.org/hugs Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: ncurses-devel, readline-devel Requires: ncurses, readline %description Hugs 98 is an interpreter for Haskell, a lazy functional programming language. %changelog * Thu Aug 19 2004 Paul Heinlein Nov2003-1 - new upstream version * Tue Sep 23 2003 Paul Heinlein - spec file cleanups * Thu Jun 5 2003 Paul Heinlein - bumped to Nov2002 version - modified configure options using Jeff Lewis' stock .spec * Thu Sep 19 2002 Paul Heinlein - added better support for %%redhatvers - added better support for %%_makeopts * Mon Sep 16 2002 Paul Heinlein - added changelog * Fri Sep 6 2002 Paul Heinlein - initial release, based in part on Jeff Lewis' .spec file included with the hugs98 distribution tarball %prep %setup -q %build cd src/unix ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --with-pthreads \ --with-fptools="../../fptools/" \ --enable-ffi cd .. make %{_smp_mflags} -e OPTFLAGS="%{optflags}" %install [ "%{buildroot}" != '/' ] && rm -rf %{buildroot} cd src make install \ prefix=%{buildroot}%{_prefix} \ mandir=%{buildroot}%{_mandir} \ HUGSDIR=%{buildroot}%{_libdir}/hugs # don't need docs in %{_libdir} /bin/rm -rf %{buildroot}%{_libdir}/hugs/docs %clean [ "%{buildroot}" != '/' ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc Credits Install License Readme docs/*.html docs/*.txt docs/*.tex %{_bindir}/* %{_libdir}/hugs %doc %{_mandir}/*/* ### ### eof ###