2009-09-22 02:41:48 +00:00
|
|
|
%global pkg_name network
|
|
|
|
|
2010-01-11 12:55:59 +00:00
|
|
|
%global common_summary Haskell %{pkg_name} library
|
2009-09-22 02:41:48 +00:00
|
|
|
|
2010-01-11 12:55:59 +00:00
|
|
|
%global common_description A Haskell network library.
|
2009-09-22 02:41:48 +00:00
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2011-06-20 02:29:09 +00:00
|
|
|
# part of haskell-platform-2011.2.0.1
|
2011-02-15 08:48:53 +00:00
|
|
|
Version: 2.3.0.2
|
2011-10-21 00:32:48 +00:00
|
|
|
Release: 5%{?dist}.2
|
2010-01-11 12:55:59 +00:00
|
|
|
Summary: %{common_summary}
|
2009-09-22 02:41:48 +00:00
|
|
|
|
2010-01-11 12:55:59 +00:00
|
|
|
Group: System Environment/Libraries
|
2009-09-22 02:41:48 +00:00
|
|
|
License: BSD
|
2010-11-25 02:08:52 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
2009-09-22 02:41:48 +00:00
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-21 08:39:34 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
2011-06-20 02:29:09 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2011-05-27 08:49:57 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2010-09-04 11:04:50 +00:00
|
|
|
BuildRequires: hscolour
|
2011-05-27 08:49:57 +00:00
|
|
|
BuildRequires: ghc-parsec-prof
|
2009-09-22 02:41:48 +00:00
|
|
|
|
|
|
|
%description
|
2010-01-11 12:55:59 +00:00
|
|
|
%{common_description}
|
2009-09-22 02:41:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-09-04 11:04:50 +00:00
|
|
|
%ghc_lib_build
|
2009-09-22 02:41:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2010-09-04 11:04:50 +00:00
|
|
|
%ghc_lib_install
|
2009-09-22 02:41:48 +00:00
|
|
|
|
|
|
|
|
2010-11-25 02:08:52 +00:00
|
|
|
%ghc_lib_package
|
2010-09-04 11:04:50 +00:00
|
|
|
|
|
|
|
|
2009-09-22 02:41:48 +00:00
|
|
|
%changelog
|
2011-10-21 00:32:48 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.3.0.2-5.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 15:26:38 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 2.3.0.2-5.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-06-21 08:39:34 +00:00
|
|
|
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-5
|
|
|
|
- ghc_arches replaces ghc_excluded_archs
|
|
|
|
|
2011-06-20 02:29:09 +00:00
|
|
|
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-4
|
|
|
|
- BR ghc-Cabal-devel and use ghc_excluded_archs
|
|
|
|
|
2011-05-27 08:49:57 +00:00
|
|
|
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-3
|
|
|
|
- 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> - 2.3.0.2-2
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-15 08:48:53 +00:00
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-1
|
|
|
|
- update to 2.3.0.2 for haskell-platform-2011.1
|
|
|
|
|
2011-02-09 01:24:23 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-15 12:33:58 +00:00
|
|
|
* Sat Jan 15 2011 Jens Petersen <petersen@redhat.com> - 2.3-2
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-05 09:20:32 +00:00
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 2.3-1
|
|
|
|
- update to 2.3
|
|
|
|
|
2010-11-25 02:08:52 +00:00
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.7-5
|
|
|
|
- update url and drop -o obsoletes
|
|
|
|
|
2010-09-04 11:04:50 +00:00
|
|
|
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.7-4
|
|
|
|
- update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2)
|
|
|
|
- part of haskell-platform-2010.2.0.0
|
|
|
|
|
2010-06-25 12:52:32 +00:00
|
|
|
* Fri Jun 25 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.7-3
|
|
|
|
- strip shared library (cabal2spec-0.21.4)
|
|
|
|
|
2010-04-26 07:45:55 +00:00
|
|
|
* Mon Apr 26 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.7-2
|
|
|
|
- rebuild against ghc-6.12.2
|
|
|
|
- condition ghc_lib_package
|
|
|
|
|
2010-03-23 01:29:46 +00:00
|
|
|
* Tue Mar 23 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.7-1
|
|
|
|
- update to 2.2.1.7 for haskell-platform-2010.1.0.0
|
|
|
|
|
2010-01-11 12:55:59 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 2.2.1.5-1
|
|
|
|
- update to 2.2.1.5 (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
|
|
|
|
|
2009-09-22 02:41:48 +00:00
|
|
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 2.2.1.4-2
|
|
|
|
- version ghcdocdir to avoid conflict with ghc-doc-6.10.4 (#523884)
|
|
|
|
|
|
|
|
* Wed Sep 16 2009 Jens Petersen <petersen@redhat.com> - 2.2.1.4-1
|
|
|
|
- initial packaging for Fedora created by cabal2spec
|