[ghc-warp] import (#758966)

Jens Petersen petersen at fedoraproject.org
Tue Jan 24 03:23:59 UTC 2012


commit a74e6fe05048d6398cc5eb00440523fd271afe5c
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jan 24 12:23:48 2012 +0900

    import (#758966)

 .gitignore    |    1 +
 ghc-warp.spec |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..98b1eb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/warp-0.4.6.3.tar.gz
diff --git a/ghc-warp.spec b/ghc-warp.spec
new file mode 100644
index 0000000..400bba6
--- /dev/null
+++ b/ghc-warp.spec
@@ -0,0 +1,73 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name warp
+
+%global common_summary Web server for WAI applications
+
+# main description used for all the subpackages
+%global common_description A fast, light-weight web server for WAI applications.\
+Warp is the premier WAI handler.\
+See http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/.
+
+
+Name:           ghc-%{pkg_name}
+Version:        0.4.6.3
+Release:        1%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        BSD
+# BEGIN cabal2spec
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-blaze-builder-enumerator-prof
+BuildRequires:  ghc-case-insensitive-prof
+BuildRequires:  ghc-simple-sendfile-prof
+BuildRequires:  ghc-unix-compat-prof
+BuildRequires:  ghc-wai-prof
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
+
+
+%changelog
+* Mon Jan 16 2012 Jens Petersen <petersen at redhat.com> - 0.4.6.3-1
+- update to 0.4.6.3 and cabal2spec-0.25.2
+
+* Fri Dec 16 2011 Jens Petersen <petersen at redhat.com> - 0.4.6.2-1
+- update to 0.4.6.2
+
+* Thu Dec  1 2011 Jens Petersen <petersen at redhat.com> - 0.4.6.1-1
+- BSD; add deps
+
+* Thu Dec  1 2011 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org>
+- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
diff --git a/sources b/sources
index e69de29..0e4952f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e9f232303445224b28184b1bfb5eedad  warp-0.4.6.3.tar.gz


More information about the scm-commits mailing list