X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.spec.in;h=8508c4456db9b6b36ea8cf7ce2462ca7240554f7;hp=87dc6e905ae5ffe91b08b9caa6d47f06363d43f1;hb=b88025eabcd83f65d1d81f09272f5172f06a60e7;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1 diff --git a/ghc.spec.in b/ghc.spec.in index 87dc6e9..8508c44 100644 --- a/ghc.spec.in +++ b/ghc.spec.in @@ -17,7 +17,8 @@ Release: %{release} License: BSD-like Group: Development/Languages/Haskell URL: http://haskell.org/ghc/ -Source: http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2 +Source0: http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2 +Source1: http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2 Packager: Sven Panne BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} @@ -78,15 +79,15 @@ Profiling libraries for Glorious Glasgow Haskell Compilation System needed. %prep -%setup +%setup -b1 %build test -f configure || autoreconf ./configure --prefix=%{prefix} make make html -make -C ghc/docs/ext-core ps -make -C ghc/docs/storage-mgt ps +make -C docs/ext-core ps +make -C docs/storage-mgt ps %install make prefix=${RPM_BUILD_ROOT}%{prefix} install @@ -116,16 +117,15 @@ rm -rf ${RPM_BUILD_ROOT} %files -f rpm-noprof-lib-files %defattr(-,root,root) %doc docs/docbook-cheat-sheet/docbook-cheat-sheet -%doc ghc/ANNOUNCE -%doc ghc/LICENSE -%doc ghc/README -%doc ghc/docs/building/building -%doc ghc/docs/ext-core/core.ps -%doc ghc/docs/storage-mgt/ldv.ps -%doc ghc/docs/storage-mgt/rp.ps -%doc ghc/docs/storage-mgt/sm.ps -%doc ghc/docs/users_guide/users_guide -%doc hslibs/doc/hslibs +%doc ANNOUNCE +%doc LICENSE +%doc README +%doc docs/building/building +%doc docs/ext-core/core.ps +%doc docs/storage-mgt/ldv.ps +%doc docs/storage-mgt/rp.ps +%doc docs/storage-mgt/sm.ps +%doc docs/users_guide/users_guide %doc html/* %doc libraries/Cabal/doc/Cabal %{prefix}/bin/ghc @@ -140,7 +140,6 @@ rm -rf ${RPM_BUILD_ROOT} %{prefix}/bin/hsc2hs %{prefix}/bin/runghc %{prefix}/bin/runhaskell -%{prefix}/bin/stat2resid %files prof -f rpm-prof-lib-files %defattr(-,root,root)