3857406ba9
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
155 lines
4.8 KiB
RPMSpec
155 lines
4.8 KiB
RPMSpec
%global pkg_name HTTP
|
|
|
|
%global common_summary Haskell HTTP client library
|
|
|
|
%global common_description A Haskell library for client-side HTTP.
|
|
|
|
%global ghc_pkg_deps ghc-network-devel ghc-mtl-devel
|
|
|
|
Name: ghc-%{pkg_name}
|
|
# part of haskell-platform-2011.1.0.0
|
|
Version: 4000.1.1
|
|
Release: 5%{?dist}
|
|
Summary: %{common_summary}
|
|
|
|
Group: System Environment/Libraries
|
|
License: BSD
|
|
URL: http://projects.haskell.org/http/
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
# fedora ghc archs:
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
BuildRequires: hscolour
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
%changelog
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 4000.1.1-5
|
|
- Enable build on sparcv9
|
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-4
|
|
- rebuild for haskell-platform-2011.1 updates
|
|
|
|
* 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
|
|
|
|
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-2
|
|
- update to cabal2spec-0.22.4
|
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 4000.1.1-1
|
|
- update to 4000.1.1
|
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.1.0-1
|
|
- update to 4000.1.0
|
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-6
|
|
- drop -o obsoletes
|
|
|
|
* 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
|
|
|
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-4
|
|
- sync cabal2spec-0.22
|
|
|
|
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-3
|
|
- rebuild against ghc-6.12.2
|
|
|
|
* Wed Mar 24 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-2
|
|
- rebuild against network-2.2.1.7
|
|
|
|
* 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
|
|
|
|
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 4000.0.8-2
|
|
- rebuild against ghc-mtl package
|
|
|
|
* 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
|
|
- buildrequires mtl
|
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
|
|
- use %%ghc_pkg_ver for requires
|
|
|
|
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
|
|
- buildrequire the new ghc-network library
|
|
|
|
* 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
|
|
|
|
* 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)
|
|
|
|
* 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)
|
|
|
|
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
|
|
- update to 4000.0.6
|
|
- sync with cabal2spec-0.14
|
|
- compile Setup on ppc to workaround runghc failure
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Mon Feb 23 2009 Jens Petersen <petersen@redhat.com> - 4000.0.4-1
|
|
- update to 4000.0.4
|
|
|
|
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 3001.1.5-2
|
|
- sync with latest template and add a doc subpackage
|
|
|
|
* 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
|