67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
# 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
|