summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-30 07:34:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-30 07:34:06 +0000
commit23163a6daf4e5e59f41536a6d5b22121af80a433 (patch)
tree1039cd7131d8ac2e43fec25b59ce2bdb73e2d417
parent499b7242e98f2b1963a818942c28adbcb5cad2b4 (diff)
automatic import of ghc-mono-traversableopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--ghc-mono-traversable.spec106
-rw-r--r--sources1
3 files changed, 108 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5b154fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mono-traversable-1.0.15.3.tar.gz
diff --git a/ghc-mono-traversable.spec b/ghc-mono-traversable.spec
new file mode 100644
index 0000000..a25b778
--- /dev/null
+++ b/ghc-mono-traversable.spec
@@ -0,0 +1,106 @@
+%global pkg_name mono-traversable
+%global pkgver %{pkg_name}-%{version}
+%bcond_with tests
+
+Name: ghc-%{pkg_name}
+Version: 1.0.15.3
+Release: 1
+Summary: Type classes for mapping, folding, and traversing monomorphic containers
+License: MIT
+URL: https://hackage.haskell.org/package/%{pkg_name}
+Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-hashable-devel
+BuildRequires: ghc-hashable-prof
+BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-split-devel
+BuildRequires: ghc-split-prof
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-text-prof
+BuildRequires: ghc-transformers-devel
+BuildRequires: ghc-transformers-prof
+BuildRequires: ghc-unordered-containers-devel
+BuildRequires: ghc-unordered-containers-prof
+BuildRequires: ghc-vector-algorithms-devel
+BuildRequires: ghc-vector-algorithms-prof
+BuildRequires: ghc-vector-devel
+BuildRequires: ghc-vector-prof
+ExcludeArch: %{ix86}
+%if %{with tests}
+BuildRequires: ghc-HUnit-devel
+BuildRequires: ghc-HUnit-prof
+BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-QuickCheck-prof
+BuildRequires: ghc-foldl-devel
+BuildRequires: ghc-foldl-prof
+BuildRequires: ghc-hspec-devel
+BuildRequires: ghc-hspec-prof
+%endif
+
+%description
+Type classes for mapping, folding, and traversing monomorphic containers.
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Requires: %{name} = %{version}-%{release}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development
+files.
+
+%package -n ghc-%{pkg_name}-help
+Summary: Haskell %{pkg_name} library documentation
+BuildArch: noarch
+
+%description -n ghc-%{pkg_name}-help
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package -n ghc-%{pkg_name}-prof
+Summary: Haskell %{pkg_name} profiling library
+Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
+%prep
+%autosetup -n %{pkg_name}-%{version}
+
+%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 ChangeLog.md README.md
+
+%files -n ghc-%{pkg_name}-help -f ghc-%{pkg_name}-help.files
+%license LICENSE
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
+%changelog
+* Thu Sep 28 2023 Lin Runze <lrzlin@163.com> 1.0.15.3-1
+- Initial packaging (Version 1.0.15.3)
diff --git a/sources b/sources
new file mode 100644
index 0000000..1392909
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c3e90102ffa1c79f6a96b62e473cdf09 mono-traversable-1.0.15.3.tar.gz