Browse Source

correct date in SPEC file

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10167 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 8 years ago
parent
commit
a62e390284
1 changed files with 32 additions and 28 deletions
  1. 32 28
      p/pandoc/pandoc-vl.spec

+ 32 - 28
p/pandoc/pandoc-vl.spec

@@ -84,19 +84,21 @@ MediaWiki markup, Haddock markup, OPML, Emacs Org-mode, and Textile,
  and it can write markdown, reStructuredText, HTML,
 LaTeX (including rendering as plain PDF or beamer slide shows),
 ConTeXt, DocBook, OPML, OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
- groff man pages, GNU Texinfo, plain text, Emacs Org-Mode, AsciiDoc, InDesign ICML,
-EPUB (v2 or v3), FictionBook2, and several kinds of HTML/javascript slide shows
- (S5, Slidy, Slideous, DZSlides, reveal.js).
+ groff man pages, GNU Texinfo, plain text, Emacs Org-Mode, AsciiDoc, InDesign
+ ICML, EPUB (v2 or v3), FictionBook2, and several kinds of HTML/javascript
+ slide shows  (S5, Slidy, Slideous, DZSlides, reveal.js).
 
 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.
+A compatibility mode is provided for those who need a drop-in replacement for
+ Markdown.pl.
 
 In contrast to existing tools for converting markdown to HTML,
  which use regex substitutions, pandoc has a modular design:
  it consists of a set of readers, which parse text in a given format
  and produce a native representation of the document,
- and a set of writers, which convert this native representation into a target format.
+ and a set of writers, which convert this native representation into a target
+ format.
 Thus, adding an input or output format requires only adding a reader or writer.
 
 %description -l ja
@@ -105,10 +107,11 @@ Pandoc はあるマークアップ形式から別の形式に変換するHaskell
 markdown、HTML (のサブセット)、reStructuredText、 LaTeX、DocBook、
 MediaWikiマークアップ、Haddockマークアップ、OPML、Emacs Org-mode、
 およびTextileを読み取り、
-markdown、reStructuredText、HTML、LaTeX (プレインPDFまたはbeamerスライドショーでの描画を含む)、
-ConTeXt、DocBook、OPML、OpenDocument、ODT、Word docx、RTF、 MediaWiki、Textile、
-groff manページ、GNU Texinfo、プレーンテキスト、Emacs Org-Mode、AsciiDoc、InDesign ICML、
-EPUB (v2 または v3)、FictionBook2、およびいくつかの種類のHTML/javascriptスライドショー
+markdown、reStructuredText、HTML、LaTeX (プレインPDFまたはbeamerスライドショー
+での描画を含む)、ConTeXt、DocBook、OPML、OpenDocument、ODT、Word docx、RTF、
+MediaWiki、Textile、groff manページ、GNU Texinfo、プレーンテキスト、
+Emacs Org-Mode、AsciiDoc、InDesign ICML、EPUB (v2 または v3)、FictionBook2、
+およびいくつかの種類のHTML/javascriptスライドショー
 (S5, Slidy, Slideous, DZSlides, reveal.js) に書き出せます。
 
 Pandocは標準的なmarkdownの文法に脚注、組み込み LaTeX、定義リスト、表、
@@ -118,8 +121,9 @@ Markdown.plの気軽な置き換えを希望する方向けに互換モードを
 markdownからHTMLに変換する既存のツールは正規表現で置換していますが、
 これらとは異なり、pandoc はモジュール式の設計になっています:
 テキストを指定された形式でパースし、文書のネイティブ表現を生成するリーダ一式、
-および、このネイティブ表現を対象とする形式に変換するライタ一式で構成されています。
-したがって、入力または出力形式を追加するにはリーダやライタを 追加することだけが必要です。
+および、このネイティブ表現を対象とする形式に変換するライタ一式で構成されて
+います。したがって、入力または出力形式を追加するにはリーダやライタを追加する
+ことだけが必要です。
 
 
 %package citeproc
@@ -130,9 +134,10 @@ Group:    Applications/Text
 Requires: pandoc = %{pkg_version}-%{release}
 
 %description citeproc
