From a656b14fa52ad92b1520a7153d925880fdc9637342290226121a20e40b3eb479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 14 Mar 2021 22:14:46 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-blaze-html revision:13, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-html?expand=0&rev=67 --- blaze-html.cabal | 98 ++++++++++++++++++++++++++++++++++++++++++ ghc-blaze-html.changes | 6 +++ ghc-blaze-html.spec | 4 +- 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 blaze-html.cabal diff --git a/blaze-html.cabal b/blaze-html.cabal new file mode 100644 index 0000000..cc43b01 --- /dev/null +++ b/blaze-html.cabal @@ -0,0 +1,98 @@ +Name: blaze-html +Version: 0.9.1.2 +x-revision: 1 +Homepage: http://jaspervdj.be/blaze +Bug-Reports: http://github.com/jaspervdj/blaze-html/issues +License: BSD3 +License-file: LICENSE +Author: Jasper Van der Jeugt, Simon Meier +Maintainer: Jasper Van der Jeugt +Stability: Experimental +Category: Text +Synopsis: A blazingly fast HTML combinator library for Haskell +Description: + A blazingly fast HTML combinator library for the Haskell + programming language. The Text.Blaze module is a good + starting point, as well as this tutorial: + . + +Build-type: Simple +Cabal-version: >= 1.8 +Tested-with: GHC == 7.8.4, GHC == 7.10.3, + GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1, + GHC == 8.6.3, GHC == 8.8.1 + +Extra-source-files: + CHANGELOG + src/Util/Sanitize.hs + src/Util/GenerateHtmlCombinators.hs + +Library + Hs-source-dirs: src + Ghc-Options: -Wall + + Exposed-modules: + Text.Blaze.Html + Text.Blaze.Html.Renderer.Pretty + Text.Blaze.Html.Renderer.String + Text.Blaze.Html.Renderer.Text + Text.Blaze.Html.Renderer.Utf8 + Text.Blaze.Html4.FrameSet + Text.Blaze.Html4.FrameSet.Attributes + Text.Blaze.Html4.Strict + Text.Blaze.Html4.Strict.Attributes + Text.Blaze.Html4.Transitional + Text.Blaze.Html4.Transitional.Attributes + Text.Blaze.Html5 + Text.Blaze.Html5.Attributes + Text.Blaze.XHtml1.FrameSet + Text.Blaze.XHtml1.FrameSet.Attributes + Text.Blaze.XHtml1.Strict + Text.Blaze.XHtml1.Strict.Attributes + Text.Blaze.XHtml1.Transitional + Text.Blaze.XHtml1.Transitional.Attributes + Text.Blaze.XHtml5 + Text.Blaze.XHtml5.Attributes + + Build-depends: + base >= 4 && < 5, + blaze-builder >= 0.3 && < 0.5, + blaze-markup >= 0.8 && < 0.9, + bytestring >= 0.9 && < 0.12, + text >= 0.10 && < 1.3 + +Test-suite blaze-html-tests + Type: exitcode-stdio-1.0 + Hs-source-dirs: src tests + Main-is: TestSuite.hs + Ghc-options: -Wall + + Other-modules: + Text.Blaze.Html + Text.Blaze.Html.Renderer.String + Text.Blaze.Html.Renderer.Text + Text.Blaze.Html.Renderer.Utf8 + Text.Blaze.Html.Tests + Text.Blaze.Html.Tests.Util + Text.Blaze.Html5 + Text.Blaze.Html5.Attributes + Util.Sanitize + Util.Tests + + Build-depends: + HUnit >= 1.2 && < 1.7, + QuickCheck >= 2.4 && < 2.14, + containers >= 0.3 && < 0.7, + test-framework >= 0.4 && < 0.9, + test-framework-hunit >= 0.3 && < 0.4, + test-framework-quickcheck2 >= 0.3 && < 0.4, + -- Copied from regular dependencies... + base >= 4 && < 5, + blaze-builder >= 0.3 && < 0.5, + blaze-markup >= 0.8 && < 0.9, + bytestring >= 0.9 && < 0.12, + text >= 0.10 && < 1.3 + +Source-repository head + Type: git + Location: http://github.com/jaspervdj/blaze-html.git diff --git a/ghc-blaze-html.changes b/ghc-blaze-html.changes index 31acc97..765ae19 100644 --- a/ghc-blaze-html.changes +++ b/ghc-blaze-html.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 9 11:01:32 UTC 2021 - psimons@suse.com + +- Update blaze-html to version 0.9.1.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-blaze-html.spec b/ghc-blaze-html.spec index 84e1e20..91a23af 100644 --- a/ghc-blaze-html.spec +++ b/ghc-blaze-html.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-blaze-html # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Summary: A blazingly fast HTML combinator library for Haskell License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-blaze-markup-devel @@ -58,6 +59,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build