From d57c2ad9fb785ef2de3a43ac7e5ce29e0af15718d7e285947d93833475c154db Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Jul 2024 12:40:32 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-blaze-markup revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-markup?expand=0&rev=80 --- .gitattributes | 23 ++++ .gitignore | 1 + blaze-markup-0.8.3.0.tar.gz | 3 + blaze-markup.cabal | 91 ++++++++++++++++ ghc-blaze-markup.changes | 208 ++++++++++++++++++++++++++++++++++++ ghc-blaze-markup.spec | 117 ++++++++++++++++++++ 6 files changed, 443 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 blaze-markup-0.8.3.0.tar.gz create mode 100644 blaze-markup.cabal create mode 100644 ghc-blaze-markup.changes create mode 100644 ghc-blaze-markup.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/blaze-markup-0.8.3.0.tar.gz b/blaze-markup-0.8.3.0.tar.gz new file mode 100644 index 0000000..d371619 --- /dev/null +++ b/blaze-markup-0.8.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8606ac8b4a1f7f8f1bbc0770b2752e9b6f88ccc9fbdcbb33aa20577d0e5930e8 +size 14647 diff --git a/blaze-markup.cabal b/blaze-markup.cabal new file mode 100644 index 0000000..40d5da7 --- /dev/null +++ b/blaze-markup.cabal @@ -0,0 +1,91 @@ +Cabal-version: >= 1.10 +Name: blaze-markup +Version: 0.8.3.0 +x-revision: 2 +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 +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: + . + +Build-type: Simple + +Tested-with: + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.6 + GHC == 9.4.8 + 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 + +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.2 + , 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 >= 4 && < 5 + , blaze-builder >= 0.3 && < 0.5 + , text >= 0.10 && < 2.2 + , bytestring >= 0.9 && < 0.13 + -- Extra dependencies + , HUnit >= 1.2 && < 1.7 + , QuickCheck >= 2.7 && < 3 + , containers >= 0.3 && < 0.8 + , tasty >= 1.0 && < 1.6 + , tasty-hunit >= 0.10 && < 0.11 + , tasty-quickcheck >= 0.10 && < 1 + +Source-repository head + Type: git + Location: http://github.com/jaspervdj/blaze-markup diff --git a/ghc-blaze-markup.changes b/ghc-blaze-markup.changes new file mode 100644 index 0000000..1ac8d7d --- /dev/null +++ b/ghc-blaze-markup.changes @@ -0,0 +1,208 @@ +------------------------------------------------------------------- +Thu Jul 4 12:01:48 UTC 2024 - Peter Simons + +- Update blaze-markup to version 0.8.3.0 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Fri Sep 29 13:25:54 UTC 2023 - Peter Simons + +- Update blaze-markup to version 0.8.3.0 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Sep 25 11:44:33 UTC 2023 - Peter Simons + +- Update blaze-markup to version 0.8.3.0. + - 0.8.3.0 (2023-09-25) + * Add `ToMarkup` and `ToValue` instances for `NonEmpty Char` + * Bump `bytestring` upper bound to 0.13 + * Bump `text` upper bound to 2.1 + +------------------------------------------------------------------- +Sun Jul 16 19:19:30 UTC 2023 - Peter Simons + +- Update blaze-markup to version 0.8.2.8 revision 5. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Mar 30 17:06:01 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Mar 15 21:13:46 UTC 2023 - Peter Simons + +- Update blaze-markup to version 0.8.2.8 revision 4. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Aug 15 11:11:46 UTC 2022 - Peter Simons + +- Update blaze-markup to version 0.8.2.8 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Feb 3 22:11:41 UTC 2022 - Peter Simons + +- Update blaze-markup to version 0.8.2.8 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Nov 1 08:31:25 UTC 2021 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.8 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Mar 4 18:18:59 UTC 2021 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.8. + - 0.8.2.8 (2021-03-04) + * Bump `base` upper bound to 4.16 + * Bump `tasty` upper bound to 1.5 + * Bump `bytestring` upper bound to 0.12 + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Aug 18 10:44:10 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Wed Jul 1 02:00:30 UTC 2020 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.7. + - 0.8.2.7 (2020-06-30) + * Bump Cabal version lower bound to 1.10 + + - 0.8.2.6 (2020-06-30) + * Bump `tasty` upper bound to 1.4 + +------------------------------------------------------------------- +Tue Jun 16 11:13:50 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +------------------------------------------------------------------- +Wed May 6 06:52:11 UTC 2020 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.5. + - 0.8.2.5 (2020-04-20) + * Bump `base` upper bound to 4.15 + + - 0.8.2.4 (2020-03-29) + * Bump `QuickCheck` upper bound to 2.15 + +------------------------------------------------------------------- +Fri Nov 8 16:13:21 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +Thu Oct 3 02:01:58 UTC 2019 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.3. + - 0.8.2.3 (2019-10-02) + * Bump `base` to 4.13 + * Bump `tasty` to 1.2 + * Bump `QuickCheck` to 2.13 + +------------------------------------------------------------------- +Sat Jan 19 12:33:33 UTC 2019 - Peter Simons + +- Update Cabal build instructions for more accurate dependencies. + +------------------------------------------------------------------- +Thu Oct 4 15:40:13 UTC 2018 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.2. + - 0.8.2.2 (2018-09-25) + * Bump `base` to 4.12 + * Bump `containers` to 0.6 + * Bump `tasty` to 1.1 + +------------------------------------------------------------------- +Wed Jul 18 14:26:16 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.1. + * Define `ToMarkup` instance for `Natural`. + * Compatibility with Semigroup/Monoid proposal + * Switch to `tasty` for running tests + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Thu Jul 27 14:04:08 UTC 2017 - psimons@suse.com + +- Update to version 0.8.0.0. + +------------------------------------------------------------------- +Sun Dec 4 19:48:07 UTC 2016 - psimons@suse.com + +- Update to version 0.7.1.1 with cabal2obs. + +------------------------------------------------------------------- +Mon Aug 1 14:07:14 UTC 2016 - psimons@suse.com + +- Update to version 0.7.1.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:31:26 UTC 2016 - psimons@suse.com + +- Update to version 0.7.0.3 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Oct 4 16:09:37 UTC 2015 - mimi.vx@gmail.com + +- update to 0.7.0.3 +* Relax `HUnit` dependency to allow 1.3 + +------------------------------------------------------------------- +Mon Apr 20 09:09:40 UTC 2015 - mimi.vx@gmail.com + +- update to 0.7.0.2 +* Add combinators to insert HTML comments +* Add `Applicative` instance for `MarkupM` + +------------------------------------------------------------------- +Sun Nov 9 15:45:37 UTC 2014 - peter.trommler@ohm-hochschule.de + +- update to 0.6.1.1 +* Bump `text` dependency to allow 1.2 (Haskell Platform 2014.2.0.0) +* Add the `null` query to Text.Blaze.Internal. +* Add the operator (!?) for nicely setting conditional attributes + +------------------------------------------------------------------- +Mon Oct 21 07:14:48 UTC 2013 - sbahling@suse.com + +- add %defattr(-,root,root,-) to devel section + +------------------------------------------------------------------- +Tue May 14 12:36:42 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 0.5.1.5 from upstream (no changelog) + +------------------------------------------------------------------- +Sun Nov 18 11:11:46 UTC 2012 - peter.trommler@ohm-hochschule.de + +- update to 0.5.1.1 from upstream +* relax version dependencies + +------------------------------------------------------------------- +Mon May 7 12:22:05 UTC 2012 - peter.trommler@ohm-hochschule.de + +- Initial packaging: spec file template generated by cabal2spec-0.25.5 diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec new file mode 100644 index 0000000..e6db1b2 --- /dev/null +++ b/ghc-blaze-markup.spec @@ -0,0 +1,117 @@ +# +# spec file for package ghc-blaze-markup +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global pkg_name blaze-markup +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 0.8.3.0 +Release: 0 +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/2.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: . + +%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}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +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}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog