Initial import (#1485501).

This commit is contained in:
Elliott Sales de Andrade 2017-08-28 19:19:31 -04:00
parent 8b3296665e
commit 51fb2f6ebc
4 changed files with 91 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/resource-pool-0.2.3.2.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-resource-pool
The ghc-resource-pool package

89
ghc-resource-pool.spec Normal file
View File

@ -0,0 +1,89 @@
# generated by cabal-rpm-0.10.0
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name resource-pool
Name: ghc-%{pkg_name}
Version: 0.2.3.2
Release: 7.git.0.29fc315%{?dist}
Summary: A high-performance striped resource pooling implementation
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-stm-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-vector-devel
# End cabal-rpm deps
%description
A high-performance striped pooling abstraction for managing flexibly-sized
collections of resources such as database connections.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc README.markdown
%changelog
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.3.2-7
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.3.2-6
- Bump for Fedora 26.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.3.2-5
- Bump to rebuild against new dependencies
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.3.2-4
- Bump to rebuild against new dependencies
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.3.2-3
- Update release to be newer than previous builds
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.3.2-1
- spec file generated by cabal-rpm-0.10.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (resource-pool-0.2.3.2.tar.gz) = 42b0bb6dea35c08884f65604acc0dd93707b8d4de780c584877e92fbfe534d4f754282e9c9f7257c203f1152d85ac8170f84ee9a95573343d02a774006c4118b