Blame SPECS/ghc-HTTP.spec

bfd397
# generated by cabal-rpm-0.12.1
bfd397
# https://fedoraproject.org/wiki/Packaging:Haskell
bfd397
bfd397
%global pkg_name HTTP
bfd397
%global pkgver %{pkg_name}-%{version}
bfd397
bfd397
%bcond_with tests
bfd397
bfd397
Name:           ghc-%{pkg_name}
bfd397
# part of haskell-platform
bfd397
Version:        4000.3.9
bfd397
Release:        2%{?dist}
bfd397
Summary:        A library for client-side HTTP
bfd397
bfd397
License:        BSD
bfd397
Url:            https://hackage.haskell.org/package/%{pkg_name}
bfd397
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
bfd397
bfd397
BuildRequires:  ghc-Cabal-devel
bfd397
BuildRequires:  ghc-rpm-macros
bfd397
# Begin cabal-rpm deps:
bfd397
BuildRequires:  ghc-array-devel
bfd397
BuildRequires:  ghc-bytestring-devel
bfd397
BuildRequires:  ghc-mtl-devel
bfd397
BuildRequires:  ghc-network-devel
bfd397
BuildRequires:  ghc-network-uri-devel
bfd397
BuildRequires:  ghc-parsec-devel
bfd397
BuildRequires:  ghc-time-devel
bfd397
%if %{with tests}
bfd397
BuildRequires:  ghc-HUnit-devel
bfd397
BuildRequires:  ghc-case-insensitive-devel
bfd397
BuildRequires:  ghc-conduit-devel
bfd397
BuildRequires:  ghc-conduit-extra-devel
bfd397
BuildRequires:  ghc-deepseq-devel
bfd397
BuildRequires:  ghc-http-types-devel
bfd397
BuildRequires:  ghc-httpd-shed-devel
bfd397
BuildRequires:  ghc-pureMD5-devel
bfd397
BuildRequires:  ghc-split-devel
bfd397
BuildRequires:  ghc-test-framework-devel
bfd397
BuildRequires:  ghc-test-framework-hunit-devel
bfd397
BuildRequires:  ghc-wai-devel
bfd397
BuildRequires:  ghc-warp-devel
bfd397
%endif
bfd397
# End cabal-rpm deps
bfd397
bfd397
%description
bfd397
The HTTP package supports client-side web programming in Haskell. It lets you
bfd397
set up HTTP connections, transmitting requests and processing the responses
bfd397
coming back, all from within the comforts of Haskell. It's dependent on the
bfd397
network package to operate, but other than that, the implementation is all
bfd397
written in Haskell.
bfd397
bfd397
A basic API for issuing single HTTP requests + receiving responses is provided.
bfd397
On top of that, a session-level abstraction is also on offer (the
bfd397
'BrowserAction' monad); it taking care of handling the management of persistent
bfd397
connections, proxies, state (cookies) and authentication credentials required
bfd397
to handle multi-step interactions with a web server.
bfd397
bfd397
The representation of the bytes flowing across is extensible via the use of a
bfd397
type class, letting you pick the representation of requests and responses that
bfd397
best fits your use. Some pre-packaged, common instances are provided for
bfd397
'ByteString' and 'String'.
bfd397
bfd397
bfd397
%package devel
bfd397
Summary:        Haskell %{pkg_name} library development files
bfd397
Provides:       %{name}-static = %{version}-%{release}
bfd397
Provides:       %{name}-doc = %{version}-%{release}
bfd397
%if %{defined ghc_version}
bfd397
Requires:       ghc-compiler = %{ghc_version}
bfd397
Requires(post): ghc-compiler = %{ghc_version}
bfd397
Requires(postun): ghc-compiler = %{ghc_version}
bfd397
%endif
bfd397
Requires:       %{name}%{?_isa} = %{version}-%{release}
bfd397
bfd397
%description devel
bfd397
This package provides the Haskell %{pkg_name} library development files.
bfd397
bfd397
bfd397
%prep
bfd397
%setup -q -n %{pkgver}
bfd397
bfd397
bfd397
%build
bfd397
%ghc_lib_build
bfd397
bfd397
bfd397
%install
bfd397
%ghc_lib_install
bfd397
bfd397
bfd397
%check
bfd397
%cabal_test
bfd397
bfd397
bfd397
%post devel
bfd397
%ghc_pkg_recache
bfd397
bfd397
bfd397
%postun devel
bfd397
%ghc_pkg_recache
bfd397
bfd397
bfd397
%files -f %{name}.files
bfd397
%license LICENSE
bfd397
bfd397
bfd397
%files devel -f %{name}-devel.files
bfd397
bfd397
bfd397
%changelog
bfd397
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.9-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bfd397
bfd397
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 4000.3.9-1
bfd397
- update to 4000.3.9
bfd397
bfd397
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.5-3
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bfd397
bfd397
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.5-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bfd397
bfd397
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 4000.3.5-1
bfd397
- update to 4000.3.5
bfd397
bfd397
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4000.3.3-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bfd397
bfd397
* Mon Jun 27 2016 Jens Petersen <petersen@redhat.com> - 4000.3.3-1
bfd397
- update to 4000.3.3
bfd397
bfd397
* Tue Jun  7 2016 Jens Petersen <petersen@redhat.com> - 4000.2.20-1
bfd397
- update to 4000.2.20
bfd397
bfd397
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4000.2.10-3
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bfd397
bfd397
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.2.10-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bfd397
bfd397
* Thu Aug  7 2014 Jens Petersen <petersen@redhat.com> - 4000.2.10-1
bfd397
- update to 4000.2.10
bfd397
bfd397
* Tue Jul  8 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-33
bfd397
- f21 rebuild
bfd397
bfd397
bfd397
* Wed Mar 26 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-32
bfd397
- bump over haskell-platform
bfd397
bfd397
* Tue Feb 18 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-31
bfd397
- update to 4000.2.8
bfd397
- bump release over haskell-platform
bfd397
- revive package with cblrpm-0.8.9
bfd397
bfd397
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 4000.2.2-1
bfd397
- update to 4000.2.2
bfd397
bfd397
* Mon Jan 23 2012 Jens Petersen <petersen@redhat.com> - 4000.1.2-3
bfd397
- update url
bfd397
bfd397
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.1.2-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bfd397
bfd397
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 4000.1.2-1
bfd397
- update to 4000.1.2 for haskell-platform-2011.4.0.0
bfd397
- update to cabal2spec-0.25.1
bfd397
bfd397
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.3
bfd397
- rebuild with new gmp without compat lib
bfd397
bfd397
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.2
bfd397
- rebuild with new gmp without compat lib
bfd397
bfd397
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 4000.1.1-8.1
bfd397
- rebuild with new gmp
bfd397
bfd397
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-8
bfd397
- ghc_arches replaces ghc_excluded_archs
bfd397
bfd397
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-7
bfd397
- BR ghc-Cabal-devel and use ghc_excluded_archs
bfd397
bfd397
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-6
bfd397
- update to cabal2spec-0.23: add ppc64
bfd397
bfd397
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 4000.1.1-5
bfd397
- Enable build on sparcv9
bfd397
bfd397
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-4
bfd397
- rebuild for haskell-platform-2011.1 updates
bfd397
bfd397
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.1.1-3
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bfd397
bfd397
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-2
bfd397
- update to cabal2spec-0.22.4
bfd397
bfd397
* Sun Dec  5 2010 Jens Petersen <petersen@redhat.com> - 4000.1.1-1
bfd397
- update to 4000.1.1
bfd397
bfd397
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.1.0-1
bfd397
- update to 4000.1.0
bfd397
bfd397
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-6
bfd397
- drop -o obsoletes
bfd397
bfd397
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-5
bfd397
- ghc-rpm-macros-0.8.1 for doc obsoletes
bfd397
- part of haskell-platform-2010.2.0.0
bfd397
- add hscolour
bfd397
bfd397
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-4
bfd397
- sync cabal2spec-0.22
bfd397
bfd397
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-3
bfd397
- rebuild against ghc-6.12.2
bfd397
bfd397
* Wed Mar 24 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-2
bfd397
- rebuild against network-2.2.1.7
bfd397
bfd397
* Tue Mar 23 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-1
bfd397
- update to 4000.0.9 for haskell-platform-2010.1.0.0
bfd397
bfd397
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-2
bfd397
- rebuild against ghc-mtl package
bfd397
bfd397
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-1
bfd397
- update to 4000.0.8 (haskell-platform-2009.3.1)
bfd397
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
bfd397
- drop doc and prof bcond
bfd397
- use common_summary and common_description
bfd397
- use ghc_lib_package and ghc_pkg_deps
bfd397
- build shared library
bfd397
- drop redundant buildroot and its install cleaning
bfd397
- buildrequires mtl
bfd397
bfd397
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
bfd397
- use %%ghc_pkg_ver for requires
bfd397
bfd397
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
bfd397
- buildrequire the new ghc-network library
bfd397
bfd397
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.6-4
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bfd397
bfd397
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-3
bfd397
- ppc workaround no longer needed with ghc-6.10.3
bfd397
- provide ghc-HTTP (cabal2spec-0.17)
bfd397
bfd397
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-2
bfd397
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)
bfd397
bfd397
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
bfd397
- update to 4000.0.6
bfd397
- sync with cabal2spec-0.14
bfd397
- compile Setup on ppc to workaround runghc failure
bfd397
bfd397
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-3
bfd397
- update url
bfd397
- update to cabal2spec-0.12:
bfd397
- use ix86 in archs and add alpha
bfd397
- add devel subpackage
bfd397
- use global rather than define
bfd397
- devel owns docdir
bfd397
bfd397
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.4-2
bfd397
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bfd397
bfd397
* Mon Feb 23 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-1
bfd397
- update to 4000.0.4
bfd397
bfd397
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 3001.1.5-2
bfd397
- sync with latest template and add a doc subpackage
bfd397
bfd397
* Tue Dec 23 2008 Jens Petersen <petersen@redhat.com> - 3001.1.5-1
bfd397
- update to 3001.1.5
bfd397
- use bcond for doc and prof
bfd397
- minor tweaks for latest packaging guidelines
bfd397
bfd397
* Fri Nov 28 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-4
bfd397
- drop LICENSE from -prof subpackage
bfd397
bfd397
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-3
bfd397
- add build_doc and build_prof switches
bfd397
- provide -devel
bfd397
- drop redundant pre script
bfd397
- only regenerate doc index in postun if uninstalling
bfd397
bfd397
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-2
bfd397
- only build on ghc archs
bfd397
- version install script requires
bfd397
bfd397
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-1
bfd397
- initial packaging for fedora