From 376f09e7ebae409bd55acf0a9bdc8d3c5e2c7b8f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 06:17:44 -0400 Subject: [PATCH] import ghc-uuid-types-1.0.3-6.el8 --- .ghc-uuid-types.metadata | 1 + .gitignore | 1 + SPECS/ghc-uuid-types.spec | 100 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 .ghc-uuid-types.metadata create mode 100644 .gitignore 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..e76a0f9 --- /dev/null +++ b/.ghc-uuid-types.metadata @@ -0,0 +1 @@ +ba2dc845681fcf1cbb1de657e8f889762108e726 SOURCES/uuid-types-1.0.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75cfa43 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/uuid-types-1.0.3.tar.gz diff --git a/SPECS/ghc-uuid-types.spec b/SPECS/ghc-uuid-types.spec new file mode 100644 index 0000000..2897d2a --- /dev/null +++ b/SPECS/ghc-uuid-types.spec @@ -0,0 +1,100 @@ +# generated by cabal-rpm-0.12.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name uuid-types +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 1.0.3 +Release: 6%{?dist} +Summary: Type definitions for Universally Unique Identifiers + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-binary-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif +# 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}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGES + + +%changelog +* 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