[ghc-zip-archive] initial import (#652573)
Jens Petersen
petersen at fedoraproject.org
Tue Jan 4 09:38:55 UTC 2011
commit febdc272963d204776adf3438fa2ab47217e533e
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Jan 4 18:38:44 2011 +0900
initial import (#652573)
.gitignore | 1 +
ghc-zip-archive.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a7aefc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zip-archive-0.1.1.6.tar.gz
diff --git a/ghc-zip-archive.spec b/ghc-zip-archive.spec
new file mode 100644
index 0000000..d17ce8a
--- /dev/null
+++ b/ghc-zip-archive.spec
@@ -0,0 +1,73 @@
+%global pkg_name zip-archive
+
+%global common_summary Haskell %{pkg_name} library
+
+%global common_description The zip-archive library provides functions for creating, modifying,\
+and extracting files from zip archives.
+
+%global ghc_pkg_deps ghc-binary-devel, ghc-digest-devel, ghc-mtl-devel, ghc-utf8-string-devel, ghc-zlib-devel
+
+%bcond_without shared
+%bcond_without hscolour
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name: ghc-%{pkg_name}
+Version: 0.1.1.6
+Release: 4%{?dist}
+Summary: %{common_summary}
+
+Group: System Environment/Libraries
+License: GPLv2+
+URL: http://hackage.haskell.org/package/%{pkg_name}
+Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+# fedora ghc archs:
+ExclusiveArch: %{ix86} x86_64 ppc alpha
+BuildRequires: ghc, ghc-prof
+BuildRequires: ghc-rpm-macros >= 0.8.0
+%if %{with hscolour}
+BuildRequires: hscolour
+%endif
+%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
+
+%description
+%{common_description}
+%if %{with shared}
+This package provides the shared library.
+%endif
+
+
+%{?ghc_lib_package}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+install -p -m 0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}
+
+
+%changelog
+* Tue Dec 21 2010 Jens Petersen <petersen at redhat.com> - 0.1.1.6-4
+- install COPYING instead
+
+* Fri Dec 10 2010 Jens Petersen <petersen at redhat.com> - 0.1.1.6-3
+- include the COPYING file (#652573)
+
+* Thu Dec 2 2010 Jens Petersen <petersen at redhat.com> - 0.1.1.6-2
+- also depends on binary (#652573)
+
+* Thu Dec 2 2010 Jens Petersen <petersen at redhat.com> - 0.1.1.6-1
+- GPLv2+
+- depends on digest, mtl, utf8-string, zlib
+
+* Fri Nov 12 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.1.1.6-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..4b09bb5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4806077be79ecb5486306432ee93e38d zip-archive-0.1.1.6.tar.gz
More information about the scm-commits
mailing list