From c65b62d1684da228f88941483aefe0ce926f84fb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 31 Jan 2014 11:11:23 +0900 Subject: [PATCH] Revert "obsoleted by haskell-platform subpackage" This reverts commit c4ae79e90d4b548068dac5b4b2c6e2a52dcbc76e. --- .gitignore | 5 ++ dead.package | 1 - ghc-network.spec | 127 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 ghc-network.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..146fecd --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +network-2.2.1.7.tar.gz +/network-2.3.tar.gz +/network-2.3.0.2.tar.gz +/network-2.3.0.5.tar.gz +/network-2.3.0.11.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 6dee5e4..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -obsoleted by haskell-platform subpackage diff --git a/ghc-network.spec b/ghc-network.spec new file mode 100644 index 0000000..feee2b1 --- /dev/null +++ b/ghc-network.spec @@ -0,0 +1,127 @@ +%global pkg_name network + +%global common_summary Haskell %{pkg_name} library + +%global common_description A Haskell network library. + +Name: ghc-%{pkg_name} +# part of haskell-platform +Version: 2.3.0.11 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-parsec-prof + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE +%doc examples + + +%changelog +* Tue Mar 20 2012 Jens Petersen - 2.3.0.11-1 +- update to 2.3.0.11 + +* Fri Jan 13 2012 Fedora Release Engineering - 2.3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 28 2011 Jens Petersen - 2.3.0.5-1 +- update to 2.3.0.5 for haskell-platform-2011.4.0.0 +- cabal2spec-0.25.1 +- includes examples in devel doc + +* Mon Oct 24 2011 Marcela Mašláňová - 2.3.0.2-5.3 +- rebuild with new gmp without compat lib + +* Fri Oct 21 2011 Marcela Mašláňová - 2.3.0.2-5.2 +- rebuild with new gmp without compat lib + +* Tue Oct 11 2011 Peter Schiffer - 2.3.0.2-5.1 +- rebuild with new gmp + +* Tue Jun 21 2011 Jens Petersen - 2.3.0.2-5 +- ghc_arches replaces ghc_excluded_archs + +* Mon Jun 20 2011 Jens Petersen - 2.3.0.2-4 +- BR ghc-Cabal-devel and use ghc_excluded_archs + +* Fri May 27 2011 Jens Petersen - 2.3.0.2-3 +- update to cabal2spec-0.23: add ppc64 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 2.3.0.2-2 +- Enable build on sparcv9 + +* Tue Feb 15 2011 Jens Petersen - 2.3.0.2-1 +- update to 2.3.0.2 for haskell-platform-2011.1 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jan 15 2011 Jens Petersen - 2.3-2 +- update to cabal2spec-0.22.4 + +* Sun Dec 5 2010 Jens Petersen - 2.3-1 +- update to 2.3 + +* Thu Nov 25 2010 Jens Petersen - 2.2.1.7-5 +- update url and drop -o obsoletes + +* Sat Sep 4 2010 Jens Petersen - 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 + +* Fri Jun 25 2010 Jens Petersen - 2.2.1.7-3 +- strip shared library (cabal2spec-0.21.4) + +* Mon Apr 26 2010 Jens Petersen - 2.2.1.7-2 +- rebuild against ghc-6.12.2 +- condition ghc_lib_package + +* Tue Mar 23 2010 Jens Petersen - 2.2.1.7-1 +- update to 2.2.1.7 for haskell-platform-2010.1.0.0 + +* Mon Jan 11 2010 Jens Petersen - 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 + +* Tue Sep 22 2009 Jens Petersen - 2.2.1.4-2 +- version ghcdocdir to avoid conflict with ghc-doc-6.10.4 (#523884) + +* Wed Sep 16 2009 Jens Petersen - 2.2.1.4-1 +- initial packaging for Fedora created by cabal2spec diff --git a/sources b/sources new file mode 100644 index 0000000..5e6cb51 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +cfe4922ac85685be9f86d4d34654f481 network-2.3.0.11.tar.gz