diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 09:30:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 09:30:41 +0000 |
commit | bc0d5319afec06b7f29b86d85b217c2d3d44a9d3 (patch) | |
tree | da1c2630091c5984219f121a9a2350083ac9abc3 | |
parent | f2f2d78fe48d84d0b0ce036bf6e7818d5b122e19 (diff) |
automatic import of ghc-blaze-markupopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | blaze-markup.cabal | 91 | ||||
-rw-r--r-- | ghc-blaze-markup.spec | 101 | ||||
-rw-r--r-- | sources | 1 |
4 files changed, 194 insertions, 0 deletions
@@ -0,0 +1 @@ +/blaze-markup-0.8.2.8.tar.gz diff --git a/blaze-markup.cabal b/blaze-markup.cabal new file mode 100755 index 0000000..41c39c7 --- /dev/null +++ b/blaze-markup.cabal @@ -0,0 +1,91 @@ +Name: blaze-markup +Version: 0.8.2.8 +x-revision: 5 +Homepage: http://jaspervdj.be/blaze +Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues +License: BSD3 +License-file: LICENSE +Author: Jasper Van der Jeugt, Simon Meier, Deepak Jois +Maintainer: Jasper Van der Jeugt <m@jaspervdj.be> +Stability: Experimental +Category: Text +Synopsis: A blazingly fast markup combinator library for Haskell +Description: + Core modules of a blazingly fast markup combinator library for the Haskell + programming language. The Text.Blaze module is a good + starting point, as well as this tutorial: + <http://jaspervdj.be/blaze/tutorial.html>. + +Build-type: Simple +Cabal-version: >= 1.10 + +Tested-with: + GHC == 9.6.2 + GHC == 9.4.5 + GHC == 9.2.8 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + GHC == 7.10.3 + GHC == 7.8.4 + +Extra-source-files: + CHANGELOG + +Library + Hs-source-dirs: src + Ghc-Options: -Wall + Default-language: Haskell2010 + + Exposed-modules: + Text.Blaze + Text.Blaze.Internal + Text.Blaze.Renderer.Pretty + Text.Blaze.Renderer.String + Text.Blaze.Renderer.Text + Text.Blaze.Renderer.Utf8 + + Build-depends: + base >= 4 && < 5, + blaze-builder >= 0.3 && < 0.5, + text >= 0.10 && < 2.1, + bytestring >= 0.9 && < 0.13 + +Test-suite blaze-markup-tests + Type: exitcode-stdio-1.0 + Hs-source-dirs: src tests + Main-is: TestSuite.hs + Ghc-options: -Wall + Default-language: Haskell2010 + + Other-modules: + Text.Blaze + Text.Blaze.Internal + Text.Blaze.Renderer.Pretty + Text.Blaze.Renderer.String + Text.Blaze.Renderer.Text + Text.Blaze.Renderer.Utf8 + Text.Blaze.Tests + Text.Blaze.Tests.Util + + Build-depends: + -- Copied from regular dependencies... + base + , blaze-builder + , text + , bytestring + -- Extra dependencies + , HUnit >= 1.2 && < 1.7 + , QuickCheck >= 2.7 && < 2.15 + , containers >= 0.3 && < 0.7 + , tasty >= 1.0 && < 1.5 + , tasty-hunit >= 0.10 && < 0.11 + , tasty-quickcheck >= 0.10 && < 0.11 + +Source-repository head + Type: git + Location: http://github.com/jaspervdj/blaze-markup diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec new file mode 100644 index 0000000..0a1d21d --- /dev/null +++ b/ghc-blaze-markup.spec @@ -0,0 +1,101 @@ +%global pkg_name blaze-markup +%global pkgver %{pkg_name}-%{version} +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.8.2.8 +Release: 1 +Summary: A blazingly fast markup 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/5.cabal#/%{pkg_name}.cabal +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-blaze-builder-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof +%endif + +%description +Core modules of a blazingly fast markup combinator library for the Haskell +programming language. The Text.Blaze module is a good starting point, as well +as this tutorial: <http://jaspervdj.be/blaze/tutorial.html>. + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + +%package -n ghc-%{pkg_name}-help +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description -n ghc-%{pkg_name}-help +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + +%prep +%autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%check +%cabal_test + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc CHANGELOG + +%files -n ghc-%{pkg_name}-help -f ghc-%{pkg_name}-help.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog +* Tue Aug 22 2023 Lin Runze <lrzlin@163.com> 0.8.2.8-1 +- Initial packaging (Version 0.8.2.8) @@ -0,0 +1 @@ +c77409e818921e2892a756b8c621cb54 blaze-markup-0.8.2.8.tar.gz |