[project @ 2002-09-06 13:58:58 by simonmar]
[ghc-hetmet.git] / ghc / ghc.spec.in
index b58e128..df2692e 100644 (file)
@@ -1,6 +1,6 @@
 # RPM spec file for GHC
 #
-# Copyright [1998..2001] The GHC Team
+# Copyright [1998..2002] The GHC Team
 #
 # Thanks to Zoltan Vorosbaranyi <vbzoli@vbzo.li> for suggestions in 
 # earlier versions and Pixel <pixel@mandrakesoft.com> for coding tips.
@@ -26,10 +26,10 @@ URL: http://haskell.org/ghc/
 BuildRoot: /var/tmp/ghc-%{version}-%{release}-root
 Requires: gmp-devel
 Provides: haskell
-BuildRequires: happy >= 1.9, ghc >= 4.08, docbook-utils
+BuildRequires: happy >= 1.13, ghc >= 4.08, docbook-utils
 
 %description
-Haskell is a standard lazy functional programming language; the
+Haskell is the standard purely functional programming language; the
 current language version is Haskell 98, agreed in December 1998.
 
 GHC is a state-of-the-art programming suite for Haskell.  Included is
@@ -69,6 +69,9 @@ the documentation is available online at
 %changelog
 
 * Wed Sep 26 2001 Manuel Chakravarty
+- small changes for 5.04
+
+* Wed Sep 26 2001 Manuel Chakravarty
 - split documentation off into a separate package
 - adapt to new docbook setup in RH7.1
 
@@ -166,6 +169,8 @@ cd $RPM_BUILD_ROOT
 libdir=`echo %{prefix}/lib | sed 's|^/||'`
 find $libdir ! -type d ! -name '*.p_hi' ! -name '*_p.a' -print | sed 's|^|/|'\
      >$dir/rpm-noprof-lib-files
+find $libdir ! -type d \( -name '*.p_hi' -or -name '*_p.a' \) -print | sed 's|^|/|'\
+     >$dir/rpm-prof-lib-files
 cd $dir
 
 %clean
@@ -175,9 +180,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc ghc/ANNOUNCE ghc/README
 %{prefix}/bin/*
 
-%files prof
-%{prefix}/lib/ghc-%{version}/imports/*/*.p_hi
-%{prefix}/lib/ghc-%{version}/libHS*_p.a
+%files prof -f rpm-prof-lib-files
 
 %files doc
 %doc docs/