SPECS: ghc.spec - up to 6.4 - some cleanup - use html docs - not t...

undefine undefine at pld-linux.org
Sun Jul 3 21:59:14 CEST 2005


Author: undefine                     Date: Sun Jul  3 19:59:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 6.4
- some cleanup
- use html docs
- not tested on all archs - rel 0.1

---- Files affected:
SPECS:
   ghc.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/ghc.spec
diff -u SPECS/ghc.spec:1.45 SPECS/ghc.spec:1.46
--- SPECS/ghc.spec:1.45	Wed May 11 17:27:01 2005
+++ SPECS/ghc.spec	Sun Jul  3 21:59:09 2005
@@ -2,16 +2,13 @@
 Summary:	Glasgow Haskell Compilation system
 Summary(pl):	System kompilacji Glasgow Haskell
 Name:		ghc
-Version:	6.2.2
-Release:	3
+Version:	6.4
+Release:	0.1
 License:	BSD-like w/o adv. clause
 Group:		Development/Languages
 Source0:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.bz2
-# Source0-md5:	42088bff4de30e7c3a277cfa55d5589e
-Patch0:		%{name}-DESTDIR.patch
-Patch1:		%{name}-ac.patch
-Patch2:		%{name}-debian.patch
-Patch3:		%{name}-ar.patch
+# Source0-md5:	45ea4e15f135698feb88d12c5000aaf8
+Patch0:		%{name}-ac.patch
 URL:		http://haskell.org/ghc/
 BuildRequires:	alex >= 2.0
 BuildRequires:	autoconf
@@ -32,7 +29,7 @@
 Provides:	haskell
 # there is no more ghc ports in PLD
 # alpha is still missing - need bootstraper
-ExclusiveArch:	%{ix86} %{x8664} ppc sparc
+ExclusiveArch:	%{ix86} %{x8664} ppc sparc amd64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -82,9 +79,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-#%patch3 -p1
 
 # generate our own `build.mk'
 #
@@ -110,28 +104,23 @@
 cp -f /usr/share/automake/config.sub .
 %{__autoconf}
 %configure \
-	--with-gcc="%{__cc}"
+	--with-gcc="%{__cc}" \
+	--disable-openal
 
 %{__make} boot
 %{__make} -C glafp-utils sgmlverb
 %{__make} all
-%{__make} -C docs ps html
-%{__make} -C ghc/docs ps html
-%{__make} -C ghc/docs/users_guide ps html
-%{__make} -C hslibs/doc ps html
-%{__make} -C hslibs/graphics/doc ps
-cd ghc/docs/rts 
-latex rts.tex
-dvips -o rts.ps rts.dvi
-cd -
+%{__make} -C docs html
+%{__make} -C ghc/docs html
+%{__make} -C hslibs/doc html
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install-dirs \
-	DESTDIR=$RPM_BUILD_ROOT
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%{__make} install-dirs install \
+	bindir=$RPM_BUILD_ROOT%{_bindir} \
+	prefix=$RPM_BUILD_ROOT%{_prefix} \
+	libdir=$RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -139,57 +128,14 @@
 %files
 %defattr(644,root,root,755)
 %doc ghc/{ANNOUNCE,README}
