diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 10:46:30 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 10:46:30 +0000 |
commit | a8f47e1cbc3698d324ad61169240a03489d70564 (patch) | |
tree | 98ad75787534be5a6467c55ad17bcc51b6690929 | |
parent | 33f2383718972234c0b4b948953f8e8493a97894 (diff) |
automatic import of ghc-skylighting-format-contextopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ghc-skylighting-format-context.spec | 81 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/skylighting-format-context-0.1.0.2.tar.gz diff --git a/ghc-skylighting-format-context.spec b/ghc-skylighting-format-context.spec new file mode 100644 index 0000000..b54092b --- /dev/null +++ b/ghc-skylighting-format-context.spec @@ -0,0 +1,81 @@ +%global pkg_name skylighting-format-context +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.1.0.2 +Release: 1 +Summary: ConTeXt formatter for skylighting syntax highlighting library +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 +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-skylighting-core-devel +BuildRequires: ghc-skylighting-core-prof +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +ExcludeArch: %{ix86} + +%description +This module allows tokens produced by skylighting-core to be rendered as +ConTeXt commands. + +%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} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc README.md + +%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 +* Thu Sep 28 2023 Lin Runze <lrzlin@163.com> 0.1.0.2-1 +- Initial packaging (Version 0.1.0.2) @@ -0,0 +1 @@ +05556cbbc7569eaa1ac3246b9d7caea2 skylighting-format-context-0.1.0.2.tar.gz |