Blob Blame History Raw
# generated by cabal-rpm-1.0.1

%global pkg_name abstract-deque
%global pkgver %{pkg_name}-%{version}

Name:           ghc-%{pkg_name}
Version:        0.3
Release:        8%{?dist}
Summary:        Abstract, parameterized interface to mutable Deques

License:        BSD
Url:  {pkg_name}
# Begin cabal-rpm sources:
# End cabal-rpm sources

# Begin cabal-rpm deps:
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-array-prof
BuildRequires:  ghc-base-prof
BuildRequires:  ghc-containers-prof
BuildRequires:  ghc-random-prof
BuildRequires:  ghc-time-prof
# End cabal-rpm deps

An abstract interface to highly-parameterizable queues/deques.

Background: There exists a feature space for queues that extends between:

* simple, single-ended, non-concurrent, bounded queues

* double-ended, threadsafe, growable queues

... with important points inbetween (such as the queues used for

This package includes an interface for Deques that allows the programmer to use
a single API for all of the above, while using the type-system to select an
efficient implementation given the requirements (using type families).

This package also includes a simple reference implementation based on 'IORef'
and "Data.Sequence".

%package devel
Summary:        Haskell %{pkg_name} library development files
Provides:       %{name}-static = %{version}-%{release}
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires:       ghc-compiler = %{ghc_version}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%if %{with haddock}
%package doc
Summary:        Haskell %{pkg_name} library documentation

%description doc
This package provides the Haskell %{pkg_name} library documentation.

%if %{with ghc_prof}
%package prof
Summary:        Haskell %{pkg_name} profiling library
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}

%description prof
This package provides the Haskell %{pkg_name} profiling library.

# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup

# Begin cabal-rpm build:
# End cabal-rpm build

# Begin cabal-rpm install
# End cabal-rpm install

%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files

%files devel -f %{name}-devel.files

%if %{with haddock}
%files doc -f %{name}-doc.files

%if %{with ghc_prof}
%files prof -f %{name}-prof.files

* Thu Aug 01 2019 Jens Petersen <> - 0.3-8
- add doc and prof subpackages (cabal-rpm-1.0.0)

* Thu Jul 25 2019 Fedora Release Engineering <> - 0.3-7
- Rebuilt for

* Sun Feb 17 2019 Jens Petersen <> - 0.3-6
- refresh to cabal-rpm-0.13

* Thu Jan 31 2019 Fedora Release Engineering <> - 0.3-5
- Rebuilt for

* Fri Jul 13 2018 Fedora Release Engineering <> - 0.3-4
- Rebuilt for

* Wed Feb 07 2018 Fedora Release Engineering <> - 0.3-3
- Rebuilt for

* Fri Jan 26 2018 Jens Petersen <> - 0.3-2
- rebuild

* Sat Nov 18 2017 Fedora Haskell SIG <> - 0.3-1
- spec file generated by cabal-rpm-0.11.2