From a06a1bde7e2e80ace6c4c34079865488f33a6e83 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 6 Mar 2012 16:31:13 +0900 Subject: [PATCH] import (#784784) --- .gitignore | 1 + ghc-base-unicode-symbols.spec | 66 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 ghc-base-unicode-symbols.spec diff --git a/.gitignore b/.gitignore index e69de29..32bf349 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/base-unicode-symbols-0.2.2.3.tar.gz diff --git a/ghc-base-unicode-symbols.spec b/ghc-base-unicode-symbols.spec new file mode 100644 index 0000000..ab89dbb --- /dev/null +++ b/ghc-base-unicode-symbols.spec @@ -0,0 +1,66 @@ +# cabal2spec-0.25.4 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name base-unicode-symbols + +%global common_summary Unicode alternatives to common Haskell operators and functions + +%global common_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 more Unicode goodness you can enable the UnicodeSyntax language extension.\ +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. + +Name: ghc-%{pkg_name} +Version: 0.2.2.3 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files +%doc README.markdown + +%changelog +* Thu Jan 26 2012 Jens Petersen - 0.2.2.3-1 +- BSD license + +* Thu Jan 26 2012 Fedora Haskell SIG +- spec file template generated by cabal2spec-0.25.4 diff --git a/sources b/sources index e69de29..d3c4491 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +75c0492d0189bfda7ab045aeb6b710fd base-unicode-symbols-0.2.2.3.tar.gz