From 4f8ac17945540765659503e0f0deea4652c961cf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sep 10 2020 11:40:51 +0000 Subject: import 2.2.0.1 for f32 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b446013 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pretty-simple-2.2.0.1.tar.gz diff --git a/ghc-pretty-simple.spec b/ghc-pretty-simple.spec new file mode 100644 index 0000000..4c792ee --- /dev/null +++ b/ghc-pretty-simple.spec @@ -0,0 +1,119 @@ +# generated by cabal-rpm-2.0.6 --stream lts-14 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name pretty-simple +%global pkgver %{pkg_name}-%{version} + +%ifnarch s390x +%bcond_without tests +%endif + +Name: ghc-%{pkg_name} +Version: 2.2.0.1 +Release: 1%{?dist} +Summary: Pretty printer for data types with a 'Show' instance + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-ansi-terminal-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +%if %{with tests} +BuildRequires: ghc-Glob-devel +BuildRequires: ghc-doctest-devel +%endif +# End cabal-rpm deps + +%description +Please see . + + +%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} +# 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 +%cabal_test + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md example + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Thu Sep 10 2020 Jens Petersen - 2.2.0.1-1 +- spec file generated by cabal-rpm-2.0.6 diff --git a/sources b/sources new file mode 100644 index 0000000..387d655 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pretty-simple-2.2.0.1.tar.gz) = 75f6ddfd256e5f03258e326254d8c194d36038ddd382ebddf8de748f8d2081f4bf74836d9f2b1600afdc370be94aa50b2a9903d0fa40ee4ff3cfba899180d686