67b8883
# generated by cabal-rpm-2.0.9
97087af
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
2a4c2bd
2a4c2bd
%global pkg_name abstract-deque
2a4c2bd
%global pkgver %{pkg_name}-%{version}
2a4c2bd
2a4c2bd
Name:           ghc-%{pkg_name}
2a4c2bd
Version:        0.3
a93bcff
Release:        14%{?dist}
2a4c2bd
Summary:        Abstract, parameterized interface to mutable Deques
2a4c2bd
2a4c2bd
License:        BSD
2a4c2bd
Url:            https://hackage.haskell.org/package/%{pkg_name}
4e8a9c8
# Begin cabal-rpm sources:
2a4c2bd
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
4e8a9c8
# End cabal-rpm sources
2a4c2bd
4e8a9c8
# Begin cabal-rpm deps:
2a4c2bd
BuildRequires:  ghc-Cabal-devel
2a4c2bd
BuildRequires:  ghc-rpm-macros
143f76a
BuildRequires:  ghc-array-prof
143f76a
BuildRequires:  ghc-base-prof
143f76a
BuildRequires:  ghc-containers-prof
143f76a
BuildRequires:  ghc-random-prof
143f76a
BuildRequires:  ghc-time-prof
2a4c2bd
# End cabal-rpm deps
2a4c2bd
2a4c2bd
%description
2a4c2bd
An abstract interface to highly-parameterizable queues/deques.
2a4c2bd
2a4c2bd
Background: There exists a feature space for queues that extends between:
2a4c2bd
2a4c2bd
* simple, single-ended, non-concurrent, bounded queues
2a4c2bd
2a4c2bd
* double-ended, threadsafe, growable queues
2a4c2bd
2a4c2bd
... with important points inbetween (such as the queues used for
2a4c2bd
work-stealing).
2a4c2bd
2a4c2bd
This package includes an interface for Deques that allows the programmer to use
2a4c2bd
a single API for all of the above, while using the type-system to select an
2a4c2bd
efficient implementation given the requirements (using type families).
2a4c2bd
2a4c2bd
This package also includes a simple reference implementation based on 'IORef'
2a4c2bd
and "Data.Sequence".
2a4c2bd
2a4c2bd
2a4c2bd
%package devel
2a4c2bd
Summary:        Haskell %{pkg_name} library development files
2a4c2bd
Provides:       %{name}-static = %{version}-%{release}
143f76a
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
262b89e
%if %{defined ghc_version}
2a4c2bd
Requires:       ghc-compiler = %{ghc_version}
262b89e
%endif
2a4c2bd
Requires:       %{name}%{?_isa} = %{version}-%{release}
2a4c2bd
2a4c2bd
%description devel
2a4c2bd
This package provides the Haskell %{pkg_name} library development files.
2a4c2bd
2a4c2bd
ea6a2f1
%if %{with haddock}
ea6a2f1
%package doc
ea6a2f1
Summary:        Haskell %{pkg_name} library documentation
20c7cf7
BuildArch:      noarch
67b8883
Requires:       ghc-filesystem
ea6a2f1
ea6a2f1
%description doc
ea6a2f1
This package provides the Haskell %{pkg_name} library documentation.
ea6a2f1
%endif
ea6a2f1
ea6a2f1
ea6a2f1
%if %{with ghc_prof}
ea6a2f1
%package prof
ea6a2f1
Summary:        Haskell %{pkg_name} profiling library
ea6a2f1
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
20c7cf7
Supplements:    (%{name}-devel and ghc-prof)
ea6a2f1
ea6a2f1
%description prof
ea6a2f1
This package provides the Haskell %{pkg_name} profiling library.
ea6a2f1
%endif
ea6a2f1
ea6a2f1
2a4c2bd
%prep
4e8a9c8
# Begin cabal-rpm setup:
2a4c2bd
%setup -q -n %{pkgver}
4e8a9c8
# End cabal-rpm setup
2a4c2bd
2a4c2bd
2a4c2bd
%build
4e8a9c8
# Begin cabal-rpm build:
2a4c2bd
%ghc_lib_build
4e8a9c8
# End cabal-rpm build
2a4c2bd
2a4c2bd
2a4c2bd
%install
4e8a9c8
# Begin cabal-rpm install
2a4c2bd
%ghc_lib_install
4e8a9c8
# End cabal-rpm install
2a4c2bd
2a4c2bd
2a4c2bd
%files -f %{name}.files
4e8a9c8
# Begin cabal-rpm files:
2a4c2bd
%license LICENSE
4e8a9c8
# End cabal-rpm files
2a4c2bd
2a4c2bd
2a4c2bd
%files devel -f %{name}-devel.files
2a4c2bd
2a4c2bd
ea6a2f1
%if %{with haddock}
ea6a2f1
%files doc -f %{name}-doc.files
20c7cf7
%license LICENSE
ea6a2f1
%endif
ea6a2f1
ea6a2f1
ea6a2f1
%if %{with ghc_prof}
ea6a2f1
%files prof -f %{name}-prof.files
ea6a2f1
%endif
ea6a2f1
ea6a2f1
2a4c2bd
%changelog
a93bcff
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.3-14
a93bcff
- rebuild
a93bcff
728be03
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-13
728be03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
728be03
e3987ae
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-12
e3987ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e3987ae
3978f0c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-11
3978f0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3978f0c
858ffbc
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.3-10
858ffbc
- refresh to cabal-rpm-2.0.6
858ffbc
5ad0dec
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-9
5ad0dec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5ad0dec
ea6a2f1
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.3-8
ea6a2f1
- add doc and prof subpackages (cabal-rpm-1.0.0)
ea6a2f1
bd0ba89
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-7
bd0ba89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
bd0ba89
4e8a9c8
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.3-6
4e8a9c8
- refresh to cabal-rpm-0.13
4e8a9c8
b450990
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-5
b450990
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b450990
a616eeb
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4
a616eeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a616eeb
a16f5d1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-3
a16f5d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a16f5d1
c49dbf6
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.3-2
c49dbf6
- rebuild
c49dbf6
2a4c2bd
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3-1
2a4c2bd
- spec file generated by cabal-rpm-0.11.2