diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 09:28:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 09:28:43 +0000 |
commit | 7b1d58efe90301f068eb66a2b4dd6f95e1bd3bd0 (patch) | |
tree | f8ae0d09a05bae7c443cd5bee76b51dc352cda50 | |
parent | 62310212a9bc2680e005a8898da8dc3b660ab67a (diff) |
automatic import of ghc-x509-systemopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ghc-x509-system.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/x509-system-1.6.7.tar.gz diff --git a/ghc-x509-system.spec b/ghc-x509-system.spec new file mode 100644 index 0000000..f58b572 --- /dev/null +++ b/ghc-x509-system.spec @@ -0,0 +1,91 @@ +%global pkg_name x509-system +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 1.6.7 +Release: 1 +Summary: Handle per-operating-system X.509 accessors and storage +License: BSD-3-Clause +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-directory-devel +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-pem-devel +BuildRequires: ghc-pem-prof +BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-x509-devel +BuildRequires: ghc-x509-prof +BuildRequires: ghc-x509-store-devel +BuildRequires: ghc-x509-store-prof +ExcludeArch: %{ix86} + +%description +System X.509 handling for accessing operating system dependents store and other +storage methods. + +%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 + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files + +%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.6.7-1 +- Initial packaging (Version 1.6.7) @@ -0,0 +1 @@ +1d46ec717df67be4bedc804c29668e47 x509-system-1.6.7.tar.gz |