commit acf6b556c06e0b3ddc0e4e199e0937e46ec5f08f Author: Alexey Lyubimov Date: Fri Aug 18 22:11:05 2023 +0300 import ghc-vector-0.12.3.1-1.el9 diff --git a/.ghc-vector.metadata b/.ghc-vector.metadata new file mode 100644 index 0000000..a72dc0c --- /dev/null +++ b/.ghc-vector.metadata @@ -0,0 +1 @@ +adb91099db359c9403b43290d4aa622f851adf02 SOURCES/vector-0.12.3.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..06d22a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/vector-0.12.3.1.tar.gz diff --git a/SOURCES/vector-0.12.3.1.cabal b/SOURCES/vector-0.12.3.1.cabal new file mode 100644 index 0000000..f75e095 --- /dev/null +++ b/SOURCES/vector-0.12.3.1.cabal @@ -0,0 +1,291 @@ +Name: vector +Version: 0.12.3.1 +x-revision: 2 +-- don't forget to update the changelog file! +License: BSD3 +License-File: LICENSE +Author: Roman Leshchinskiy +Maintainer: Haskell Libraries Team +Copyright: (c) Roman Leshchinskiy 2008-2012 +Homepage: https://github.com/haskell/vector +Bug-Reports: https://github.com/haskell/vector/issues +Category: Data, Data Structures +Synopsis: Efficient Arrays +Description: + . + An efficient implementation of Int-indexed arrays (both mutable + and immutable), with a powerful loop optimisation framework . + . + It is structured as follows: + . + ["Data.Vector"] Boxed vectors of arbitrary types. + . + ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive + representation based on data type families. + . + ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. + . + ["Data.Vector.Primitive"] Unboxed vectors of primitive types as + defined by the @primitive@ package. "Data.Vector.Unboxed" is more + flexible at no performance cost. + . + ["Data.Vector.Generic"] Generic interface to the vector types. + . + There is also a (draft) tutorial on common uses of vector. + . + * + +Tested-With: + 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.4, + GHC == 8.6.5, + GHC == 8.8.1, + GHC == 8.10.1 + + +Cabal-Version: >=1.10 +Build-Type: Simple + +Extra-Source-Files: + changelog.md + README.md + tests/LICENSE + tests/Setup.hs + tests/Main.hs + benchmarks/vector-benchmarks.cabal + benchmarks/LICENSE + benchmarks/Setup.hs + benchmarks/Main.hs + benchmarks/Algo/AwShCC.hs + benchmarks/Algo/HybCC.hs + benchmarks/Algo/Leaffix.hs + benchmarks/Algo/ListRank.hs + benchmarks/Algo/Quickhull.hs + benchmarks/Algo/Rootfix.hs + benchmarks/Algo/Spectral.hs + benchmarks/Algo/Tridiag.hs + benchmarks/TestData/Graph.hs + benchmarks/TestData/ParenTree.hs + benchmarks/TestData/Random.hs + internal/GenUnboxTuple.hs + internal/unbox-tuple-instances + + + +Flag BoundsChecks + Description: Enable bounds checking + Default: True + Manual: True + +Flag UnsafeChecks + Description: Enable bounds checking in unsafe operations at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag InternalChecks + Description: Enable internal consistency checks at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag Wall + Description: Enable all -Wall warnings + Default: False + Manual: True + + +Library + Default-Language: Haskell2010 + Other-Extensions: + BangPatterns + CPP + DeriveDataTypeable + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GADTs + KindSignatures + MagicHash + MultiParamTypeClasses + Rank2Types + ScopedTypeVariables + StandaloneDeriving + TypeFamilies + + Exposed-Modules: + Data.Vector.Internal.Check + + Data.Vector.Fusion.Util + Data.Vector.Fusion.Stream.Monadic + Data.Vector.Fusion.Bundle.Size + Data.Vector.Fusion.Bundle.Monadic + Data.Vector.Fusion.Bundle + + Data.Vector.Generic.Mutable.Base + Data.Vector.Generic.Mutable + Data.Vector.Generic.Base + Data.Vector.Generic.New + Data.Vector.Generic + + Data.Vector.Primitive.Mutable + Data.Vector.Primitive + + Data.Vector.Storable.Internal + Data.Vector.Storable.Mutable + Data.Vector.Storable + + Data.Vector.Unboxed.Base + Data.Vector.Unboxed.Mutable + Data.Vector.Unboxed + + Data.Vector.Mutable + Data.Vector + + Include-Dirs: + include, internal + + Install-Includes: + vector.h + + Build-Depends: base >= 4.5 && < 4.18 + , primitive >= 0.6.4.0 && < 0.8 + , ghc-prim >= 0.2 && < 0.10 + , deepseq >= 1.1 && < 1.5 + if !impl(ghc > 8.0) + Build-Depends: fail == 4.9.* + , semigroups >= 0.18 && < 0.21 + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans + + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + if flag(BoundsChecks) + cpp-options: -DVECTOR_BOUNDS_CHECKS + + if flag(UnsafeChecks) + cpp-options: -DVECTOR_UNSAFE_CHECKS + + if flag(InternalChecks) + cpp-options: -DVECTOR_INTERNAL_CHECKS + +source-repository head + type: git + location: https://github.com/haskell/vector.git + + + +test-suite vector-tests-O0 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.Property + Tests.Vector.Boxed + Tests.Vector.Storable + Tests.Vector.Primitive + Tests.Vector.Unboxed + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + primitive, random, + QuickCheck >= 2.9 && < 2.15, HUnit, tasty, + tasty-hunit, tasty-quickcheck, + transformers >= 0.2.0.0 + if !impl(ghc > 8.0) + Build-Depends: semigroups + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O0 -threaded + Ghc-Options: -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl( ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + +test-suite vector-tests-O2 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.Property + Tests.Vector.Boxed + Tests.Vector.Storable + Tests.Vector.Primitive + Tests.Vector.Unboxed + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + primitive, random, + QuickCheck >= 2.9 && < 2.15, HUnit, tasty, + tasty-hunit, tasty-quickcheck, + transformers >= 0.2.0.0 + if !impl(ghc > 8.0) + Build-Depends: semigroups + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + + Ghc-Options: -Wall + Ghc-Options: -O2 -threaded + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + +test-suite vector-doctest + type: exitcode-stdio-1.0 + main-is: doctests.hs + hs-source-dirs: tests + default-language: Haskell2010 + -- Older GHC don't support DerivingVia + if impl(ghc < 8.6) + buildable: False + -- GHC 8.10 fails to run doctests for some reason + if impl(ghc >= 8.10) && impl(ghc < 8.11) + buildable: False + build-depends: + base -any + , doctest >=0.15 && <0.19 + , primitive >= 0.6.4.0 && < 0.8 + , vector -any diff --git a/SPECS/ghc-vector.spec b/SPECS/ghc-vector.spec new file mode 100644 index 0000000..f61f1af --- /dev/null +++ b/SPECS/ghc-vector.spec @@ -0,0 +1,271 @@ +# generated by cabal-rpm-2.0.9 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name vector +%global pkgver %{pkg_name}-%{version} + +# testsuite seems to hang +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.12.3.1 +Release: 1%{?dist} +Summary: Efficient Arrays + +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: dos2unix +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-primitive-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-doctest-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-devel +%endif +# End cabal-rpm deps + +%description +An efficient implementation of Int-indexed arrays (both mutable +and immutable), with a powerful loop optimisation framework. + + +%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 +Requires: ghc-filesystem + +%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} +dos2unix -k -n %{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 + + +%check +%if %{with tests} +%cabal_test +%endif + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc README.md changelog.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Fri Aug 18 2023 Alexey Lyubimov - 0.12.3.1-1 +- Rebuilt for MSVSphere 9.2 + +* Tue Jun 07 2022 Jens Petersen - 0.12.3.1-1 +- https://hackage.haskell.org/package/vector-0.12.3.1/changelog + +* Thu Jan 20 2022 Fedora Release Engineering - 0.12.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Aug 5 2021 Jens Petersen - 0.12.3.0-1 +- update to 0.12.3.0 + +* Thu Jul 22 2021 Fedora Release Engineering - 0.12.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.12.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.12.1.2-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.12.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 0.12.1.2-2 +- refresh to cabal-rpm-2.0.6 + +* Fri Feb 14 2020 Jens Petersen - 0.12.1.2-1 +- update to 0.12.1.2 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.12.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Jens Petersen - 0.12.0.3-1 +- update to 0.12.0.3 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.12.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 21 2019 Jens Petersen - 0.12.0.2-1 +- update to 0.12.0.2 + +* Sun Feb 17 2019 Jens Petersen - 0.12.0.1-6 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.12.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 28 2018 Jens Petersen - 0.12.0.1-4 +- revise .cabal + +* Fri Jul 13 2018 Fedora Release Engineering - 0.12.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.12.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Jens Petersen - 0.12.0.1-1 +- update to 0.12.0.1 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.11.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.11.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 24 2017 Jens Petersen - 0.11.0.0-3 +- refresh to cabal-rpm-0.11.1 + +* Fri Feb 10 2017 Fedora Release Engineering - 0.11.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jun 7 2016 Jens Petersen - 0.11.0.0-1 +- update to 0.11.0.0 + +* Wed Feb 03 2016 Fedora Release Engineering - 0.10.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Aug 20 2015 Peter Robinson 0.10.9.1-3 +- rebuild for aarch64 hash issue + +* Wed Jun 17 2015 Fedora Release Engineering - 0.10.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 8 2014 Jens Petersen - 0.10.9.1-1 +- update to 0.10.9.1 + +* Thu Jun 19 2014 Jens Petersen - 0.10.0.1-8 +- update packaging to cblrpm-0.8.11 + +* Sat Aug 03 2013 Fedora Release Engineering - 0.10.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 4 2013 Jens Petersen - 0.10.0.1-6 +- update to new simplified Haskell Packaging Guidelines + +* Wed Feb 13 2013 Fedora Release Engineering - 0.10.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Dec 12 2012 Jens Petersen - 0.10.0.1-4 +- also skip the annotation for ppc + +* Thu Dec 6 2012 Jens Petersen - 0.10.0.1-3 +- correct the annotation patch to not use DEBIAN_NO_GHCI + +* Thu Dec 6 2012 Jens Petersen - 0.10.0.1-2 +- skip Data.Vector.Fusion.Stream.Monadic annotation on archs without ghci + and build on all archs + +* Tue Nov 27 2012 Jens Petersen - 0.10.0.1-1 +- update to 0.10.0.1, part of haskell-platform-2012.4 + +* Sat Nov 17 2012 Jens Petersen +- update with cabal-rpm + +* Thu Jul 19 2012 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 16 2012 Jens Petersen - 0.9.1-4 +- change prof BRs to devel + +* Fri Mar 23 2012 Jens Petersen - 0.9.1-3 +- add license to ghc_files + +* Wed Mar 7 2012 Jens Petersen - 0.9.1-2 +- only build on ghc_arches_with_ghci because of annotation use + +* Wed Jan 4 2012 Jens Petersen - 0.9.1-1 +- update to 0.9.1 and cabal2spec-0.25.2 + +* Mon Oct 24 2011 Marcela Mašláňová - 0.7.1-2.1 +- rebuild with new gmp without compat lib + +* Tue Sep 13 2011 Jens Petersen - 0.7.1-2 +- rebuild against newer ghc-rpm-macros + +* Thu Sep 8 2011 Jens Petersen - 0.7.1-1 +- BSD license + +* Thu Sep 8 2011 Fedora Haskell SIG - 0.7.1-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.24.1