|
|
@ -4,18 +4,22 @@
|
|
|
|
%global pkg_name pandoc
|
|
|
|
%global pkg_name pandoc
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%global HsYAML HsYAML-0.1.2.0
|
|
|
|
%global HsYAML HsYAML-0.2.1.0
|
|
|
|
%global unicodetransforms unicode-transforms-0.3.6
|
|
|
|
%global unicodetransforms unicode-transforms-0.3.6
|
|
|
|
# needed by unicode-transforms
|
|
|
|
# needed by unicode-transforms
|
|
|
|
%global bitarray bitarray-0.0.1.1
|
|
|
|
%global bitarray bitarray-0.0.1.1
|
|
|
|
|
|
|
|
%global doclayout doclayout-0.2.0.1
|
|
|
|
|
|
|
|
%global emojis emojis-0.1
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.1
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.1
|
|
|
|
%global ipynb ipynb-0.1
|
|
|
|
%global ipynb ipynb-0.1.0.1
|
|
|
|
%global subpkgs %{HsYAML} %{bitarray} %{unicodetransforms} %{hsluamodulesystem} %{ipynb}
|
|
|
|
%global jirawikimarkup jira-wiki-markup-1.0.0
|
|
|
|
|
|
|
|
%global textconversions text-conversions-0.3.0
|
|
|
|
|
|
|
|
%global subpkgs %{HsYAML} %{bitarray} %{unicodetransforms} %{hsluamodulesystem} %{ipynb} %{doclayout} %{emojis} %{jirawikimarkup} %{textconversions}
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Version: 2.7.3
|
|
|
|
Version: 2.9.1.1
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -27,6 +31,10 @@ Source2: https://hackage.haskell.org/package/%{unicodetransforms}/%{unico
|
|
|
|
Source3: https://hackage.haskell.org/package/%{bitarray}/%{bitarray}.tar.gz
|
|
|
|
Source3: https://hackage.haskell.org/package/%{bitarray}/%{bitarray}.tar.gz
|
|
|
|
Source4: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
|
|
|
|
Source4: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
|
|
|
|
Source5: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
|
|
|
|
Source5: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
|
|
|
|
|
|
|
|
Source6: https://hackage.haskell.org/package/%{doclayout}/%{doclayout}.tar.gz
|
|
|
|
|
|
|
|
Source7: https://hackage.haskell.org/package/%{emojis}/%{emojis}.tar.gz
|
|
|
|
|
|
|
|
Source8: https://hackage.haskell.org/package/%{jirawikimarkup}/%{jirawikimarkup}.tar.gz
|
|
|
|
|
|
|
|
Source9: https://hackage.haskell.org/package/%{textconversions}/%{textconversions}.tar.gz
|
|
|
|
# End cabal-rpm sources
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
@ -52,7 +60,9 @@ BuildRequires: ghc-containers-prof
|
|
|
|
BuildRequires: ghc-data-default-prof
|
|
|
|
BuildRequires: ghc-data-default-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
|
|
|
|
#BuildRequires: ghc-doclayout-prof
|
|
|
|
BuildRequires: ghc-doctemplates-prof
|
|
|
|
BuildRequires: ghc-doctemplates-prof
|
|
|
|
|
|
|
|
#BuildRequires: ghc-emojis-prof
|
|
|
|
BuildRequires: ghc-exceptions-prof
|
|
|
|
BuildRequires: ghc-exceptions-prof
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
BuildRequires: ghc-haddock-library-prof
|
|
|
|
BuildRequires: ghc-haddock-library-prof
|
|
|
@ -63,6 +73,7 @@ BuildRequires: ghc-http-client-prof
|
|
|
|
BuildRequires: ghc-http-client-tls-prof
|
|
|
|
BuildRequires: ghc-http-client-tls-prof
|
|
|
|
BuildRequires: ghc-http-types-prof
|
|
|
|
BuildRequires: ghc-http-types-prof
|
|
|
|
#BuildRequires: ghc-ipynb-prof
|
|
|
|
#BuildRequires: ghc-ipynb-prof
|
|
|
|
|
|
|
|
#BuildRequires: ghc-jira-wiki-markup-prof
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
BuildRequires: ghc-network-uri-prof
|
|
|
|
BuildRequires: ghc-network-uri-prof
|
|
|
@ -73,12 +84,14 @@ BuildRequires: ghc-random-prof
|
|
|
|
BuildRequires: ghc-safe-prof
|
|
|
|
BuildRequires: ghc-safe-prof
|
|
|
|
BuildRequires: ghc-scientific-prof
|
|
|
|
BuildRequires: ghc-scientific-prof
|
|
|
|
BuildRequires: ghc-skylighting-prof
|
|
|
|
BuildRequires: ghc-skylighting-prof
|
|
|
|
|
|
|
|
BuildRequires: ghc-skylighting-core-prof
|
|
|
|
BuildRequires: ghc-split-prof
|
|
|
|
BuildRequires: ghc-split-prof
|
|
|
|
BuildRequires: ghc-syb-prof
|
|
|
|
BuildRequires: ghc-syb-prof
|
|
|
|
BuildRequires: ghc-tagsoup-prof
|
|
|
|
BuildRequires: ghc-tagsoup-prof
|
|
|
|
BuildRequires: ghc-temporary-prof
|
|
|
|
BuildRequires: ghc-temporary-prof
|
|
|
|
BuildRequires: ghc-texmath-prof
|
|
|
|
BuildRequires: ghc-texmath-prof
|
|
|
|
BuildRequires: ghc-text-prof
|
|
|
|
BuildRequires: ghc-text-prof
|
|
|
|
|
|
|
|
#BuildRequires: ghc-text-conversions-prof
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
#BuildRequires: ghc-unicode-transforms-prof
|
|
|
|
#BuildRequires: ghc-unicode-transforms-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
@ -90,21 +103,25 @@ BuildRequires: ghc-zlib-prof
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
# for missing dep 'bitarray':
|
|
|
|
# for missing dep 'bitarray':
|
|
|
|
BuildRequires: ghc-array-prof
|
|
|
|
BuildRequires: ghc-array-prof
|
|
|
|
|
|
|
|
# for missing dep 'text-conversions':
|
|
|
|
|
|
|
|
BuildRequires: ghc-base16-bytestring-prof
|
|
|
|
|
|
|
|
BuildRequires: ghc-errors-prof
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Pandoc is a Haskell library for converting from one markup format to another,
|
|
|
|
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
|
|
|
|
and a command-line tool that uses this library. It can read several dialects of
|
|
|
|
Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
|
|
|
Markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
|
|
|
MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Creole 1.0,
|
|
|
|
MediaWiki markup, DokuWiki markup, TWiki markup, TikiWiki markup, Jira markup,
|
|
|
|
Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
|
|
|
|
Creole 1.0, Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb
|
|
|
|
notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man, and Textile,
|
|
|
|
(Jupyter notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man, and
|
|
|
|
and it can write Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
|
|
|
|
Textile, and it can write Markdown, reStructuredText, XHTML, HTML 5, LaTeX,
|
|
|
|
DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint pptx, RTF,
|
|
|
|
ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx, PowerPoint
|
|
|
|
MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff man, roff ms, plain
|
|
|
|
pptx, RTF, MediaWiki, DokuWiki, XWiki, ZimWiki, Textile, Jira, roff man, roff
|
|
|
|
text, Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb,
|
|
|
|
ms, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup, EPUB (v2 and v3),
|
|
|
|
FictionBook2, InDesign ICML, Muse, LaTeX beamer slides, and several kinds of
|
|
|
|
ipynb, FictionBook2, InDesign ICML, Muse, LaTeX beamer slides, and several
|
|
|
|
HTML/JavaScript slide shows (S5, Slidy, Slideous, DZSlides, reveal.js).
|
|
|
|
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
|
|
|
|
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
|
|
|
|
a modular design: it consists of a set of readers, which parse text in a given
|
|
|
@ -191,6 +208,10 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
%ghc_lib_subpackage %{bitarray}
|
|
|
|
%ghc_lib_subpackage %{bitarray}
|
|
|
|
%ghc_lib_subpackage %{hsluamodulesystem}
|
|
|
|
%ghc_lib_subpackage %{hsluamodulesystem}
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{doclayout}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{emojis}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{jirawikimarkup}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{textconversions}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
%global version %{main_version}
|
|
|
@ -198,7 +219,7 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9
|
|
|
|
# End cabal-rpm setup
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -245,7 +266,7 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
%files common
|
|
|
|
%files common
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license COPYING.md
|
|
|
|
%license COPYING.md
|
|
|
|
%doc AUTHORS.md BUGS CONTRIBUTING.md README.md changelog
|
|
|
|
%doc AUTHORS.md BUGS CONTRIBUTING.md README.md changelog.md
|
|
|
|
%{_datadir}/%{pkgver}
|
|
|
|
%{_datadir}/%{pkgver}
|
|
|
|
# End cabal-rpm files
|
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
@ -270,6 +291,10 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 2.9.1.1-4
|
|
|
|
|
|
|
|
- https://pandoc.org/releases.html#pandoc-2.9.1.1-2020-01-05
|
|
|
|
|
|
|
|
- new deps: doclayout, emojis, jira-wiki-markup, text-conversions
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 23 2020 Jens Petersen <petersen@redhat.com> - 2.7.3-3
|
|
|
|
* Sun Feb 23 2020 Jens Petersen <petersen@redhat.com> - 2.7.3-3
|
|
|
|
- https://pandoc.org/releases.html#pandoc-2.7.3-2019-06-11
|
|
|
|
- https://pandoc.org/releases.html#pandoc-2.7.3-2019-06-11
|
|
|
|
|
|
|
|
|
|
|
|