summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Petersen <petersen@redhat.com>2014-02-11 22:13:41 +0900
committerJens Petersen <petersen@redhat.com>2014-02-11 22:13:41 +0900
commitb04c0f6383efe0cc97862cdcacc8944cdcc8e5ef (patch)
tree93bdc914ea90449e357e525dabcb5000b16650fa
parent3f80e38a43b3cfb328490259c15418ab51c774c1 (diff)
downloadpandoc-standalone-b04c0f6383efe0cc97862cdcacc8944cdcc8e5ef.zip
pandoc-standalone-b04c0f6383efe0cc97862cdcacc8944cdcc8e5ef.tar.gz
pandoc-standalone-b04c0f6383efe0cc97862cdcacc8944cdcc8e5ef.tar.xz
older pandoc.spec and pandoc-citeproc.spec
-rw-r--r--old/pandoc-citeproc/pandoc-citeproc.spec121
-rw-r--r--old/pandoc/pandoc.spec120
2 files changed, 241 insertions, 0 deletions
diff --git a/old/pandoc-citeproc/pandoc-citeproc.spec b/old/pandoc-citeproc/pandoc-citeproc.spec
new file mode 100644
index 0000000..d953ddb
--- /dev/null
+++ b/old/pandoc-citeproc/pandoc-citeproc.spec
@@ -0,0 +1,121 @@
+Name: pandoc-citeproc
+Version: 0.3.0.1
+Release: 2%{?dist}
+Summary: Supports using pandoc with citeproc
+
+Group: Text/Processing
+License: BSD
+URL: http://hackage.haskell.org/package/%{name}
+Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: alex
+#BuildRequires: chrpath
+BuildRequires: ghc-HTTP-devel
+#BuildRequires: ghc-aeson-devel
+#BuildRequires: ghc-aeson-pretty-devel
+#BuildRequires: ghc-attoparsec-devel
+#BuildRequires: ghc-base64-bytestring-devel
+BuildRequires: ghc-binary-devel
+#BuildRequires: ghc-blaze-html-devel
+#BuildRequires: ghc-blaze-markup-devel
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-containers-devel
+#BuildRequires: ghc-data-default-devel
+BuildRequires: ghc-directory-devel
+BuildRequires: ghc-extensible-exceptions-devel
+BuildRequires: ghc-filepath-devel
+#BuildRequires: ghc-hexpat-devel
+#BuildRequires: ghc-highlighting-kate-devel
+#BuildRequires: ghc-hs-bibutils-devel
+#BuildRequires: ghc-hslua-devel
+#BuildRequires: ghc-http-conduit-devel
+#BuildRequires: ghc-http-types-devel
+BuildRequires: ghc-mtl-devel
+BuildRequires: ghc-network-devel
+BuildRequires: ghc-old-locale-devel
+#BuildRequires: ghc-pandoc-devel
+#BuildRequires: ghc-pandoc-types-devel
+BuildRequires: ghc-parsec-devel
+BuildRequires: ghc-process-devel
+BuildRequires: ghc-random-devel
+#BuildRequires: ghc-rfc5051-devel
+BuildRequires: ghc-split-devel
+BuildRequires: ghc-syb-devel
+#BuildRequires: ghc-tagsoup-devel
+#BuildRequires: ghc-temporary-devel
+#BuildRequires: ghc-texmath-devel
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-time-devel
+#BuildRequires: ghc-unordered-containers-devel
+BuildRequires: ghc-vector-devel
+#BuildRequires: ghc-xml-devel
+#BuildRequires: ghc-yaml-devel
+#BuildRequires: ghc-zip-archive-devel
+BuildRequires: ghc-zlib-devel
+BuildRequires: happy
+# End cabal-rpm deps
+# uses sandboxing
+BuildRequires: cabal-dev
+BuildRequires: hsb2hs
+BuildRequires: pcre-devel%{?_isa}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+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/>.
+
+Currently this package includes a copy of the citeproc-hs code. When
+citeproc-hs is updated to be compatible, this package will simply depend on
+citeproc-hs.
+
+This package also contains an executable: pandoc-citeproc, which works as a
+pandoc filter (pandoc >= 1.12), and also has a mode for converting
+bibliographic databases a YAML format suitable for inclusion in pandoc YAML
+metadata.
+
+
+%prep
+%setup -q
+
+cabal-tweak-flag embed_data_files True
+
+
+%build
+cabal-dev install-deps
+cabal-dev configure --prefix=%{_prefix} --libdir=%{_libdir}
+cabal-dev build
+
+
+%install
+rm -rf %{buildroot}
+cabal-dev copy --destdir=%{buildroot} -v
+
+rm -rf %{buildroot}%{_libdir}/%{name}-%{version}
+rm -rf %{buildroot}%{_datadir}/%{name}-%{version}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%doc README.md
+%{_bindir}/%{name}
+#%%{_datadir}/%{name}-%{version}
+%{_mandir}/man1/%{name}.1*
+
+
+%changelog
+* Sat Feb 1 2014 Jens Petersen <petersen@fedoraproject.org> - 0.3.0.1-2
+- embed data files
+
+* Wed Jan 29 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.0.1
+- spec file generated by cabal-rpm-0.8.7
diff --git a/old/pandoc/pandoc.spec b/old/pandoc/pandoc.spec
new file mode 100644
index 0000000..832d055
--- /dev/null
+++ b/old/pandoc/pandoc.spec
@@ -0,0 +1,120 @@
+Name: pandoc
+Version: 1.12.3.1
+Release: 1%{?dist}
+Summary: Conversion between markup formats
+
+License: GPLv2+
+Group: Text/Processing
+URL: http://hackage.haskell.org/package/%{name}
+Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: alex
+#BuildRequires: chrpath
+BuildRequires: ghc-HTTP-devel
+#BuildRequires: ghc-aeson-devel
+BuildRequires: ghc-array-devel
+#BuildRequires: ghc-attoparsec-devel
+#BuildRequires: ghc-base64-bytestring-devel
+BuildRequires: ghc-binary-devel
+#BuildRequires: ghc-blaze-html-devel
+#BuildRequires: ghc-blaze-markup-devel
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-containers-devel
+#BuildRequires: ghc-data-default-devel
+BuildRequires: ghc-directory-devel
+BuildRequires: ghc-extensible-exceptions-devel
+BuildRequires: ghc-filepath-devel
+#BuildRequires: ghc-highlighting-kate-devel
+#BuildRequires: ghc-hslua-devel
+#BuildRequires: ghc-http-conduit-devel
+#BuildRequires: ghc-http-types-devel
+BuildRequires: ghc-mtl-devel
+BuildRequires: ghc-network-devel
+BuildRequires: ghc-old-locale-devel
+BuildRequires: ghc-old-time-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-text-devel
+BuildRequires: ghc-time-devel
+#BuildRequires: ghc-unordered-containers-devel
+BuildRequires: ghc-vector-devel
+#BuildRequires: ghc-xml-devel
+#BuildRequires: ghc-yaml-devel
+#BuildRequires: ghc-zip-archive-devel
+BuildRequires: ghc-zlib-devel
+BuildRequires: happy
+# End cabal-rpm deps
+# uses sandboxing
+BuildRequires: cabal-dev
+BuildRequires: hsb2hs
+BuildRequires: pcre-devel%{?_isa}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+Pandoc a command-line tool that can read markdown and (subsets of) HTML,
+reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock markup,
+OPML, and Textile, and it can write markdown, reStructuredText, HTML,
+LaTeX, ConTeXt, Docbook, OPML, OpenDocument, ODT, Word docx, RTF, MediaWiki,
+Textile, groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB (v2 and
+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.
+
+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. Thus, adding an input or output format requires only adding a
+reader or writer.
+
+
+%global cabal cabal-dev
+
+
+%prep
+%setup -q
+
+cabal-tweak-flag embed_data_files True
+
+
+%build
+%cabal install-deps
+%cabal configure --prefix=%{_prefix} --libdir=%{_libdir}
+%cabal build
+
+
+%install
+rm -rf %{buildroot}
+%cabal copy --destdir=%{buildroot} -v
+
+rm -rf %{buildroot}%{_libdir}/%{name}-%{version}
+rm -rf %{buildroot}%{_datadir}/%{name}-%{version}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+%{_bindir}/%{name}
+%{_mandir}/man1/pandoc.1*
+%{_mandir}/man5/pandoc_markdown.5*
+
+
+%changelog
+* Sat Jan 25 2014 Jens Petersen <petersen@redhat.com> - 1.12.3.1-1
+- haskell statically linked pandoc built with cabal-install