From fde26ee8b4429a5d5f38f117b6a0fc7b3f611c7f Mon Sep 17 00:00:00 2001 From: Shakthi Kannan Date: Oct 09 2012 05:33:48 +0000 Subject: First release --- diff --git a/.gitignore b/.gitignore index e69de29..eda06d7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/data-memocombinators-0.4.3.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1783d89 --- /dev/null +++ b/LICENSE @@ -0,0 +1,31 @@ +Copyright (c) 2011, Luke Palmer + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of Koen Claessen nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/ghc-data-memocombinators.spec b/ghc-data-memocombinators.spec new file mode 100644 index 0000000..a515483 --- /dev/null +++ b/ghc-data-memocombinators.spec @@ -0,0 +1,60 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name data-memocombinators + +%global common_summary Haskell %{pkg_name} library + +%global common_description Combinators for building memo tables + +Name: ghc-%{pkg_name} +Version: 0.4.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 +Source1: LICENSE +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec + +BuildRequires: ghc-array-devel +BuildRequires: ghc-data-inttrie-devel + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} +%{__install} -pm 644 %{SOURCE1} . + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Tue Sep 4 2012 Shakthi Kannan - 0.4.3-1 +- spec file template generated by cabal2spec-0.25.5 diff --git a/sources b/sources index e69de29..6ae1285 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f0b013c1819082af6d144da782dd7787 data-memocombinators-0.4.3.tar.gz