SPECS: ghc.spec - Added extra libraries (needed e.g. by darcs) - F...

qrczak qrczak at pld-linux.org
Fri Feb 23 11:11:24 CET 2007


Author: qrczak                       Date: Fri Feb 23 10:11:24 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Added extra libraries (needed e.g. by darcs)
- Fixed tinfo linking (again)
- Fixed directories of installed html docs so hyperlinks work
- Release 3

---- Files affected:
SPECS:
   ghc.spec (1.65 -> 1.66) 

---- Diffs:

================================================================
Index: SPECS/ghc.spec
diff -u SPECS/ghc.spec:1.65 SPECS/ghc.spec:1.66
--- SPECS/ghc.spec:1.65	Thu Feb 22 19:02:04 2007
+++ SPECS/ghc.spec	Fri Feb 23 11:11:18 2007
@@ -8,20 +8,26 @@
 Summary(pl.UTF-8):	System kompilacji Glasgow Haskell
 Name:		ghc
 Version:	6.6
-Release:	2
+Release:	3
 License:	BSD-like w/o adv. clause
 Group:		Development/Languages
 Source0:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.bz2
 # Source0-md5:	2427a8d7d14f86e0878df6b54938acf7
+Source1:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src-extralibs.tar.bz2
+# Source1-md5:	14b22fce36caffa509046361724bc119
 Patch0:		%{name}-ac.patch
 Patch1:		%{name}-tinfo.patch
 URL:		http://haskell.org/ghc/
+BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	OpenGL-devel
+BuildRequires:	OpenGL-glut-devel
 %{!?with_bootstrap:BuildRequires:	alex >= 2.0}
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_doc:BuildRequires:	docbook-dtd42-xml}
 %{?with_doc:BuildRequires:	docbook-style-xsl}
+BuildRequires:	freealut-devel
 %{!?with_bootstrap:BuildRequires:	ghc}
 BuildRequires:	gmp-devel
 %{?with_doc:BuildRequires:	haddock}
@@ -136,14 +142,19 @@
 potrzebujemy systemu profilującego z GHC.
 
 %prep
-%setup -q
+%setup -q -b1
 %patch0 -p1
 %patch1 -p1
 
 %build
 %{?with_bootstrap:PATH=$PATH:/usr/local/bin}
 cp -f /usr/share/automake/config.sub .
+
+%{__autoconf}
+cd libraries/readline
 %{__autoconf}
+cd ../..
+
 %configure \
 	--prefix=%{_prefix} \
 	--with-gcc="%{__cc}"
@@ -177,7 +188,7 @@
 %doc docs/users_guide/users_guide docs/comm
 %doc docs/ext-core/core.ps docs/storage-mgt/*.ps
 %doc libraries/html-docs
-%doc html libraries/Cabal/doc/Cabal
+%doc html/* libraries/Cabal/doc/Cabal
 %endif
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/ghc-%{version}
@@ -219,6 +230,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66  2007/02/23 10:11:18  qrczak
+- Added extra libraries (needed e.g. by darcs)
+- Fixed tinfo linking (again)
+- Fixed directories of installed html docs so hyperlinks work
+- Release 3
+
 Revision 1.65  2007/02/22 18:02:04  baggins
 - rel 2
 - fixed doc bcond
================================================================

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



More information about the pld-cvs-commit mailing list