Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Jens Petersen | a11dc86732 |
40
pandoc.spec
40
pandoc.spec
|
@ -1,4 +1,3 @@
|
|||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
|
@ -6,43 +5,53 @@
|
|||
|
||||
%global common_summary Haskell %{pkg_name} library
|
||||
|
||||
%global common_description 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 markdown and\
|
||||
(subsets of) reStructuredText, HTML, and LaTeX, and it can write markdown,\
|
||||
reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OpenDocument, ODT, RTF,\
|
||||
MediaWiki, groff man pages, EPUB, and S5 and Slidy HTML slide shows.
|
||||
%global common_description Pandoc is a tool and Haskell library for converting markup formats.\
|
||||
It can read markdown and (subsets of) HTML, reStructuredText, LaTeX, DocBook,\
|
||||
and Textile, and can write markdown, reStructuredText, HTML, LaTeX, ConTeXt,\
|
||||
Docbook, OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile, groff man pages,\
|
||||
plain text, Emacs Org-Mode, AsciiDoc, EPUB, and S5, Slidy and Slideous HTML\
|
||||
slide-shows.\
|
||||
\
|
||||
Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,\
|
||||
definition lists, tables, and other features. A compatibility mode is\
|
||||
provided for those who need a drop-in replacement for Markdown.pl.
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: 1.9.4.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Markup conversion tool for markdown
|
||||
|
||||
Group: Applications/Publishing
|
||||
License: GPLv2+
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-HTTP-devel
|
||||
BuildRequires: ghc-base64-bytestring-devel
|
||||
BuildRequires: ghc-blaze-html-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-citeproc-hs-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-extensible-exceptions-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-highlighting-kate-devel
|
||||
BuildRequires: ghc-HTTP-devel
|
||||
BuildRequires: ghc-json-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-old-locale-devel
|
||||
BuildRequires: ghc-pandoc-types-devel
|
||||
BuildRequires: ghc-parsec-devel
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
BuildRequires: ghc-syb-devel
|
||||
BuildRequires: ghc-tagsoup-devel
|
||||
BuildRequires: ghc-temporary-devel
|
||||
BuildRequires: ghc-texmath-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-utf8-string-devel
|
||||
BuildRequires: ghc-xhtml-devel
|
||||
BuildRequires: ghc-xml-devel
|
||||
BuildRequires: ghc-zip-archive-devel
|
||||
BuildRequires: ghc-zlib-devel
|
||||
|
@ -119,6 +128,9 @@ ln -s pandoc %{buildroot}%{_bindir}/hsmarkdown
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 3 2012 Jens Petersen <petersen@redhat.com> - 1.9.4.2-7
|
||||
- update packaging with cabal-rpm and description
|
||||
|
||||
* Fri Oct 26 2012 Jens Petersen <petersen@redhat.com> - 1.9.4.2-6
|
||||
- disable threaded rts with upstream patch copied from Debian (#862543)
|
||||
|
||||
|
|
Loading…
Reference in New Issue