2018-01-24 13:11:00 +00:00
|
|
|
# generated by cabal-rpm-0.12.1
|
2015-03-11 06:20:19 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name distributive
|
2017-02-25 07:14:31 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
2018-01-23 20:07:11 +00:00
|
|
|
%global cabaldoctest cabal-doctest-1.0.4
|
2017-09-13 06:24:38 +00:00
|
|
|
%global subpkgs %{cabaldoctest}
|
2017-02-28 11:45:29 +00:00
|
|
|
|
2017-02-25 07:14:31 +00:00
|
|
|
%bcond_with tests
|
2015-03-11 06:20:19 +00:00
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2018-01-24 14:28:17 +00:00
|
|
|
Version: 0.5.3
|
2017-02-28 11:45:29 +00:00
|
|
|
# can only be reset when all subpkgs bumped
|
2018-01-24 14:28:17 +00:00
|
|
|
Release: 5%{?dist}
|
2015-03-11 06:20:19 +00:00
|
|
|
Summary: Distributive functors -- Dual to Traversable
|
|
|
|
|
|
|
|
License: BSD
|
2017-02-25 07:14:31 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2017-09-13 06:24:38 +00:00
|
|
|
Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz
|
2015-03-11 06:20:19 +00:00
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2017-02-28 11:45:29 +00:00
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
2015-03-11 06:20:19 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2017-09-13 06:24:38 +00:00
|
|
|
BuildRequires: ghc-base-orphans-devel
|
2017-02-28 11:45:29 +00:00
|
|
|
#BuildRequires: ghc-cabal-doctest-devel
|
2015-03-11 06:20:19 +00:00
|
|
|
BuildRequires: ghc-tagged-devel
|
|
|
|
BuildRequires: ghc-transformers-compat-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
2017-02-25 07:14:31 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-doctest-devel
|
|
|
|
BuildRequires: ghc-generic-deriving-devel
|
|
|
|
BuildRequires: ghc-hspec-devel
|
|
|
|
%endif
|
2015-03-11 06:20:19 +00:00
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
|
|
|
Distributive functors -- Dual to Traversable.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2018-01-24 13:11:00 +00:00
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
2015-03-11 06:20:19 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2018-01-24 13:11:00 +00:00
|
|
|
%endif
|
2015-03-11 06:20:19 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
2017-02-28 11:45:29 +00:00
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
%ghc_lib_subpackage %{cabaldoctest}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
2015-03-11 06:20:19 +00:00
|
|
|
%prep
|
2017-09-13 06:24:38 +00:00
|
|
|
%setup -q -n %{pkgver} -a1
|
2015-03-11 06:20:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2017-02-28 11:45:29 +00:00
|
|
|
%ghc_libs_build %{subpkgs}
|
2015-03-11 06:20:19 +00:00
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2017-02-28 11:45:29 +00:00
|
|
|
%ghc_libs_install %{subpkgs}
|
2015-03-11 06:20:19 +00:00
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2017-02-25 07:14:31 +00:00
|
|
|
%check
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
2018-01-24 13:11:00 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2015-03-11 06:20:19 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2016-09-28 09:32:22 +00:00
|
|
|
%license LICENSE
|
2015-03-11 06:20:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2017-02-25 07:14:31 +00:00
|
|
|
%doc CHANGELOG.markdown README.markdown
|
2015-03-11 06:20:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-01-24 14:28:17 +00:00
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.5.3-5
|
|
|
|
- update to 0.5.3
|
|
|
|
|
2018-01-23 20:07:11 +00:00
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com>
|
|
|
|
- update cabal-doctest to 1.0.4
|
|
|
|
|
2017-09-13 06:24:38 +00:00
|
|
|
* Wed Sep 13 2017 Jens Petersen <petersen@redhat.com> - 0.5.2-4
|
|
|
|
- base-orphans is packaged now
|
|
|
|
|
2017-08-02 21:18:38 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 09:40:54 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 05:42:06 +00:00
|
|
|
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.5.2-1
|
|
|
|
- update to 0.5.2
|
2017-02-28 11:45:29 +00:00
|
|
|
- subpackage base-orphans and cabal-doctest
|
2017-02-23 05:42:06 +00:00
|
|
|
|
2017-02-10 10:38:06 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 21:31:00 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 07:40:13 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-11 06:20:19 +00:00
|
|
|
* Fri Jan 09 2015 Ricky Elrod <codeblock@elrod.me> - 0.4.4-1
|
|
|
|
- update to 0.4.4
|
|
|
|
|
|
|
|
* Wed Mar 12 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.4
|
|
|
|
- spec file generated by cabal-rpm-0.8.10
|