This commit is contained in:
Jens Petersen 2012-03-06 16:31:13 +09:00
parent 9d1f6dd55c
commit a06a1bde7e
3 changed files with 68 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/base-unicode-symbols-0.2.2.3.tar.gz

View File

@ -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 <petersen@redhat.com> - 0.2.2.3-1
- BSD license
* Thu Jan 26 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.4

View File

@ -0,0 +1 @@
75c0492d0189bfda7ab045aeb6b710fd base-unicode-symbols-0.2.2.3.tar.gz