update to 0.8.0.1

This commit is contained in:
Jens Petersen 2015-01-26 12:02:48 +09:00
parent 676a40b6be
commit c08d693299
3 changed files with 38 additions and 11 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/texmath-0.6.1.5.tar.gz
/texmath-0.6.6.tar.gz
/texmath-0.6.6.1.tar.gz
/texmath-0.8.0.1.tar.gz

View File

@ -2,31 +2,47 @@
%global pkg_name texmath
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.6.6.1
Release: 3%{?dist}
Summary: Conversion of LaTeX math formulas to MathML or OMML
Version: 0.8.0.1
Release: 1%{?dist}
Summary: Conversion between formats used to represent mathematics
License: GPLv2+
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-xml-devel
%if %{with tests}
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
%endif
# End cabal-rpm deps
%description
The texmathml library provides functions to convert LaTeX math formulas
to presentation MathML (which can be used in HTML) or
OMML (Office Math Markup Language, used in Microsoft Office).
It supports basic LaTeX and AMS extensions,
and it can parse and apply LaTeX macros.
The texmath library provides functions to read and write TeX math, presentation
MathML, and OMML (Office Math Markup Language, used in Microsoft Office).
Support is also included for converting math formats to pandoc's native format
(allowing conversion, via pandoc, to a variety of different markup formats).
The TeX reader supports basic LaTeX and AMS extensions, and it can parse and
apply LaTeX macros. (See <http://johnmacfarlane.net/texmath here> for a live
demo of bidirectional conversion between LaTeX and MathML.)
%package devel
@ -43,6 +59,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cabal-tweak-flag network-uri False
%build
@ -53,6 +70,12 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -70,6 +93,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Mon Jan 26 2015 Jens Petersen <petersen@redhat.com> - 0.6.6.1-1
- update to 0.8.0.1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
9bfa1f6ba92fdb85636cb1c454ad952a texmath-0.6.6.1.tar.gz
9031cbb9d75d24b4907405e7215e5ae9 texmath-0.8.0.1.tar.gz