commit ee0ca7db0170a9df24bb6bfc1d47a85c7969d75e31d874ed8d0c72ecfe1efe34 Author: Peter Simons Date: Sat Oct 26 13:48:28 2024 +0000 osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-hslua-module-doclayout revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-doclayout?expand=0&rev=14 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/ghc-hslua-module-doclayout.changes b/ghc-hslua-module-doclayout.changes new file mode 100644 index 0000000..1f07adf --- /dev/null +++ b/ghc-hslua-module-doclayout.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Sat Sep 21 13:26:16 UTC 2024 - Peter Simons + +- Update hslua-module-doclayout to version 1.2.0. + ## 1.2.0 + + Released 2024-09-21. + + - Require doclayout-0.5. + + - Add new styling functions `bold`, `italic`, `underlined`, + `strikeout`, `fg`, and `bg`. + + - The `render` function now takes `style` as a third parameter. + It must be either 'plain' or 'ansi' when given. + +------------------------------------------------------------------- +Mon Sep 9 15:24:45 UTC 2024 - Peter Simons + +- Update hslua-module-doclayout to version 1.1.1.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Jun 10 05:22:06 UTC 2024 - Peter Simons + +- Update hslua-module-doclayout to version 1.1.1.2. + ## 1.1.1.2 + + Released 2024-06-10. + + - Fixed another documentation bugs: `render` returns a `string`. + + ## 1.1.1.1 + + Released 2024-06-09. + + - Fixed minor typos in docstrings. + +------------------------------------------------------------------- +Tue Jan 23 09:54:16 UTC 2024 - Peter Simons + +- Update hslua-module-doclayout to version 1.1.1. + ## 1.1.1 + + Released 2024-01-23. + + - Relaxed upper bound for text, allowing text-2.1. + + - Improved doc strings. + + - Test with latest GHC versions. + +------------------------------------------------------------------- +Thu Apr 13 12:14:34 UTC 2023 - Peter Simons + +- Update hslua-module-doclayout to version 1.1.0. + ## 1.1.0 + + Release pending. + + - Require hslua-2.3 and tasty-lua-1.1. + + - Type info is added to all fields. + + - The `Doc` type is now associated with this module's docs, + making it easier to generate documentation. + +------------------------------------------------------------------- +Thu Mar 30 17:07:03 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sun Apr 3 12:35:11 UTC 2022 - Peter Simons + +- Add hslua-module-doclayout at version 1.0.4. + diff --git a/ghc-hslua-module-doclayout.spec b/ghc-hslua-module-doclayout.spec new file mode 100644 index 0000000..c1224dd --- /dev/null +++ b/ghc-hslua-module-doclayout.spec @@ -0,0 +1,108 @@ +# +# spec file for package ghc-hslua-module-doclayout +# +# 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 hslua-module-doclayout +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 1.2.0 +Release: 0 +Summary: Lua module wrapping Text.DocLayout +License: MIT +URL: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-doclayout-devel +BuildRequires: ghc-doclayout-prof +BuildRequires: ghc-hslua-devel +BuildRequires: ghc-hslua-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-lua-devel +BuildRequires: ghc-tasty-lua-prof +BuildRequires: ghc-tasty-prof +%endif + +%description +Lua module wrapping 'Text.DocLayout'. + +%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} + +%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.md README.md + +%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 diff --git a/hslua-module-doclayout-1.1.1.2.tar.gz b/hslua-module-doclayout-1.1.1.2.tar.gz new file mode 100644 index 0000000..d822f96 --- /dev/null +++ b/hslua-module-doclayout-1.1.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f1703619a68ea3e433b1ab348ca82520f3369d5d8a22d71e50dab0ac435faad +size 10427 diff --git a/hslua-module-doclayout-1.2.0.tar.gz b/hslua-module-doclayout-1.2.0.tar.gz new file mode 100644 index 0000000..83f48a4 --- /dev/null +++ b/hslua-module-doclayout-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32e4a820d7d137750753012aa599ee07846b462ae87fb5f54317d1f0dbb47ff4 +size 11746