diff options
author | chak <unknown> | 2001-09-26 13:42:50 +0000 |
---|---|---|
committer | chak <unknown> | 2001-09-26 13:42:50 +0000 |
commit | 03aa2ef64390090c64d0fcf81b1050a9f3a4a452 (patch) | |
tree | b5f5f743e90da25076feaee2a41afb3b980ce029 | |
parent | a355da9a0d5310529209ec5ca148a17749395baf (diff) | |
download | haskell-03aa2ef64390090c64d0fcf81b1050a9f3a4a452.tar.gz |
[project @ 2001-09-26 13:42:50 by chak]
- split documentation off into a separate package
- adapt to new docbook setup in RH7.1
-rw-r--r-- | ghc/ghc.spec.in | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/ghc/ghc.spec.in b/ghc/ghc.spec.in index 9c6c8ec606..5973b0bef9 100644 --- a/ghc/ghc.spec.in +++ b/ghc/ghc.spec.in @@ -26,7 +26,7 @@ URL: http://haskell.org/ghc/ BuildRoot: /var/tmp/ghc-%{version}-%{release}-root Requires: gmp-devel Provides: haskell -BuildRequires: autoconf, happy >= 1.9, ghc, stylesheets +BuildRequires: happy >= 1.9, ghc >= 4.08, docbook-utils %description Haskell is a standard lazy functional programming language; the @@ -54,8 +54,24 @@ Requires: ghc = %{PACKAGE_VERSION} Profiling libraries for Glorious Glasgow Haskell Compilation System (GHC). They should be installed when GHC's profiling subsystem is needed. +%package doc +Summary: Documentation for GHC +Group: Documentation + +%description doc +Preformatted documentation for the Glorious Glasgow Haskell Compilation System +(GHC) and its libraries. It should be installed if you like to have local +access to the documentation in PostScript and HTML format. Alternatively, +the documentation is available online at + + http://haskell.org/ghc/documentation.html + %changelog +* Wed Sep 26 2001 Manuel Chakravarty +- split documentation off into a separate package +- adapt to new docbook setup in RH7.1 + * Mon Apr 16 2001 Manuel Chakravarty - revised for 5.00 - also runs autoconf automagically if no ./configure found @@ -128,6 +144,10 @@ for j in docs ghc/docs; do cd $dir done rm -rf $RPM_BUILD_ROOT + +# FIXME: this is necessary due to brokenness in ghc-5.00/mk/target.mk +make prefix=$RPM_BUILD_ROOT%{prefix} install-dirs + make prefix=$RPM_BUILD_ROOT%{prefix} install # generate the file list for lib/ _excluding_ all files needed for profiling @@ -152,10 +172,13 @@ cd $dir rm -rf $RPM_BUILD_ROOT %files -f rpm-noprof-lib-files -%doc docs/ -%doc ghc/ANNOUNCE ghc/README ghc/docs/ +%doc ghc/ANNOUNCE ghc/README %{prefix}/bin/* %files prof %{prefix}/lib/ghc-%{version}/imports/*/*.p_hi %{prefix}/lib/ghc-%{version}/libHS*_p.a + +%files doc +%doc docs/ +%doc ghc/docs/ |