[haddock/f14/master] Upgrade to 2.7.2 new file: .gitignore deleted: dead.package new file: haddock.spec new fi
Lakshmi Narasimhan T V
narasim at fedoraproject.org
Tue Jan 25 00:58:33 UTC 2011
commit 862b558edfba92c2d6d24531824370b83acacc8c
Author: Lakshmi Narasimhan <lakshminaras2002 at gmail.com>
Date: Tue Jan 25 06:27:42 2011 +0530
Upgrade to 2.7.2
new file: .gitignore
deleted: dead.package
new file: haddock.spec
new file: sources
.gitignore | 1 +
dead.package | 1 -
haddock.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 72 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bbd0fc1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/haddock-2.7.2.tar.gz
diff --git a/haddock.spec b/haddock.spec
new file mode 100644
index 0000000..a710987
--- /dev/null
+++ b/haddock.spec
@@ -0,0 +1,70 @@
+%global pkg_name haddock
+
+%global common_summary Haskell documentation tool
+
+%global common_description A documentation-generation tool for Haskell libraries.
+
+%global ghc_pkg_deps ghc-ghc-paths-devel, ghc-ghc-devel
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name: %{pkg_name}
+Version: 2.7.2
+Release: 3%{?dist}
+Summary: %{common_summary}
+
+Group: Development/Tools
+License: BSD
+URL: http://www.haskell.org/haddock/
+Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+# fedora ghc archs:
+ExclusiveArch: %{ix86} x86_64 ppc alpha
+BuildRequires: ghc, ghc-doc, ghc-prof
+BuildRequires: ghc-rpm-macros >= 0.7.3
+BuildRequires: hscolour
+%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires: alex, happy
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+# version the binary so not to conflict with ghc
+mv $RPM_BUILD_ROOT%{_bindir}/%{name}{,-%{version}}
+
+
+%{?ghc_binlib_package}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README LICENSE
+%{_bindir}/%{name}-%{version}
+%{_datadir}/%{name}-%{version}
+
+
+%changelog
+* Thu Jan 6 2011 Jens Petersen <petersen at redhat.com> - 2.7.2-3
+- update to cabal2spec-0.22.4
+
+* Wed Nov 10 2010 Lakshmi Narasimhan <lakshminaras2002 at gmail.com> - 2.7.2-2
+- Include LICENSE and README.
+
+* Fri Nov 5 2010 Lakshmi Narasimhan <lakshminaras2002 at gmail.com> - 2.7.2-1
+- Modified dependencies. Added alex and happy.
+- Changing binary executable name to haddock-version. ghc already ships with haddock binary.
+
+* Fri Nov 5 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 2.7.2-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
new file mode 100644
index 0000000..0f3cf1e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7b4a8d47ef01d06dc778e0237bafbf1b haddock-2.7.2.tar.gz
More information about the scm-commits
mailing list