2012-01-05 00:09:58 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2010-12-21 06:14:09 +00:00
|
|
|
%global pkg_name texmath
|
|
|
|
|
2015-02-01 08:01:19 +00:00
|
|
|
%ifnarch armv7hl
|
2015-01-26 03:02:48 +00:00
|
|
|
%bcond_without tests
|
2015-02-01 08:01:19 +00:00
|
|
|
%endif
|
2015-01-26 03:02:48 +00:00
|
|
|
|
2010-12-21 06:14:09 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2016-02-01 15:37:22 +00:00
|
|
|
Version: 0.8.0.1
|
2016-02-03 21:46:27 +00:00
|
|
|
Release: 5%{?dist}
|
2015-01-26 03:02:48 +00:00
|
|
|
Summary: Conversion between formats used to represent mathematics
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
License: GPLv2+
|
2015-01-26 03:02:48 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
2012-11-08 08:14:08 +00:00
|
|
|
|
2011-06-22 09:26:19 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-08 08:14:08 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-containers-devel
|
2015-01-26 03:02:48 +00:00
|
|
|
BuildRequires: ghc-mtl-devel
|
2016-02-01 16:16:40 +00:00
|
|
|
BuildRequires: ghc-network-devel
|
2014-01-22 09:46:03 +00:00
|
|
|
BuildRequires: ghc-pandoc-types-devel
|
2012-07-16 02:15:12 +00:00
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
BuildRequires: ghc-syb-devel
|
|
|
|
BuildRequires: ghc-xml-devel
|
2015-01-26 03:02:48 +00:00
|
|
|
%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
|
2012-11-08 08:14:08 +00:00
|
|
|
# End cabal-rpm deps
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
%description
|
2015-01-26 03:02:48 +00:00
|
|
|
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.)
|
2013-06-05 09:01:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2014-01-22 09:46:03 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2013-06-05 09:01:57 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2014-01-22 09:46:03 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-05 09:01:57 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
2016-02-01 16:16:40 +00:00
|
|
|
cabal-tweak-flag network-uri False
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
2012-01-05 00:09:58 +00:00
|
|
|
|
2015-01-26 03:02:48 +00:00
|
|
|
%check
|
2016-02-01 16:16:40 +00:00
|
|
|
%ifarch aarch64
|
|
|
|
LANG=en_US.utf8
|
2015-04-15 09:56:09 +00:00
|
|
|
%endif
|
2016-02-01 16:16:40 +00:00
|
|
|
%cabal_test
|
2015-01-26 03:02:48 +00:00
|
|
|
|
|
|
|
|
2013-06-05 09:01:57 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
2012-01-05 00:09:58 +00:00
|
|
|
|
2013-06-05 09:01:57 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
2013-06-05 09:01:57 +00:00
|
|
|
%files -f %{name}.files
|
2016-02-01 16:16:40 +00:00
|
|
|
%doc LICENSE
|
2012-01-05 00:09:58 +00:00
|
|
|
|
|
|
|
|
2013-06-05 09:01:57 +00:00
|
|
|
%files devel -f %{name}-devel.files
|
2014-01-22 09:46:03 +00:00
|
|
|
%doc README.markdown
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2016-02-03 21:46:27 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-31 22:46:20 +00:00
|
|
|
* Mon Aug 31 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.0.1-4
|
|
|
|
- Rebuild (aarch64 vector hashes)
|
|
|
|
|
2015-06-17 08:02:25 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-15 09:56:09 +00:00
|
|
|
* Wed Apr 15 2015 Jens Petersen <petersen@redhat.com> - 0.8.0.1-2
|
|
|
|
- run tests in utf8 on aarch64
|
|
|
|
|
2015-02-01 08:01:19 +00:00
|
|
|
* Sun Feb 1 2015 Jens Petersen <petersen@redhat.com> - 0.8.0.1-1
|
2015-01-26 03:02:48 +00:00
|
|
|
- update to 0.8.0.1
|
2015-02-01 08:01:19 +00:00
|
|
|
- disable tests on armv7
|
2015-01-26 03:02:48 +00:00
|
|
|
|
2014-08-16 15:59:21 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-07 15:21:37 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-08 03:27:34 +00:00
|
|
|
* Thu May 08 2014 Jens Petersen <petersen@redhat.com> - 0.6.6.1-1
|
|
|
|
- update to 0.6.6.1
|
|
|
|
|
2014-01-22 09:46:03 +00:00
|
|
|
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.6.6-1
|
|
|
|
- update to 0.6.6
|
|
|
|
|
2013-08-03 14:05:04 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-05 09:01:57 +00:00
|
|
|
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.5-2
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.5-1
|
|
|
|
- update to 0.6.1.5
|
|
|
|
|
2013-03-10 09:03:55 +00:00
|
|
|
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.3-1
|
|
|
|
- update to 0.6.1.3
|
|
|
|
|
2013-02-13 23:20:19 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-08 08:14:08 +00:00
|
|
|
* Thu Nov 08 2012 Jens Petersen <petersen@redhat.com> - 0.6.1.1-1
|
|
|
|
- update to 0.6.1.1
|
|
|
|
- update summary and description
|
|
|
|
|
2012-07-19 06:12:40 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:15:12 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.6-2
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-06-13 10:03:51 +00:00
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.6-1
|
|
|
|
- update to 0.6.0.6
|
|
|
|
|
2012-03-23 05:29:29 +00:00
|
|
|
* Fri Mar 23 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.3-2
|
|
|
|
- add license to ghc_files
|
|
|
|
|
2012-02-12 09:10:54 +00:00
|
|
|
* Sun Feb 12 2012 Jens Petersen <petersen@redhat.com> - 0.6.0.3-1
|
|
|
|
- update to 0.6.0.3
|
|
|
|
|
2012-02-07 15:23:11 +00:00
|
|
|
* Tue Feb 7 2012 Jens Petersen <petersen@redhat.com> - 0.5.0.4-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-01-05 00:09:58 +00:00
|
|
|
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 0.5.0.4-1
|
|
|
|
- update to 0.5.0.4 and cabal2spec-0.25.2
|
|
|
|
|
2011-10-24 13:36:07 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0.1-3.3
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-21 03:02:08 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0.1-3.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 18:05:32 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.5.0.1-3.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-07-27 07:11:21 +00:00
|
|
|
* Wed Jul 27 2011 Jens Petersen <petersen@redhat.com> - 0.5.0.1-3
|
|
|
|
- rebuild for xml-1.3.9
|
|
|
|
|
2011-06-22 09:26:19 +00:00
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.5.0.1-2
|
|
|
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
2011-05-28 08:00:56 +00:00
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.5.0.1-1
|
|
|
|
- update to 0.5.0.1
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.4-6
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-15 11:44:13 +00:00
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 0.4-5
|
|
|
|
- rebuild for haskell-platform-2011.1 updates
|
|
|
|
|
2011-02-09 01:36:10 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-25 14:11:40 +00:00
|
|
|
* Wed Jan 26 2011 Jens Petersen <petersen@redhat.com> - 0.4-3
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-21 06:22:27 +00:00
|
|
|
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.4-2
|
|
|
|
- need depends on syb for ghc-7.0
|
|
|
|
|
2010-12-21 06:14:09 +00:00
|
|
|
* Fri Nov 12 2010 Jens Petersen <petersen@redhat.com> - 0.4-1
|
|
|
|
- GPLv2+
|
|
|
|
- add deps and description
|
|
|
|
- remove unused tests and cgi data files
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
|