a06a1bd
# https://fedoraproject.org/wiki/Packaging:Haskell
a06a1bd
a06a1bd
%global pkg_name base-unicode-symbols
a06a1bd
a06a1bd
Name:           ghc-%{pkg_name}
9c777ac
Version:        0.2.2.4
1741d32
Release:        7%{?dist}
a874f53
Summary:        Unicode alternatives for common functions and operators
a06a1bd
a06a1bd
License:        BSD
1741d32
Url:            https://hackage.haskell.org/package/%{pkg_name}
1741d32
Source0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
9c777ac
a06a1bd
BuildRequires:  ghc-Cabal-devel
9c777ac
BuildRequires:  ghc-rpm-macros
a06a1bd
a06a1bd
%description
a874f53
This package defines new symbols for a number of functions, operators and types
a874f53
in the base package. All symbols are documented with their actual definition
a874f53
and information regarding their Unicode code point. They should be completely
a874f53
interchangeable with their definitions.
a874f53
a874f53
For more Unicode goodness you can enable the UnicodeSyntax language extension.
a874f53
This extension enables Unicode characters to be used to stand for certain ASCII
a874f53
character sequences, i.e. → instead of ->, ∀ instead of forall and many others.
a874f53
a874f53
a874f53
%package devel
a874f53
Summary:        Haskell %{pkg_name} library development files
1741d32
Provides:       %{name}-static = %{version}-%{release}
a874f53
Requires:       ghc-compiler = %{ghc_version}
a874f53
Requires(post): ghc-compiler = %{ghc_version}
a874f53
Requires(postun): ghc-compiler = %{ghc_version}
1741d32
Requires:       %{name}%{?_isa} = %{version}-%{release}
a874f53
a874f53
%description devel
1741d32
This package provides the Haskell %{pkg_name} library development
1741d32
files.
a06a1bd
a06a1bd
a06a1bd
%prep
a06a1bd
%setup -q -n %{pkg_name}-%{version}
a06a1bd
a06a1bd
a06a1bd
%build
a06a1bd
%ghc_lib_build
a06a1bd
a06a1bd
a06a1bd
%install
a06a1bd
%ghc_lib_install
a06a1bd
a06a1bd
a874f53
%post devel
a874f53
%ghc_pkg_recache
a874f53
a06a1bd
a874f53
%postun devel
a874f53
%ghc_pkg_recache
a06a1bd
a06a1bd
a874f53
%files -f %{name}.files
a874f53
%doc LICENSE
a06a1bd
a06a1bd
a874f53
%files devel -f %{name}-devel.files
a06a1bd
%doc README.markdown
a06a1bd
a874f53
a06a1bd
%changelog
1741d32
* Tue Feb  3 2015 Jens Petersen <petersen@redhat.com> - 0.2.2.4-7
1741d32
- cblrpm refresh
1741d32
aa98bdd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.4-6
aa98bdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aa98bdd
040105f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.4-5
040105f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
040105f
cc0ee58
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.4-4
cc0ee58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cc0ee58
a874f53
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.2.2.4-3
a874f53
- update to new simplified Haskell Packaging Guidelines
a874f53
0ce5e18
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.4-2
0ce5e18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0ce5e18
9c777ac
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 0.2.2.4-1
9c777ac
- update to 0.2.2.4
9c777ac
202f81c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2.3-3
202f81c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
202f81c
29877c3
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.2.2.3-2
29877c3
- rebuild
29877c3
a06a1bd
* Thu Jan 26 2012 Jens Petersen <petersen@redhat.com> - 0.2.2.3-1
a06a1bd
- BSD license
a06a1bd
a06a1bd
* Thu Jan 26 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
a06a1bd
- spec file template generated by cabal2spec-0.25.4