[haddock/el4/master] haddock-0.9 from F8

Jens Petersen petersen at fedoraproject.org
Tue Oct 5 00:29:48 UTC 2010


commit 75a06a0c47cb956b56a750a67ceb5e02f15e08fd
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Oct 5 10:29:51 2010 +1000

    haddock-0.9 from F8

 .gitignore   |    1 +
 dead.package |    1 -
 haddock.spec |  128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 4 files changed, 130 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cbad06e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/haddock-0.9.tar.gz
diff --git a/haddock.spec b/haddock.spec
new file mode 100644
index 0000000..59ba9de
--- /dev/null
+++ b/haddock.spec
@@ -0,0 +1,128 @@
+Name:           haddock
+Version:        0.9
+Release:        2%{?dist}
+Summary:        Haddock documentation tool for annotated Haskell source code
+
+Group:          Development/Tools
+License:        BSD
+URL:            http://www.haskell.org/haddock/
+Source0:        http://www.haskell.org/haddock/dist/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+ExcludeArch:	alpha ppc64
+
+BuildRequires:  ghc >= 6.8.1
+BuildRequires:  coreutils libxslt docbook-style-xsl autoconf
+
+%description
+Haddock is a tool for automatically generating hyperlinked documentation from
+annotated Haskell source code. It is primary intended for documenting
+libraries, but it is useful for any kind of Haskell code.
+
+Haddock lets you write documentation annotations next to the definitions of
+functions and types in the source code in a lightweight syntax.
+
+
+# don't generate an empty debuginfo subpackage
+%define debug_package %{nil}
+%define __spec_install_post /usr/lib/rpm/brp-compress
+
+
+%prep
+%setup -q
+
+
+%build
+runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir} \
+  --datadir=%{_datadir} --docdir=%{_docdir} --htmldir=%{_docdir}
+runhaskell Setup.lhs build
+cd doc
+test -f configure || autoreconf
+./configure
+make html
+
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT}
+rm ${RPM_BUILD_ROOT}/%{_docdir}/LICENSE
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+
+%post
+/usr/bin/chcon -t unconfined_execmem_exec_t %{_libexecdir}/haddock.bin >/dev/null 2>&1 || :
+
+
+%files
+%defattr(-,root,root)
+%doc CHANGES LICENSE README TODO
+%doc doc/haddock/*
+%{_bindir}/haddock
+%{_datadir}/haddock-%{version}
+
+
+%changelog
+* Thu Dec 20 2007 Bryan O'Sullivan <bos at serpentine.com> - 0.9-2
+- Exclude alpha, ppc64
+
+* Thu Dec 20 2007 Bryan O'Sullivan <bos at serpentine.com> - 0.9-1
+- update to 0.9
+
+* Thu Aug 16 2007 Jens Petersen <petersen at redhat.com>
+- update License field
+
+* Fri Nov  3 2006 Jens Petersen <petersen at redhat.com> - 0.8-1
+- update to 0.8
+- use new cabal build system
+- update file list
+- buildrequire autoconf
+
+* Thu Sep 28 2006 Jens Petersen <petersen at redhat.com> - 0.7-4
+- rebuild for FC6
+
+* Fri Jun 30 2006 Jens Petersen <petersen at redhat.com> - 0.7-3
+- set selinux unconfined_execmem_exec_t context to allow running under
+  targeted policy (#195821)
+
+* Thu Mar  2 2006 Jens Petersen <petersen at redhat.com> - 0.7-2
+- rebuild
+
+* Tue Sep 27 2005 Jens Petersen <petersen at redhat.com> - 0.7-1
+- cleanup for Fedora Extras (Gérard Milmeister)
+  - drop versioned binary
+  - set standard buildroot
+- do not create debuginfo
+- improve the description
+
+* Mon Aug 22 2005 Jens Petersen <petersen at redhat.com>
+- 0.7 release
+
+* Tue Jul  5 2005 Jens Petersen <petersen at haskell.org> - 0.7-0.20050705
+- update to cvs snapshot
+  - update filelist
+  - install data files in a subdir
+
+* Wed Dec 15 2004 Jens Petersen <petersen at haskell.org>
+- spec file cleanup
+- only generate docs in html
+
+* Sat Oct 11 2003 Sven Panne <sven_panne at yahoo.com>
+- Include architecture-independent files in file list
+
+* Tue Aug 26 2003 Sven Panne <sven_panne at yahoo.com>
+- Use autoreconf instead of autoconf
+
+* Mon Jul 28 2003 Sven Panne <sven_panne at yahoo.com>
+- Updated to version 0.5
+- Automagically generate configure if it is not there
+
+* Tue Jul 23 2002 Simon Marlow <simonmar at microsoft.com>
+- Updated to version 0.4
+
+* Sun Jun 23 2002 Sven Panne <sven_panne at yahoo.com>
+- Cleaned up build root handling and added more docs
+
+* Wed May 01 2002 Tom Moertel <tom-rpms at moertel.com>
+- Created spec file
diff --git a/sources b/sources
new file mode 100644
index 0000000..4755b9e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8ba056279427231fd35c8ca2e690221d  haddock-0.9.tar.gz


More information about the scm-commits mailing list