From b896ac80c913835847ec54e5c8f25667c8497531 Mon Sep 17 00:00:00 2001 From: Shakthi Kannan Date: Mon, 3 Sep 2012 11:44:59 +0530 Subject: [PATCH] First release --- .gitignore | 1 + ghc-data-inttrie.spec | 53 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 ghc-data-inttrie.spec diff --git a/.gitignore b/.gitignore index e69de29..cd4751f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/data-inttrie-0.0.7.tar.gz diff --git a/ghc-data-inttrie.spec b/ghc-data-inttrie.spec new file mode 100644 index 0000000..5351706 --- /dev/null +++ b/ghc-data-inttrie.spec @@ -0,0 +1,53 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name data-inttrie + +%global common_summary A simple lazy, infinite trie from integers + +%global common_description Provides a minimal infinite, lazy trie for \ +integral types. It intentionally leaves out ideas such as delete and \ +emptiness so that it can be used lazily, eg. as the target of an infinite \ +foldr. Essentially its purpose is to be an efficient implementation of \ +a function from integral type, given point-at-a-time modifications. + +Name: ghc-%{pkg_name} +Version: 0.0.7 +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 + +%description +%{common_description} + +%prep +%setup -q -n %{pkg_name}-%{version} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + +%ghc_devel_post_postun + +%ghc_files + +%changelog +* Tue Jun 12 2012 Shakthi Kannan - 0.0.7-1 +- Spec file template generated by cabal2spec-0.25.5 diff --git a/sources b/sources index e69de29..63c75a2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c689833bf0ad574b621cb8bdcae1e6cc data-inttrie-0.0.7.tar.gz