2009-02-27 06:54:33 +00:00
|
|
|
%global pkg_name HTTP
|
2009-01-07 04:31:51 +00:00
|
|
|
|
2010-01-11 13:04:57 +00:00
|
|
|
%global common_summary Haskell HTTP client library
|
2009-01-07 04:31:51 +00:00
|
|
|
|
2010-01-11 13:04:57 +00:00
|
|
|
%global common_description A Haskell library for client-side HTTP.
|
|
|
|
|
2009-02-13 04:15:06 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2011-12-28 07:37:18 +00:00
|
|
|
# part of haskell-platform-2011.4.0.0
|
|
|
|
Version: 4000.1.2
|
|
|
|
Release: 1%{?dist}
|
2010-01-11 13:04:57 +00:00
|
|
|
Summary: %{common_summary}
|
2009-02-13 04:15:06 +00:00
|
|
|
|
2010-01-11 13:04:57 +00:00
|
|
|
Group: System Environment/Libraries
|
2009-02-13 04:15:06 +00:00
|
|
|
License: BSD
|
2009-02-27 06:54:33 +00:00
|
|
|
URL: http://projects.haskell.org/http/
|
2009-02-13 04:15:06 +00:00
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-21 07:55:25 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
2011-06-20 02:42:52 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2011-12-28 07:37:18 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-network-prof
|
2009-02-27 06:54:33 +00:00
|
|
|
|
|
|
|
%description
|
2010-01-11 13:04:57 +00:00
|
|
|
%{common_description}
|
2009-02-13 04:15:06 +00:00
|
|
|
|
|
|
|
|
2009-01-07 04:31:51 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-06-26 13:07:55 +00:00
|
|
|
%ghc_lib_build
|
2009-01-07 04:31:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2010-06-26 13:07:55 +00:00
|
|
|
%ghc_lib_install
|
2009-01-07 04:31:51 +00:00
|
|
|
|
|
|
|
|
2011-12-28 07:37:18 +00:00
|
|
|
%ghc_devel_package
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
|
|
|
%doc CHANGES
|
2010-07-31 12:24:09 +00:00
|
|
|
|
|
|
|
|
2009-01-07 04:31:51 +00:00
|
|
|
%changelog
|
2011-12-28 07:37:18 +00:00
|
|
|
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 4000.1.2-1
|
|
|
|
- update to 4000.1.2 for haskell-platform-2011.4.0.0
|
|
|
|
- update to cabal2spec-0.25.1
|
|
|
|
|
2011-10-24 13:28:37 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.3
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-20 23:20:07 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4000.1.1-8.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 14:06:26 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 4000.1.1-8.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-06-21 07:55:25 +00:00
|
|
|
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-8
|
|
|
|
- ghc_arches replaces ghc_excluded_archs
|
|
|
|
|
2011-06-20 02:42:52 +00:00
|
|
|
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-7
|
|
|
|
- BR ghc-Cabal-devel and use ghc_excluded_archs
|
|
|
|
|
2011-05-27 09:22:17 +00:00
|
|
|
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-6
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 4000.1.1-5
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-15 09:45:34 +00:00
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-4
|
|
|
|
- rebuild for haskell-platform-2011.1 updates
|
|
|
|
|
2011-02-09 00:54:01 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-15 13:23:02 +00:00
|
|
|
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-2
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-05 09:42:44 +00:00
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 4000.1.1-1
|
|
|
|
- update to 4000.1.1
|
|
|
|
|
2010-11-25 04:10:50 +00:00
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.1.0-1
|
|
|
|
- update to 4000.1.0
|
|
|
|
|
2010-11-25 03:53:52 +00:00
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-6
|
|
|
|
- drop -o obsoletes
|
|
|
|
|
2010-07-31 12:24:09 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-5
|
|
|
|
- ghc-rpm-macros-0.8.1 for doc obsoletes
|
|
|
|
- part of haskell-platform-2010.2.0.0
|
|
|
|
- add hscolour
|
|
|
|
|
2010-06-26 13:07:55 +00:00
|
|
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-4
|
|
|
|
- sync cabal2spec-0.22
|
|
|
|
|
2010-04-27 02:36:29 +00:00
|
|
|
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-3
|
|
|
|
- rebuild against ghc-6.12.2
|
|
|
|
|
2010-03-24 07:46:25 +00:00
|
|
|
* Wed Mar 24 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-2
|
|
|
|
- rebuild against network-2.2.1.7
|
|
|
|
|
2010-03-23 00:45:18 +00:00
|
|
|
* Tue Mar 23 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-1
|
|
|
|
- update to 4000.0.9 for haskell-platform-2010.1.0.0
|
|
|
|
|
2010-01-11 15:02:12 +00:00
|
|
|
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-2
|
|
|
|
- rebuild against ghc-mtl package
|
|
|
|
|
2010-01-11 13:04:57 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-1
|
|
|
|
- update to 4000.0.8 (haskell-platform-2009.3.1)
|
|
|
|
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
|
|
|
|
- drop doc and prof bcond
|
|
|
|
- use common_summary and common_description
|
|
|
|
- use ghc_lib_package and ghc_pkg_deps
|
|
|
|
- build shared library
|
|
|
|
- drop redundant buildroot and its install cleaning
|
2010-01-11 13:35:43 +00:00
|
|
|
- buildrequires mtl
|
2010-01-11 13:04:57 +00:00
|
|
|
|
2009-11-16 13:47:32 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
|
|
|
|
- use %%ghc_pkg_ver for requires
|
|
|
|
|
2009-09-28 01:02:21 +00:00
|
|
|
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
|
2009-09-28 01:33:04 +00:00
|
|
|
- buildrequire the new ghc-network library
|
2009-09-28 01:02:21 +00:00
|
|
|
|
2009-07-25 00:03:32 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-29 23:33:35 +00:00
|
|
|
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-3
|
|
|
|
- ppc workaround no longer needed with ghc-6.10.3
|
|
|
|
- provide ghc-HTTP (cabal2spec-0.17)
|
|
|
|
|
2009-05-13 13:00:40 +00:00
|
|
|
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-2
|
|
|
|
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)
|
|
|
|
|
2009-04-25 12:14:23 +00:00
|
|
|
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
|
2009-04-24 13:33:28 +00:00
|
|
|
- update to 4000.0.6
|
|
|
|
- sync with cabal2spec-0.14
|
2009-04-25 12:14:23 +00:00
|
|
|
- compile Setup on ppc to workaround runghc failure
|
2009-04-24 13:33:28 +00:00
|
|
|
|
2009-02-27 06:54:33 +00:00
|
|
|
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-3
|
|
|
|
- update url
|
|
|
|
- update to cabal2spec-0.12:
|
|
|
|
- use ix86 in archs and add alpha
|
|
|
|
- add devel subpackage
|
|
|
|
- use global rather than define
|
|
|
|
- devel owns docdir
|
|
|
|
|
2009-02-24 21:15:05 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4000.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-23 06:30:43 +00:00
|
|
|
* Mon Feb 23 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-1
|
|
|
|
- update to 4000.0.4
|
|
|
|
|
2009-02-13 04:15:06 +00:00
|
|
|
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 3001.1.5-2
|
|
|
|
- sync with latest template and add a doc subpackage
|
|
|
|
|
2009-01-07 04:31:51 +00:00
|
|
|
* Tue Dec 23 2008 Jens Petersen <petersen@redhat.com> - 3001.1.5-1
|
|
|
|
- update to 3001.1.5
|
|
|
|
- use bcond for doc and prof
|
|
|
|
- minor tweaks for latest packaging guidelines
|
|
|
|
|
|
|
|
* Fri Nov 28 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-4
|
|
|
|
- drop LICENSE from -prof subpackage
|
|
|
|
|
|
|
|
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-3
|
|
|
|
- add build_doc and build_prof switches
|
|
|
|
- provide -devel
|
|
|
|
- drop redundant pre script
|
|
|
|
- only regenerate doc index in postun if uninstalling
|
|
|
|
|
|
|
|
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-2
|
|
|
|
- only build on ghc archs
|
|
|
|
- version install script requires
|
|
|
|
|
|
|
|
* Mon Nov 10 2008 Jens Petersen <petersen@redhat.com> - 3001.1.4-1
|
|
|
|
- initial packaging for fedora
|