summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-30 07:06:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-30 07:06:50 +0000
commit901f13066d8894c1cb06bea475686b957540b06b (patch)
tree9ac3c67da840b813919cede78a92d139e3dba665
parent87ee3bcf8daf81b541bcf3d37a0124543bb6db31 (diff)
automatic import of ghc-attoparsec-iso8601openeuler23.09
-rw-r--r--.gitignore1
-rwxr-xr-xattoparsec-iso8601.cabal41
-rw-r--r--ghc-attoparsec-iso8601.spec86
-rw-r--r--sources1
4 files changed, 129 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..06e8200 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/attoparsec-iso8601-1.1.0.0.tar.gz
diff --git a/attoparsec-iso8601.cabal b/attoparsec-iso8601.cabal
new file mode 100755
index 0000000..eb6d0e5
--- /dev/null
+++ b/attoparsec-iso8601.cabal
@@ -0,0 +1,41 @@
+name: attoparsec-iso8601
+version: 1.1.0.0
+x-revision: 1
+synopsis: Parsing of ISO 8601 dates, originally from aeson
+description: Parsing of ISO 8601 dates, originally from aeson.
+license: BSD3
+license-file: LICENSE
+category: Parsing
+copyright: (c) 2011-2016 Bryan O'Sullivan
+ (c) 2011 MailRank, Inc.
+author: Bryan O'Sullivan <bos@serpentine.com>
+maintainer: Adam Bergmark <adam@bergmark.nl>
+stability: experimental
+cabal-version: >=1.10
+homepage: https://github.com/haskell/aeson
+bug-reports: https://github.com/haskell/aeson/issues
+build-type: Simple
+tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC ==9.2.7, GHC==9.4.4, GHC ==9.6.1
+extra-source-files:
+ README.md
+ changelog.md
+
+library
+ hs-source-dirs: src
+ default-language: Haskell2010
+ ghc-options: -Wall
+ exposed-modules:
+ Data.Attoparsec.Time.Internal
+ Data.Attoparsec.Time
+ build-depends:
+ attoparsec >= 0.14.2 && < 0.15,
+ base >= 4.9 && < 5,
+ base-compat-batteries >= 0.10.0 && < 0.14,
+ time-compat >= 1.9.4 && < 1.10,
+ text >= 1.2.3.0 && < 1.3.0.0 || >= 2.0 && <2.1,
+ time >= 1.6.0.1 && < 1.13
+
+source-repository head
+ type: git
+ location: git://github.com/haskell/aeson.git
+ subdir: attoparsec-iso8601
diff --git a/ghc-attoparsec-iso8601.spec b/ghc-attoparsec-iso8601.spec
new file mode 100644
index 0000000..b212efe
--- /dev/null
+++ b/ghc-attoparsec-iso8601.spec
@@ -0,0 +1,86 @@
+%global pkg_name attoparsec-iso8601
+%global pkgver %{pkg_name}-%{version}
+
+Name: ghc-%{pkg_name}
+Version: 1.1.0.0
+Release: 1
+Summary: Parsing of ISO 8601 dates, originally from aeson
+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
+Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-attoparsec-devel
+BuildRequires: ghc-attoparsec-prof
+BuildRequires: ghc-base-compat-batteries-devel
+BuildRequires: ghc-base-compat-batteries-prof
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-text-prof
+BuildRequires: ghc-time-compat-devel
+BuildRequires: ghc-time-compat-prof
+BuildRequires: ghc-time-devel
+BuildRequires: ghc-time-prof
+ExcludeArch: %{ix86}
+
+%description
+Parsing of ISO 8601 dates, originally from aeson.
+
+%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}
+cp -p %{SOURCE1} %{pkg_name}.cabal
+
+%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
+%doc README.md changelog.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.1.0.0-1
+- Initial packaging (Version 1.1.0.0)
diff --git a/sources b/sources
new file mode 100644
index 0000000..c4302e9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a1bb0875662099f3cbbbc6eb883d48b7 attoparsec-iso8601-1.1.0.0.tar.gz