Initial import (#1496543).

This commit is contained in:
Elliott Sales de Andrade 2017-09-28 22:44:25 -04:00
parent baede0bbbd
commit 02d15a8f74
4 changed files with 137 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/http-conduit-2.2.3.2.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-http-conduit
The ghc-http-conduit package

135
ghc-http-conduit.spec Normal file
View File

@ -0,0 +1,135 @@
# generated by cabal-rpm-0.10.0
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name http-conduit
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.2.3.2
Release: 1.git.0.b4bf0cd%{?dist}
Summary: HTTP client package with conduit interface and HTTPS support
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-aeson-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-transformers-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-connection-devel
BuildRequires: ghc-cookie-devel
BuildRequires: ghc-data-default-class-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-streaming-commons-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-wai-conduit-devel
BuildRequires: ghc-wai-devel
BuildRequires: ghc-warp-devel
BuildRequires: ghc-warp-tls-devel
%endif
# End cabal-rpm deps
%description
This package uses conduit for parsing the actual contents of the HTTP
connection. It also provides higher-level functions which allow you to avoid
directly dealing with streaming data. See
<http://www.yesodweb.com/book/http-conduit> for more information.
The 'Network.HTTP.Conduit.Browser' module has been moved to
<http://hackage.haskell.org/package/http-conduit-browser/>.
%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
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc ChangeLog.md README.md
%changelog
* Sun Jul 23 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.2.3.2-1
- Update to latest version.
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.1.10-7
- Bump for Fedora 26.
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-6
- spec file generated by cabal-rpm-0.10.0
- Update release to be newer than previous builds
* Mon May 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-5
- Bump to rebuild against new dependencies
* Thu May 05 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-4
- Bump to rebuild against new dependencies
* Sun May 01 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-3
- Bump to rebuild against new dependencies
* Fri Apr 29 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-2
- Bump to rebuild against new dependencies
* Sun Apr 24 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.10-1
- New upstream release
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 2.1.8-1
- initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (http-conduit-2.2.3.2.tar.gz) = 07732465673fc4a42115a4a9d4a2e1eec8f826a36dda5825551adf98840810c2c6a22191621fcf1b1ab09e3efd21d190fb3b44f20555ffd601d3dad3efd58e08