summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-30 12:00:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-30 12:00:32 +0000
commited0e189702ef3b3baa9178d2de0cc08e642c3ed5 (patch)
tree13ac19138038dfae9133fbb9e5e2c1abe8542813
parent4db7546f735e7b9e7ff4b9b4f53f13f346cd9921 (diff)
automatic import of pandoc-cliopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--pandoc-cli.spec55
-rw-r--r--sources1
3 files changed, 57 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..63b485e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pandoc-cli-0.1.1.1.tar.gz
diff --git a/pandoc-cli.spec b/pandoc-cli.spec
new file mode 100644
index 0000000..2936132
--- /dev/null
+++ b/pandoc-cli.spec
@@ -0,0 +1,55 @@
+Name: pandoc-cli
+Version: 0.1.1.1
+Release: 1
+Summary: Conversion between documentation formats
+License: GPL-2.0-or-later
+URL: https://hackage.haskell.org/package/%{name}
+Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-hslua-cli-devel
+BuildRequires: ghc-hslua-cli-prof
+BuildRequires: ghc-pandoc-devel
+BuildRequires: ghc-pandoc-lua-engine-devel
+BuildRequires: ghc-pandoc-lua-engine-prof
+BuildRequires: ghc-pandoc-prof
+BuildRequires: ghc-pandoc-server-devel
+BuildRequires: ghc-pandoc-server-prof
+BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-safe-devel
+BuildRequires: ghc-safe-prof
+BuildRequires: ghc-temporary-devel
+BuildRequires: ghc-temporary-prof
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-text-prof
+BuildRequires: ghc-wai-extra-devel
+BuildRequires: ghc-wai-extra-prof
+BuildRequires: ghc-warp-devel
+BuildRequires: ghc-warp-prof
+Requires: ghc-pandoc >= 3.0
+Provides: pandoc = 3.0.1
+Obsoletes: pandoc < 3
+ExcludeArch: %{ix86}
+
+%description
+Pandoc-cli provides a command-line executable that uses the pandoc library to
+convert between markup formats.
+
+%prep
+%autosetup
+
+%build
+%define cabal_configure_options -f+lua -f+server
+%ghc_bin_build
+
+%install
+%ghc_bin_install
+
+%files
+%license COPYING.md
+%{_bindir}/pandoc
+
+%changelog
+* Thu Sep 28 2023 Lin Runze <lrzlin@163.com> 0.1.1.1-1
+- Initial packaging (Version 0.1.1.1)
diff --git a/sources b/sources
new file mode 100644
index 0000000..6e6df03
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1cee157aa5fcdbc51b04b0cc75fd00bf pandoc-cli-0.1.1.1.tar.gz