diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 02:16:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 02:16:23 +0000 |
commit | 350839f914bdbd66555028f7480364cc18625632 (patch) | |
tree | 156a7f0aa2782384a0da288f800b38427a24242d | |
parent | 416d69b0611666bf9ef28046a19b13dd049eb4bc (diff) |
automatic import of ghc-base-unicode-symbolsopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ghc-base-unicode-symbols.spec | 89 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 91 insertions, 0 deletions
@@ -0,0 +1 @@ +/base-unicode-symbols-0.2.4.2.tar.gz diff --git a/ghc-base-unicode-symbols.spec b/ghc-base-unicode-symbols.spec new file mode 100644 index 0000000..1e01666 --- /dev/null +++ b/ghc-base-unicode-symbols.spec @@ -0,0 +1,89 @@ +%global pkg_name base-unicode-symbols +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.2.4.2 +Release: 1 +Summary: Unicode alternatives for common functions and operators +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-rpm-macros +ExcludeArch: %{ix86} + +%description +This package defines new symbols for a number of functions, operators and types +in the base package. + +All symbols are documented with their actual definition and information +regarding their Unicode code point. They should be completely interchangeable +with their definitions. + +For further Unicode goodness you can enable the 'UnicodeSyntax' language +extension [1]. This extension enables Unicode characters to be used to stand +for certain ASCII character sequences, i.e. → instead of '->', ∀ +instead of 'forall' and many others. + +Original idea by Péter Diviánszky. + +[1] +<https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#unicode-syntax>. + +%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.markdown + +%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.2.4.2-1 +- Initial packaging (Version 0.2.4.2) @@ -0,0 +1 @@ +8f6bf2b5f9dd94d3d8913e770c3989d3 base-unicode-symbols-0.2.4.2.tar.gz |