forked from pool/pandoc-cli
osc copypac from project:devel:languages:haskell:ghc-9.8.x package:pandoc-cli revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/pandoc-cli?expand=0&rev=23
This commit is contained in:
commit
715f501db6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
pandoc-cli-3.2.1.tar.gz
Normal file
3
pandoc-cli-3.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c43f47096674985711c10c4b798f1930e0687a4f15491574f6f753916d484de
|
||||
size 94755
|
3
pandoc-cli-3.2.tar.gz
Normal file
3
pandoc-cli-3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4571d9a857a88e7b26fd071db531397f417cf838724fe3120c69db54cd5dd10e
|
||||
size 94489
|
3
pandoc-cli-3.3.tar.gz
Normal file
3
pandoc-cli-3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a665b885ffb9259a29423d9021c7ce59878eca000515c0b58ea19795cd554d9
|
||||
size 94839
|
97
pandoc-cli.cabal
Normal file
97
pandoc-cli.cabal
Normal file
@ -0,0 +1,97 @@
|
||||
cabal-version: 2.4
|
||||
name: pandoc-cli
|
||||
version: 3.2
|
||||
x-revision: 1
|
||||
build-type: Simple
|
||||
license: GPL-2.0-or-later
|
||||
license-file: COPYING.md
|
||||
copyright: (c) 2006-2022 John MacFarlane
|
||||
author: John MacFarlane <jgm@berkeley.edu>
|
||||
maintainer: John MacFarlane <jgm@berkeley.edu>
|
||||
bug-reports: https://github.com/jgm/pandoc/issues
|
||||
stability: alpha
|
||||
homepage: https://pandoc.org
|
||||
category: Text
|
||||
synopsis: Conversion between documentation formats
|
||||
description: Pandoc-cli provides a command-line executable that uses the
|
||||
pandoc library to convert between markup formats.
|
||||
-- data-files:
|
||||
extra-source-files:
|
||||
man/pandoc.1
|
||||
man/pandoc-lua.1
|
||||
man/pandoc-server.1
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/jgm/pandoc.git
|
||||
|
||||
flag lua
|
||||
description: Support custom modifications and conversions with the
|
||||
pandoc Lua scripting engine.
|
||||
default: True
|
||||
|
||||
flag server
|
||||
Description: Include support for running pandoc as an HTTP server.
|
||||
Default: True
|
||||
|
||||
flag nightly
|
||||
Description: Add '-nightly-COMPILEDATE' to the output of '--version'.
|
||||
Default: False
|
||||
|
||||
common common-options
|
||||
default-language: Haskell2010
|
||||
other-extensions: OverloadedStrings
|
||||
build-depends: base >= 4.12 && < 5
|
||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||
-Wincomplete-record-updates
|
||||
-Wnoncanonical-monad-instances
|
||||
-Wcpp-undef
|
||||
-Wincomplete-uni-patterns
|
||||
-Widentities
|
||||
-Wpartial-fields
|
||||
-Wmissing-signatures
|
||||
-fhide-source-paths
|
||||
|
||||
if impl(ghc >= 8.10)
|
||||
ghc-options: -Wunused-packages
|
||||
|
||||
if impl(ghc >= 9.0)
|
||||
ghc-options: -Winvalid-haddock
|
||||
|
||||
if os(windows)
|
||||
cpp-options: -D_WINDOWS
|
||||
|
||||
common common-executable
|
||||
import: common-options
|
||||
ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
|
||||
|
||||
executable pandoc
|
||||
import: common-executable
|
||||
hs-source-dirs: src
|
||||
main-is: pandoc.hs
|
||||
buildable: True
|
||||
-- Note: we always link to an exact version of pandoc, with the
|
||||
-- same version as this package:
|
||||
build-depends: pandoc == 3.2,
|
||||
text
|
||||
other-modules: PandocCLI.Lua
|
||||
, PandocCLI.Server
|
||||
if flag(nightly)
|
||||
cpp-options: -DNIGHTLY
|
||||
build-depends: template-haskell,
|
||||
time
|
||||
if flag(server)
|
||||
build-depends: pandoc-server >= 0.1.0.6 && < 0.2,
|
||||
wai-extra >= 3.0.24,
|
||||
warp,
|
||||
safe
|
||||
hs-source-dirs: server
|
||||
else
|
||||
hs-source-dirs: no-server
|
||||
|
||||
if flag(lua)
|
||||
build-depends: hslua-cli >= 1.4.1 && < 1.5,
|
||||
pandoc-lua-engine >= 0.2.1 && < 0.3,
|
||||
temporary >= 1.1 && < 1.4
|
||||
hs-source-dirs: lua
|
||||
else
|
||||
hs-source-dirs: no-lua
|
82
pandoc-cli.changes
Normal file
82
pandoc-cli.changes
Normal file
@ -0,0 +1,82 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 00:07:15 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.3.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 21:19:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.2.1.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 15:27:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.2 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 20:57:52 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.2.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 7 15:38:48 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.1.13.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 05:21:26 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.1.12.3.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 05:49:44 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.1.12.2.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 18 01:35:33 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.1.12.1.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 6 02:22:05 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 3.1.11.1.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 21 15:26:55 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 0.1.1.1.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 09:36:11 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Enable LUA support. [bsc#1210268]
|
||||
- Update the underlying library to ghc-pandoc-3.1.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:09:20 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 23:56:52 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pandoc-cli to version 0.1.1.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 18 21:22:59 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Add pandoc-cli at version 0.1.
|
||||
|
71
pandoc-cli.spec
Normal file
71
pandoc-cli.spec
Normal file
@ -0,0 +1,71 @@
|
||||
#
|
||||
# spec file for package pandoc-cli
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: pandoc-cli
|
||||
Version: 3.3
|
||||
Release: 0
|
||||
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 = %{version}
|
||||
Provides: pandoc = %{version}
|
||||
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
|
Loading…
Reference in New Issue
Block a user