From 93b7198812f7d2c567f600aac11505c2d65cadfb Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Fri, 18 Aug 2023 22:10:58 +0300 Subject: [PATCH] import ghc-uuid-types-1.0.5-2.el9 --- .ghc-uuid-types.metadata | 1 + .gitignore | 1 + SOURCES/uuid-types-1.0.5.cabal | 97 +++++++++++++++++++ SPECS/ghc-uuid-types.spec | 172 +++++++++++++++++++++++++++++++++ 4 files changed, 271 insertions(+) create mode 100644 .ghc-uuid-types.metadata create mode 100644 .gitignore create mode 100644 SOURCES/uuid-types-1.0.5.cabal create mode 100644 SPECS/ghc-uuid-types.spec diff --git a/.ghc-uuid-types.metadata b/.ghc-uuid-types.metadata new file mode 100644 index 0000000..1096bb9 --- /dev/null +++ b/.ghc-uuid-types.metadata @@ -0,0 +1 @@ +c3a38cf728bfefbf749ab1ee1571bd02c0a260a9 SOURCES/uuid-types-1.0.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77b9478 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/uuid-types-1.0.5.tar.gz diff --git a/SOURCES/uuid-types-1.0.5.cabal b/SOURCES/uuid-types-1.0.5.cabal new file mode 100644 index 0000000..21f2ee5 --- /dev/null +++ b/SOURCES/uuid-types-1.0.5.cabal @@ -0,0 +1,97 @@ +cabal-version: 1.12 +name: uuid-types +version: 1.0.5 +x-revision: 2 +copyright: + (c) 2017-2018 Herbert Valerio Riedel + (c) 2008-2014 Antoine Latter + +author: Antoine Latter +maintainer: Oleg Grenrus +license: BSD3 +license-file: LICENSE +category: Data +build-type: Simple +tested-with: + GHC ==7.4.2 + || ==7.6.3 + || ==7.8.4 + || ==7.10.3 + || ==8.0.2 + || ==8.2.2 + || ==8.4.4 + || ==8.6.4 + || ==8.8.4 + || ==8.10.7 + || ==9.0.1 + || ==9.2.1 + +synopsis: Type definitions for Universally Unique Identifiers +description: + This library contains type definitions for + + (as specified in + ) + and basic conversion functions. + . + See also the + providing a high-level API for managing the different UUID versions. + +homepage: https://github.com/haskell-hvr/uuid +bug-reports: https://github.com/haskell-hvr/uuid/issues +extra-source-files: ChangeLog.md + +source-repository head + type: git + location: https://github.com/haskell-hvr/uuid.git + subdir: uuid-types + +library + build-depends: + base >=4.5 && <5 + , binary >=0.5.1.0 && <0.9 + , bytestring >=0.9.2.1 && <0.12 + , deepseq >=1.3.0.0 && <1.5 + , hashable >=1.2.7.0 && <1.5 + , random >=1.1 && <1.3 + , template-haskell >=2.7.0.0 && <2.19 + , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 + + exposed-modules: Data.UUID.Types + + -- Exposed for companion projects; *NOT* part of the official API: + exposed-modules: + Data.UUID.Types.Internal + Data.UUID.Types.Internal.Builder + + default-language: Haskell2010 + other-extensions: + DeriveDataTypeable + TypeFamilies + + ghc-options: -Wall + hs-source-dirs: src + +test-suite testuuid + type: exitcode-stdio-1.0 + main-is: TestUUID.hs + hs-source-dirs: tests + default-language: Haskell2010 + other-extensions: ViewPatterns + ghc-options: -Wall + + -- inherited constraints + build-depends: + base + , binary + , bytestring + , uuid-types + , template-haskell + + -- deps w/o inherited constraints + build-depends: + ghc-byteorder >=4.11 && <4.12 + , QuickCheck >=2.14.2 && <2.15 + , tasty >=1.4.0.1 && <1.5 + , tasty-hunit >=0.10 && <0.11 + , tasty-quickcheck >=0.10 && <0.11 diff --git a/SPECS/ghc-uuid-types.spec b/SPECS/ghc-uuid-types.spec new file mode 100644 index 0000000..35752cc --- /dev/null +++ b/SPECS/ghc-uuid-types.spec @@ -0,0 +1,172 @@ +# generated by cabal-rpm-2.0.9 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name uuid-types +%global pkgver %{pkg_name}-%{version} + +# testsuite missing deps: ghc-byteorder + +Name: ghc-%{pkg_name} +Version: 1.0.5 +Release: 2%{?dist} +Summary: Type definitions for Universally Unique Identifiers + +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-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-text-prof +# End cabal-rpm deps + +%description +This library contains type definitions for Universally Unique Identifiers and +basic conversion functions. See https://en.wikipedia.org/wiki/UUID for the +general idea. + + +%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} +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.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 - 1.0.5-2 +- Rebuilt for MSVSphere 9.2 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Aug 5 2021 Jens Petersen - 1.0.5-1 +- update to 1.0.5 + +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.3-16 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.0.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 1.0.3-14 +- refresh to cabal-rpm-2.0.6 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.0.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Aug 02 2019 Jens Petersen - 1.0.3-12 +- add doc and prof subpackages (cabal-rpm-1.0.0) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 17 2019 Jens Petersen - 1.0.3-10 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 1.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 28 2018 Jens Petersen - 1.0.3-8 +- revise .cabal + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 1.0.3-5 +- rebuild + +* Thu Oct 5 2017 Elliott Sales de Andrade - 1.0.3-4 +- Bump release to be newer than existing bundled version. + +* Wed Oct 4 2017 Fedora Haskell SIG - 1.0.3-1 +- spec file generated by cabal-rpm-0.11.2