From 87ade23b0fd1436d26961daf52481e88cbfbdbd7 Mon Sep 17 00:00:00 2001 From: Shakthi Kannan Date: Mon, 10 Sep 2012 08:02:58 +0530 Subject: [PATCH] First release --- .gitignore | 1 + ghc-blaze-textual.spec | 67 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 ghc-blaze-textual.spec diff --git a/.gitignore b/.gitignore index e69de29..fd94219 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/blaze-textual-0.2.0.6.tar.gz diff --git a/ghc-blaze-textual.spec b/ghc-blaze-textual.spec new file mode 100644 index 0000000..688931e --- /dev/null +++ b/ghc-blaze-textual.spec @@ -0,0 +1,67 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name blaze-textual + +%global common_summary Library for fast rendering of common data types + +%global common_description A library for efficiently rendering \ +Haskell data types to bytestrings + +Name: ghc-%{pkg_name} +Version: 0.2.0.6 +Release: 2%{?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-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-vector-devel + +%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 LICENSE + + +%changelog +* Mon Sep 10 2012 Shakthi Kannan - 0.2.0.6-2 +- Updated summary + +* Wed Aug 22 2012 Shakthi Kannan - 0.2.0.6-1 +- spec file template generated by cabal2spec-0.25.5 diff --git a/sources b/sources index e69de29..7d0a3c0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d8f12d2b28330e758dfeaa940d94a12b blaze-textual-0.2.0.6.tar.gz