-The pandoc-citeproc library exports functions for using the citeproc system with pandoc.
-It relies on citeproc-hs, a library for rendering bibliographic reference citations
- into a variety of styles using a macro language called Citation Style Language (CSL).
+The pandoc-citeproc library exports functions for using the citeproc system
+with pandoc. It relies on citeproc-hs, a library for rendering bibliographic
+reference citations into a variety of styles using a macro language called
+Citation Style Language (CSL).
 More details on CSL can be found here: http://citationstyles.org/.
 
 
@@ -145,8 +150,8 @@ Requires: pandoc = %{pkg_version}-%{release}
 
 %description crossref
 pandoc-crossref is a pandoc filter for numbering figures, equations, tables
- and cross-references to them. Input file (like demo.md) can be converted into html,
- latex, pdf, md or other formats.
+ and cross-references to them. Input file (like demo.md) can be converted into
+ html, latex, pdf, md or other formats.
 Optionally, you can use cleveref for latex/pdf output,
  e.g. cleveref pdf, cleveref latex, and listings package,
  e.g. listings pdf, listings latex.
@@ -163,12 +168,11 @@ You need to specify -M chapters for non-latex/pdf output however.
 %build
 # Initialise the package db
 ghc-pkg init %{_builddir}/package.conf
-# cabal update
 
 # install dependent packages
 cd %{_builddir}
 for pkg in `cat %{_sourcedir}/packages`; do
-  tar xzf %{_sourcedir}/${pkg}.tar.gz
+  %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
   cd ${pkg}
   cabal configure
   cabal build
@@ -178,10 +182,10 @@ for pkg in `cat %{_sourcedir}/packages`; do
 done
 
 # build pandoc and related packages
-for pkg in pandoc-%{pkg_version} pandoc-citeproc-%{citeproc_version} pandoc-crossref-%{crossref_version};
+for pkg in pandoc-%{pkg_version} pandoc-citeproc-%{citeproc_version} \
+           pandoc-crossref-%{crossref_version};
 do
   cd %{_builddir}/${pkg}
-  # cabal install --only-dependencies
   cabal configure \
       --prefix=%{_prefix} \
       --libdir=%{_libdir}/${pkg} \
@@ -204,7 +208,7 @@ cd ${RPM_BUILD_ROOT}%{_datadir}/pandoc-%{pkg_version}
 %{__mv} man ${RPM_BUILD_ROOT}%{_mandir}/
 
 # pandoc-citeproc
-%{__mkdir} -p ${RPM_BUILD_ROOT}%{_docdir}/pandoc-citeproc-%{citeproc_version}
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/pandoc-citeproc-%{citeproc_version}
 cd ${RPM_BUILD_ROOT}%{_datadir}/pandoc-citeproc-%{citeproc_version}
 %{__mv} README.md changelog \
         ${RPM_BUILD_ROOT}%{_docdir}/pandoc-citeproc-%{citeproc_version}
@@ -212,15 +216,15 @@ cd ${RPM_BUILD_ROOT}%{_datadir}/pandoc-citeproc-%{citeproc_version}
 %{__rm} -rf man
 
 # pandoc-crossref
-%{__mkdir} -p ${RPM_BUILD_ROOT}%{_docdir}/pandoc-crossref-%{crossref_version}
-%{__install} -m 644 %{_builddir}/pandoc-crossref-%{crossref_version}/{demo,LICENSE,README}.md \
-                    ${RPM_BUILD_ROOT}%{_docdir}/pandoc-crossref-%{crossref_version}
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/pandoc-crossref-%{crossref_version}
+%{__install} -m 644 \
+ %{_builddir}/pandoc-crossref-%{crossref_version}/{demo,LICENSE,README}.md \
+ ${RPM_BUILD_ROOT}%{_docdir}/pandoc-crossref-%{crossref_version}
 %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/pandoc-crossref-%{crossref_version}
 
 # delete unnecessary folder
 %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}
 
-
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
@@ -250,13 +254,13 @@ cd ${RPM_BUILD_ROOT}%{_datadir}/pandoc-citeproc-%{citeproc_version}
 
 
 %changelog
-* Mon Mar 07 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-5
+* Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.3-5
 - correct SPEC file
 
-* Mon Mar 07 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-4
+* Mon Mar 07 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.3-4
 - correct pandoc-citeproc error
 
-* Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-3
+* Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.3-2
 - rebuild under dependent rpm packages
 
 * Sun Feb 21 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-2