packages: ghc-MissingH/ghc-MissingH.spec - builds now

glen glen at pld-linux.org
Thu Feb 24 13:13:28 CET 2011


Author: glen                         Date: Thu Feb 24 12:13:28 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds now

---- Files affected:
packages/ghc-MissingH:
   ghc-MissingH.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/ghc-MissingH/ghc-MissingH.spec
diff -u packages/ghc-MissingH/ghc-MissingH.spec:1.1 packages/ghc-MissingH/ghc-MissingH.spec:1.2
--- packages/ghc-MissingH/ghc-MissingH.spec:1.1	Thu Feb 24 11:35:18 2011
+++ packages/ghc-MissingH/ghc-MissingH.spec	Thu Feb 24 13:13:23 2011
@@ -3,7 +3,7 @@
 Summary:	Large utility library
 Name:		ghc-%{pkgname}
 Version:	1.1.0.3
-Release:	0.1
+Release:	1
 Group:		Libraries
 # Data/Hash/CRC32/GZip.hs is BSD
 # Data/Hash/CRC32/Posix.hs is GPL+
@@ -11,24 +11,21 @@
 # System/Time/ParseDate.hs is GPLv2 (newer parsedate is now BSD)
 # all 40 other src (and testsrc) files are GPLv2+
 License:	GPL v2+
-URL:		http://hackage.haskell.org/package/%{pkgname}
+URL:		http://hackage.haskell.org/package/MissingH
 Source0:	http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	a64af1885d60523fe598b4dad086fa6e
 BuildRequires:	ghc >= 6.12.3
-#BuildRequires:	ghc-HUnit
-#BuildRequires:	ghc-doc
-#BuildRequires:	ghc-hslogger
-#BuildRequires:	ghc-mtl
-#BuildRequires:	ghc-network
-#BuildRequires:	ghc-parsec
-#BuildRequires:	ghc-prof
-#BuildRequires:	ghc-regex-compat
-#BuildRequires:	hscolour
+BuildRequires:	ghc-HUnit
+BuildRequires:	ghc-hslogger
+BuildRequires:	ghc-mtl
+BuildRequires:	ghc-network
+BuildRequires:	ghc-parsec
+BuildRequires:	ghc-prof
+BuildRequires:	ghc-regex-compat
+BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_releq	ghc
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		ghcdir		ghc-%(/usr/bin/ghc --numeric-version)
-
 %description
 MissingH is a library of all sorts of utility functions for Haskell
 programmers. It is written in pure Haskell and thus should be
@@ -66,8 +63,18 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%ghc_pkg_recache
+
+%postun
+%ghc_pkg_recache
+
 %files
 %defattr(644,root,root,755)
+%doc COPYRIGHT TODO
+%doc %{name}-%{version}-doc/html
+%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,5 +82,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/02/24 12:13:23  glen
+- builds now
+
 Revision 1.1  2011/02/24 10:35:18  glen
 - initial pkg based on fedora .spec
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-MissingH/ghc-MissingH.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list