From f1e8e6d06fe97a00ad7fd6b88e2b4fcef32feb6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 01:25:26 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ghc-tagged#c4fb12bc0a675c701ecb2913f80c533bd7931d42 --- .gitignore | 11 +++ ghc-tagged.spec | 219 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + tagged-0.8.6.cabal | 83 +++++++++++++++++ 4 files changed, 314 insertions(+) create mode 100644 ghc-tagged.spec create mode 100644 sources create mode 100644 tagged-0.8.6.cabal diff --git a/.gitignore b/.gitignore index e69de29..d369b70 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,11 @@ +/tagged-0.2.3.1.tar.gz +/tagged-0.4.1.tar.gz +/tagged-0.4.2.tar.gz +/tagged-0.4.2.1.tar.gz +/tagged-0.4.4.tar.gz +/tagged-0.6.tar.gz +/tagged-0.7.2.tar.gz +/tagged-0.7.3.tar.gz +/tagged-0.8.4.tar.gz +/tagged-0.8.5.tar.gz +/tagged-0.8.6.tar.gz diff --git a/ghc-tagged.spec b/ghc-tagged.spec new file mode 100644 index 0000000..e657987 --- /dev/null +++ b/ghc-tagged.spec @@ -0,0 +1,219 @@ +# generated by cabal-rpm-2.0.6 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name tagged +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.8.6 +Release: 9%{?dist} +Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-transformers-prof +# End cabal-rpm deps + +%description +Haskell 98 phantom types to avoid unsafely passing dummy arguments. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.markdown README.markdown + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.8.6-9 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.8.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 0.8.6-7 +- refresh to cabal-rpm-2.0.6 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.8.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Aug 02 2019 Jens Petersen - 0.8.6-5 +- add doc and prof subpackages (cabal-rpm-1.0.0) + +* Thu Jul 25 2019 Fedora Release Engineering - 0.8.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 17 2019 Jens Petersen - 0.8.6-3 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jul 22 2018 Jens Petersen - 0.8.6-1 +- update to 0.8.6 + +* Fri Jul 13 2018 Fedora Release Engineering - 0.8.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.8.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 0.8.5-4 +- rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0.8.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.8.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Feb 21 2017 Jens Petersen - 0.8.5-1 +- update to 0.8.5 + +* Fri Feb 10 2017 Fedora Release Engineering - 0.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Jun 26 2016 Jens Petersen - 0.8.4-1 +- update to 0.8.4 + +* Wed Feb 03 2016 Fedora Release Engineering - 0.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jan 22 2015 Jens Petersen - 0.7.3-1 +- update to 0.7.3 + +* Wed Aug 27 2014 Jens Petersen - 0.7.2-1 +- update to 0.7.2 + +* Sat Aug 16 2014 Fedora Release Engineering - 0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 8 2014 Jens Petersen - 0.6-3 +- update to cblrpm-0.8.11 + +* Sat Aug 03 2013 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 04 2013 Jens Petersen - 0.6-1 +- update to 0.6 +- update to new simplified Haskell Packaging Guidelines + +* Wed Feb 13 2013 Fedora Release Engineering - 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 08 2012 Jens Petersen - 0.4.4-1 +- update to 0.4.4 + +* Thu Jul 19 2012 Fedora Release Engineering - 0.4.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 13 2012 Jens Petersen - 0.4.2.1-1 +- update to 0.4.2.1 + +* Fri Apr 13 2012 Lakshmi Narasimhan T V - 0.4.2-1-- Package update to 0.4.2 +- Dependencies on semigroups and data-default removed. + +* Fri Apr 13 2012 Lakshmi Narasimhan T V - 0.4.1-2 +- Rebuild for semigroups update + +* Mon Apr 9 2012 Lakshmi Narasimhan T V - 0.4.1-1 +- spec file updated to 0.25.4 +- package updated to 0.4.1 + +* Sun Mar 18 2012 Jens Petersen - 0.2.3.1-4 +- update to cabal2spec-0.25 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.2.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 30 2011 Jens Petersen - 0.2.3.1-2 +- rebuild against new gmp + +* Mon Oct 17 2011 Lakshmi Narasimhan T V - 0.2.3.1-1 +- License is BSD. Added dependencies. + +* Mon Oct 17 2011 Fedora Haskell SIG - 0.2.3.1-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/sources b/sources new file mode 100644 index 0000000..67b02c5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tagged-0.8.6.tar.gz) = 8cec49ea6f54ba84109ec6068cce209321bfa4662d5acdf75e4019087e2890e3056bf13a237cb5caf3fec597b05b710ebbfb74e06b736b7fb2f87941defeb814 diff --git a/tagged-0.8.6.cabal b/tagged-0.8.6.cabal new file mode 100644 index 0000000..ed083f1 --- /dev/null +++ b/tagged-0.8.6.cabal @@ -0,0 +1,83 @@ +name: tagged +version: 0.8.6 +x-revision: 2 +license: BSD3 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: experimental +category: Data, Phantom Types +synopsis: Haskell 98 phantom types to avoid unsafely passing dummy arguments +homepage: http://github.com/ekmett/tagged +bug-reports: http://github.com/ekmett/tagged/issues +copyright: 2009-2015 Edward A. Kmett +description: Haskell 98 phantom types to avoid unsafely passing dummy arguments. +build-type: Simple +cabal-version: >= 1.10 +extra-source-files: .travis.yml CHANGELOG.markdown README.markdown HLint.hs +tested-with: GHC == 7.0.4 + , GHC == 7.2.2 + , GHC == 7.4.2 + , GHC == 7.6.3 + , GHC == 7.8.4 + , GHC == 7.10.3 + , GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.3 + , GHC == 8.6.1 + +source-repository head + type: git + location: git://github.com/ekmett/tagged.git + +flag deepseq + description: + You can disable the use of the `deepseq` package using `-f-deepseq`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag transformers + description: + You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`. + . + Disable this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +library + default-language: Haskell98 + other-extensions: CPP + build-depends: base >= 2 && < 5 + ghc-options: -Wall + hs-source-dirs: src + exposed-modules: Data.Tagged + + if !impl(hugs) + cpp-options: -DLANGUAGE_DeriveDataTypeable + other-extensions: DeriveDataTypeable + + if impl(ghc<7.7) + hs-source-dirs: old + exposed-modules: Data.Proxy + other-modules: Paths_tagged + + if impl(ghc>=7.2 && <7.5) + build-depends: ghc-prim + + if impl(ghc>=7.6) + exposed-modules: Data.Proxy.TH + build-depends: template-haskell >= 2.8 && < 2.17 + + if flag(deepseq) + build-depends: deepseq >= 1.1 && < 1.5 + + if flag(transformers) + build-depends: transformers >= 0.2 && < 0.6 + + -- Ensure Data.Functor.Classes is always available + if impl(ghc >= 7.10) || impl(ghcjs) + build-depends: transformers >= 0.4.2.0 + else + build-depends: transformers-compat >= 0.5 && < 1