BuildRoot: /var/tmp/ghc-%{version}-%{release}-root
Requires: gmp-devel
Provides: haskell
-BuildRequires: happy >= 1.13, ghc >= 4.08, haddock, docbook-utils
+BuildRequires: happy >= 1.13, ghc >= 4.08, haddock, docbook-utils, jadetex, tetex-dvips
%description
Haskell is the standard purely functional programming language; the
%changelog
-* Mon Sep 16 2002 Manuel Chakravarty
-- Use external Haddock installation
+* Tue Aug 19 2003 Sven Panne
+- use autoreconf
* Wed Sep 26 2001 Manuel Chakravarty
- small changes for 5.04
GhcWithInterpreter=YES
END
-# run autoconf if necessary
+# run autoheader and autoconf if necessary
#
-[ ! -x configure ] && autoconf && cd ghc && autoconf
+test -f configure || autoreconf
%build
./configure --prefix=%{prefix}
make boot
-make HADDOCK_INPLACE=haddock all ps html
+make all ps html
%install
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files -f rpm-noprof-lib-files
+%defattr(-,root,root)
%doc %{prefix}/share/doc/ghc-%{version}/ANNOUNCE
%doc %{prefix}/share/doc/ghc-%{version}/README
%{prefix}/bin/*
%files prof -f rpm-prof-lib-files
+%defattr(-,root,root)
%files doc
+%defattr(-,root,root)
%doc %{prefix}/share/doc/ghc-%{version}/*.ps
%doc %{prefix}/share/doc/ghc-%{version}/html