|
|
|
@ -8,10 +8,12 @@
|
|
|
|
|
%global unicodetransforms unicode-transforms-0.3.6
|
|
|
|
|
# needed by unicode-transforms
|
|
|
|
|
%global bitarray bitarray-0.0.1.1
|
|
|
|
|
%global subpkgs %{HsYAML} %{bitarray} %{unicodetransforms}
|
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.1
|
|
|
|
|
%global ipynb ipynb-0.1
|
|
|
|
|
%global subpkgs %{HsYAML} %{bitarray} %{unicodetransforms} %{hsluamodulesystem} %{ipynb}
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
|
Version: 2.5
|
|
|
|
|
Version: 2.7.3
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
@ -23,7 +25,8 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
Source1: https://hackage.haskell.org/package/%{HsYAML}/%{HsYAML}.tar.gz
|
|
|
|
|
Source2: https://hackage.haskell.org/package/%{unicodetransforms}/%{unicodetransforms}.tar.gz
|
|
|
|
|
Source3: https://hackage.haskell.org/package/%{bitarray}/%{bitarray}.tar.gz
|
|
|
|
|
Source4: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal
|
|
|
|
|
Source4: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
|
|
|
|
|
Source5: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
|
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
@ -36,6 +39,7 @@ BuildRequires: ghc-JuicyPixels-prof
|
|
|
|
|
BuildRequires: ghc-SHA-prof
|
|
|
|
|
BuildRequires: ghc-aeson-prof
|
|
|
|
|
BuildRequires: ghc-aeson-pretty-prof
|
|
|
|
|
BuildRequires: ghc-attoparsec-prof
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-base64-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-binary-prof
|
|
|
|
@ -53,10 +57,12 @@ BuildRequires: ghc-exceptions-prof
|
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
|
BuildRequires: ghc-haddock-library-prof
|
|
|
|
|
BuildRequires: ghc-hslua-prof
|
|
|
|
|
#BuildRequires: ghc-hslua-module-system-prof
|
|
|
|
|
BuildRequires: ghc-hslua-module-text-prof
|
|
|
|
|
BuildRequires: ghc-http-client-prof
|
|
|
|
|
BuildRequires: ghc-http-client-tls-prof
|
|
|
|
|
BuildRequires: ghc-http-types-prof
|
|
|
|
|
#BuildRequires: ghc-ipynb-prof
|
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
|
BuildRequires: ghc-network-uri-prof
|
|
|
|
@ -65,6 +71,7 @@ BuildRequires: ghc-parsec-prof
|
|
|
|
|
BuildRequires: ghc-process-prof
|
|
|
|
|
BuildRequires: ghc-random-prof
|
|
|
|
|
BuildRequires: ghc-safe-prof
|
|
|
|
|
BuildRequires: ghc-scientific-prof
|
|
|
|
|
BuildRequires: ghc-skylighting-prof
|
|
|
|
|
BuildRequires: ghc-split-prof
|
|
|
|
|
BuildRequires: ghc-syb-prof
|
|
|
|
@ -89,15 +96,15 @@ BuildRequires: ghc-array-prof
|
|
|
|
|
Pandoc is a Haskell library for converting from one markup format to another,
|
|
|
|
|
and a command-line tool that uses this library. It can read several dialects of
|
|
|
|
|
Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
|
|
|
|
MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Haddock markup,
|
|
|
|
|
OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Vimwiki, Word Docx, ODT, EPUB,
|
|
|
|
|
FictionBook2, roff man, and Textile, and it can write Markdown,
|
|
|
|
|
reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook, JATS, OPML, TEI,
|
|
|
|
|
OpenDocument, ODT, Word docx, PowerPoint pptx, RTF, MediaWiki, DokuWiki,
|
|
|
|
|
ZimWiki, Textile, roff man, roff ms, plain text, Emacs Org-Mode, AsciiDoc,
|
|
|
|
|
Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign ICML, Muse, LaTeX
|
|
|
|
|
beamer slides, and several kinds of HTML/JavaScript slide shows (S5, Slidy,
|
|
|
|
|
Slideous, DZSlides, reveal.js).
|
|
|
|
|
MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Creole 1.0,
|
|
|
|
|
Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
|
|
|
|
|
notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man, and Textile,
|
|
|
|
|
and it can write Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
|
|
|
|
|
DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint pptx, RTF,
|
|
|
|
|
MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff man, roff ms, plain
|
|
|
|
|
text, Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb,
|
|
|
|
|
FictionBook2, InDesign ICML, Muse, LaTeX beamer slides, and several kinds of
|
|
|
|
|
HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js).
|
|
|
|
|
|
|
|
|
|
In contrast to most existing tools for converting Markdown to HTML, pandoc has
|
|
|
|
|
a modular design: it consists of a set of readers, which parse text in a given
|
|
|
|
@ -182,6 +189,8 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
%ghc_lib_subpackage %{HsYAML}
|
|
|
|
|
%ghc_lib_subpackage %{unicodetransforms}
|
|
|
|
|
%ghc_lib_subpackage %{bitarray}
|
|
|
|
|
%ghc_lib_subpackage %{hsluamodulesystem}
|
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
@ -189,8 +198,7 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
|
%setup -q -a1 -a2 -a3
|
|
|
|
|
cp -bp %{SOURCE4} %{name}.cabal
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5
|
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -262,6 +270,9 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.7.3-2
|
|
|
|
|
- https://pandoc.org/releases.html#pandoc-2.7.3-2019-06-11
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|