ghc-control-monad-free/ghc-control-monad-free.spec

110 lines
3.1 KiB
RPMSpec
Raw Normal View History

2018-01-24 13:10:51 +00:00
# generated by cabal-rpm-0.12.1
2015-02-28 02:05:03 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name control-monad-free
2017-02-24 08:48:10 +00:00
%global pkgver %{pkg_name}-%{version}
2015-02-28 02:05:03 +00:00
Name: ghc-%{pkg_name}
Version: 0.6.1
2018-01-26 10:25:56 +00:00
Release: 12%{?dist}
2015-02-28 02:05:03 +00:00
Summary: Free monads and monad transformers
License: Public Domain
Url: https://hackage.haskell.org/package/%{pkg_name}
2017-02-24 08:48:10 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2015-02-28 02:05:03 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-prelude-extras-devel
BuildRequires: ghc-transformers-devel
# End cabal-rpm deps
%description
This package provides datatypes to construct Free monads, Free monad
transformers, and useful instances. In addition it provides the constructs to
avoid quadratic complexity of left associative bind, as explained in:
Janis Voigtlander, Asymptotic Improvement of Computations over Free Monads,
MPC'08/. http://www.janis-voigtlaender.eu/Voi08d.html
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
2018-01-24 13:10:51 +00:00
Provides: %{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
2015-02-28 02:05:03 +00:00
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
2018-01-24 13:10:51 +00:00
%endif
2015-02-28 02:05:03 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development
files.
%prep
2017-02-24 08:48:10 +00:00
%setup -q -n %{pkgver}
2015-02-28 02:05:03 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%files devel -f %{name}-devel.files
%changelog
2018-01-26 10:25:56 +00:00
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.6.1-12
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-24 08:48:10 +00:00
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.6.1-9
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-07-01 00:31:48 +00:00
* Fri Jul 1 2016 Jens Petersen <petersen@redhat.com> - 0.6.1-7
- rebuild
2016-04-24 00:23:54 +00:00
* Sat Apr 23 2016 Ben Boeckel <mathstuf@gmail.com> - 0.6.1-6
- rebuild for ghc-prelude-extras
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-28 03:15:15 +00:00
* Fri Feb 27 2015 Ben Boeckel <mathstuf@gmail.com> - 0.6.1-3
- patch is for the wrong spec...
2015-02-28 02:05:03 +00:00
* Thu Feb 26 2015 Ben Boeckel <mathstuf@gmail.com> - 0.6.1-2
- cherry-pick patch to support control-monad-free 0.6
* Tue Feb 24 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.6.1-1
- spec file generated by cabal-rpm-0.9.3