|
|
|
@ -7,16 +7,19 @@
|
|
|
|
|
%global unicodetransforms unicode-transforms-0.3.6
|
|
|
|
|
# needed by unicode-transforms
|
|
|
|
|
%global bitarray bitarray-0.0.1.1
|
|
|
|
|
%global emojis emojis-0.1
|
|
|
|
|
%global hsluamodulesystem hslua-module-system-0.2.1
|
|
|
|
|
%global ipynb ipynb-0.1.0.1
|
|
|
|
|
%global jirawikimarkup jira-wiki-markup-1.0.0
|
|
|
|
|
%global subpkgs %{HsYAML} %{bitarray} %{unicodetransforms} %{hsluamodulesystem} %{ipynb} %{doclayout} %{emojis} %{jirawikimarkup} %{textconversions}
|
|
|
|
|
%global emojis emojis-0.1
|
|
|
|
|
%global jirawikimarkup jira-wiki-markup-1.1.4
|
|
|
|
|
%global basenoprelude base-noprelude-4.13.0.0
|
|
|
|
|
%global subpkgs %{bitarray} %{unicodetransforms} %{hsluamodulesystem} %{ipynb} %{emojis} %{jirawikimarkup} %{basenoprelude}
|
|
|
|
|
|
|
|
|
|
# testsuite missing deps: base-noprelude tasty-golden tasty-lua
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
|
Version: 2.9.1.1
|
|
|
|
|
Version: 2.9.2.1
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Conversion between markup formats
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -29,6 +32,7 @@ Source3: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hslua
|
|
|
|
|
Source4: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
|
|
|
|
|
Source5: https://hackage.haskell.org/package/%{emojis}/%{emojis}.tar.gz
|
|
|
|
|
Source6: https://hackage.haskell.org/package/%{jirawikimarkup}/%{jirawikimarkup}.tar.gz
|
|
|
|
|
Source7: https://hackage.haskell.org/package/%{basenoprelude}/%{basenoprelude}.tar.gz
|
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
@ -42,7 +46,8 @@ BuildRequires: ghc-SHA-prof
|
|
|
|
|
BuildRequires: ghc-aeson-prof
|
|
|
|
|
BuildRequires: ghc-aeson-pretty-prof
|
|
|
|
|
BuildRequires: ghc-attoparsec-prof
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-base-compat-prof
|
|
|
|
|
#BuildRequires: ghc-base-noprelude-prof
|
|
|
|
|
BuildRequires: ghc-base64-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-binary-prof
|
|
|
|
|
BuildRequires: ghc-blaze-html-prof
|
|
|
|
@ -95,9 +100,25 @@ BuildRequires: ghc-xml-prof
|
|
|
|
|
BuildRequires: ghc-zip-archive-prof
|
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
# for missing dep 'unicode-transforms':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'bitarray':
|
|
|
|
|
BuildRequires: ghc-array-prof
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'hslua-module-system':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'ipynb':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'emojis':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'jira-wiki-markup':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'base-noprelude':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'doclayout':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
# for missing dep 'text-conversions':
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-base16-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-errors-prof
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
@ -108,13 +129,13 @@ 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, DokuWiki markup, TWiki markup, TikiWiki markup, Jira 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,
|
|
|
|
|
(Jupyter notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2, roff man,
|
|
|
|
|
Textile, and CSV, 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
|
|
|
|
@ -203,6 +224,7 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
%ghc_lib_subpackage %{ipynb}
|
|
|
|
|
%ghc_lib_subpackage %{emojis}
|
|
|
|
|
%ghc_lib_subpackage %{jirawikimarkup}
|
|
|
|
|
%ghc_lib_subpackage -m %{basenoprelude}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
@ -210,7 +232,7 @@ This package provides the Haskell %{name} profiling library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5 -a6
|
|
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7
|
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -235,6 +257,10 @@ ln -s pandoc %{buildroot}%{_bindir}/hsmarkdown
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
echo %{_bindir}/jira-wiki-markup >> %{jirawikimarkup}/ghc-jira-wiki-markup.files
|
|
|
|
|
mv %{buildroot}%{_defaultlicensedir}/ghc-base-noprelude{,-devel}
|
|
|
|
|
echo "%%license %{basenoprelude}/LICENSE" >> %{basenoprelude}/ghc-base-noprelude-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
@ -272,8 +298,12 @@ install -m 0644 -p -D man/pandoc.1 %{buildroot}%{_mandir}/man1/pandoc.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 19 2020 Jens Petersen <petersen@redhat.com> - 2.9.2.1-5
|
|
|
|
|
- https://hackage.haskell.org/package/pandoc-2.9.2.1/changelog
|
|
|
|
|
- subpackage base-noprelude
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
- https://hackage.haskell.org/package/pandoc-2.9.1.1/changelog
|
|
|
|
|
- new deps: doclayout, emojis, jira-wiki-markup, text-conversions
|
|
|
|
|
|
|
|
|
|
* Sun Feb 23 2020 Jens Petersen <petersen@redhat.com> - 2.7.3-3
|
|
|
|
|