-%doc ghc/docs/rts/*.ps
-%doc ghc/docs/users_guide/{*.ps,users_guide}
-%doc hslibs/doc/{*.ps,hslibs}
-%doc hslibs/graphics/doc/*.ps
+%doc ghc/docs/users_guide/users_guide
+%doc hslibs/doc/hslibs
 %attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/ghc-%{version}
-%dir %{_datadir}/ghc-%{version}/icons
-%{_datadir}/ghc-%{version}/icons/*
+%{_libdir}/ghc-%{version}/icons
 %dir %{_libdir}/ghc-%{version}
-%dir %{_libdir}/ghc-%{version}/hslibs-imports
-%dir %{_libdir}/ghc-%{version}/hslibs-imports/*
-%dir %{_libdir}/ghc-%{version}/imports
-%dir %{_libdir}/ghc-%{version}/imports/Control
-%dir %{_libdir}/ghc-%{version}/imports/Control/Concurrent
-%dir %{_libdir}/ghc-%{version}/imports/Control/Monad
-%dir %{_libdir}/ghc-%{version}/imports/Control/Monad/ST
-%dir %{_libdir}/ghc-%{version}/imports/Data
-%dir %{_libdir}/ghc-%{version}/imports/Data/Array
-%dir %{_libdir}/ghc-%{version}/imports/Data/Array/IO
-%dir %{_libdir}/ghc-%{version}/imports/Data/Generics
-%dir %{_libdir}/ghc-%{version}/imports/Data/STRef
-%dir %{_libdir}/ghc-%{version}/imports/Debug
-%dir %{_libdir}/ghc-%{version}/imports/Debug/QuickCheck
-%dir %{_libdir}/ghc-%{version}/imports/Foreign
-%dir %{_libdir}/ghc-%{version}/imports/Foreign/C
-%dir %{_libdir}/ghc-%{version}/imports/Foreign/Marshal
-%dir %{_libdir}/ghc-%{version}/imports/GHC
-%dir %{_libdir}/ghc-%{version}/imports/Language
-%dir %{_libdir}/ghc-%{version}/imports/Language/Haskell
-%dir %{_libdir}/ghc-%{version}/imports/Network
-%dir %{_libdir}/ghc-%{version}/imports/System
-%dir %{_libdir}/ghc-%{version}/imports/System/Console
-%dir %{_libdir}/ghc-%{version}/imports/System/IO
-%dir %{_libdir}/ghc-%{version}/imports/System/Mem
-%dir %{_libdir}/ghc-%{version}/imports/System/Posix
-%dir %{_libdir}/ghc-%{version}/imports/System/Posix/DynamicLinker
-%dir %{_libdir}/ghc-%{version}/imports/Text
-%dir %{_libdir}/ghc-%{version}/imports/Text/Html
-%dir %{_libdir}/ghc-%{version}/imports/Text/ParserCombinators
-%dir %{_libdir}/ghc-%{version}/imports/Text/ParserCombinators/Parsec
-%dir %{_libdir}/ghc-%{version}/imports/Text/PrettyPrint
-%dir %{_libdir}/ghc-%{version}/imports/Text/Read
-%dir %{_libdir}/ghc-%{version}/imports/Text/Regex
-%dir %{_libdir}/ghc-%{version}/imports/Text/Show
-%dir %{_libdir}/ghc-%{version}/include
-%{_libdir}/ghc-%{version}/include/*
-%{_libdir}/ghc-%{version}/imports/*.hi
-%{_libdir}/ghc-%{version}/imports/*/*.hi
-%{_libdir}/ghc-%{version}/imports/*/*/*.hi
-%{_libdir}/ghc-%{version}/imports/*/*/*/*.hi
-%{_libdir}/ghc-%{version}/hslibs-imports/*/*.hi
+%{_libdir}/ghc-%{version}/include
+%{_libdir}/ghc-%{version}/imports
+%{_libdir}/ghc-%{version}/hslibs-imports
 %attr(755,root,root) %{_libdir}/ghc-%{version}/cgprof
 %attr(755,root,root) %{_libdir}/ghc-%{version}/ghc-%{version}
 %attr(755,root,root) %{_libdir}/ghc-%{version}/ghc-asm
@@ -219,6 +165,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2005/07/03 19:59:09  undefine
+- up to 6.4
+- some cleanup
+- use html docs
+- not tested on all archs - rel 0.1
+
 Revision 1.45  2005/05/11 15:27:01  qboosh
 - use x8664 macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ghc.spec?r1=1.45&r2=1.46&f=u




More information about the pld-cvs-commit mailing list