Blame ghc-http-client-tls.spec

a49b09
# generated by cabal-rpm-0.12.1
dfbf42
# https://fedoraproject.org/wiki/Packaging:Haskell
dfbf42
dfbf42
%global pkg_name http-client-tls
b67c14
%global pkgver %{pkg_name}-%{version}
dfbf42
dfbf42
%bcond_with tests
dfbf42
dfbf42
Name:           ghc-%{pkg_name}
6dd109
Version:        0.3.5.3
3f0f68
Release:        3%{?dist}
dfbf42
Summary:        Http-client backend using the connection package and tls library
dfbf42
dfbf42
License:        MIT
dfbf42
Url:            https://hackage.haskell.org/package/%{pkg_name}
b67c14
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
dfbf42
dfbf42
BuildRequires:  ghc-Cabal-devel
dfbf42
BuildRequires:  ghc-rpm-macros
dfbf42
# Begin cabal-rpm deps:
dfbf42
BuildRequires:  ghc-bytestring-devel
dfbf42
BuildRequires:  ghc-case-insensitive-devel
dfbf42
BuildRequires:  ghc-connection-devel
dfbf42
BuildRequires:  ghc-containers-devel
dfbf42
BuildRequires:  ghc-cryptonite-devel
dfbf42
BuildRequires:  ghc-data-default-class-devel
dfbf42
BuildRequires:  ghc-exceptions-devel
dfbf42
BuildRequires:  ghc-http-client-devel
dfbf42
BuildRequires:  ghc-http-types-devel
dfbf42
BuildRequires:  ghc-memory-devel
dfbf42
BuildRequires:  ghc-network-devel
dfbf42
BuildRequires:  ghc-network-uri-devel
dfbf42
BuildRequires:  ghc-text-devel
dfbf42
BuildRequires:  ghc-tls-devel
dfbf42
BuildRequires:  ghc-transformers-devel
dfbf42
%if %{with tests}
dfbf42
BuildRequires:  ghc-hspec-devel
dfbf42
BuildRequires:  ghc-http-types-devel
dfbf42
%endif
dfbf42
# End cabal-rpm deps
dfbf42
dfbf42
%description
640a51
Use the http-client package with the pure-Haskell tls package for secure
640a51
connections. Intended for use by higher-level libraries, such as http-conduit.
dfbf42
dfbf42
dfbf42
%package devel
dfbf42
Summary:        Haskell %{pkg_name} library development files
dfbf42
Provides:       %{name}-static = %{version}-%{release}
a49b09
Provides:       %{name}-doc = %{version}-%{release}
a49b09
%if %{defined ghc_version}
dfbf42
Requires:       ghc-compiler = %{ghc_version}
dfbf42
Requires(post): ghc-compiler = %{ghc_version}
dfbf42
Requires(postun): ghc-compiler = %{ghc_version}
a49b09
%endif
dfbf42
Requires:       %{name}%{?_isa} = %{version}-%{release}
dfbf42
dfbf42
%description devel
dfbf42
This package provides the Haskell %{pkg_name} library development
dfbf42
files.
dfbf42
dfbf42
dfbf42
%prep
b67c14
%setup -q -n %{pkgver}
dfbf42
dfbf42
dfbf42
%build
dfbf42
%ghc_lib_build
dfbf42
dfbf42
dfbf42
%install
dfbf42
%ghc_lib_install
dfbf42
dfbf42
dfbf42
%check
dfbf42
%cabal_test
dfbf42
dfbf42
dfbf42
%post devel
dfbf42
%ghc_pkg_recache
dfbf42
dfbf42
dfbf42
%postun devel
dfbf42
%ghc_pkg_recache
dfbf42
dfbf42
dfbf42
%files -f %{name}.files
dfbf42
%license LICENSE
dfbf42
dfbf42
dfbf42
%files devel -f %{name}-devel.files
dfbf42
%doc ChangeLog.md README.md
dfbf42
dfbf42
dfbf42
%changelog
3f0f68
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.5.3-3
3f0f68
- Rebuilt for #1607054
3f0f68
db7a02
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5.3-2
db7a02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
db7a02
6dd109
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.5.3-1
6dd109
- update to 0.3.5.3
6dd109
e50321
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5.1-3
e50321
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e50321
55bf1e
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.3.5.1-2
55bf1e
- rebuild
55bf1e
dfbf42
* Sun Jul 23 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.5.1-1
dfbf42
- Update to latest version.
dfbf42
dfbf42
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.4-7
dfbf42
- Bump for Fedora 26.
dfbf42
dfbf42
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-6
dfbf42
- Bump to rebuild against new dependencies
dfbf42
dfbf42
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-5
dfbf42
- spec file generated by cabal-rpm-0.10.0
dfbf42
- Update release to be newer than previous builds
dfbf42
dfbf42
* Mon May 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-4
dfbf42
- Bump to rebuild against new dependencies
dfbf42
dfbf42
* Thu May 05 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-3
dfbf42
- Bump to rebuild against new dependencies
dfbf42
dfbf42
* Sun May 01 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-2
dfbf42
- Bump to rebuild against new dependencies
dfbf42
dfbf42
* Sun Apr 24 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.4-1
dfbf42
- New upstream release
dfbf42
dfbf42
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 0.2.2-1
dfbf42
- initial package