commit ed179a712f0ab575812eb797b30792070d14635d Author: CentOS Sources Date: Tue May 7 08:48:19 2019 -0400 import ghc-texmath-0.10.1-2.el8 diff --git a/.ghc-texmath.metadata b/.ghc-texmath.metadata new file mode 100644 index 0000000..3ae6617 --- /dev/null +++ b/.ghc-texmath.metadata @@ -0,0 +1 @@ +b7182588fb667396507aeb4d19b5b2b013a7671a SOURCES/texmath-0.10.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c2541f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/texmath-0.10.1.tar.gz diff --git a/SPECS/ghc-texmath.spec b/SPECS/ghc-texmath.spec new file mode 100644 index 0000000..7289d50 --- /dev/null +++ b/SPECS/ghc-texmath.spec @@ -0,0 +1,235 @@ +# generated by cabal-rpm-0.12.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name texmath +%global pkgver %{pkg_name}-%{version} + +%ifnarch armv7hl +%bcond_without tests +%endif + +Name: ghc-%{pkg_name} +Version: 0.10.1 +Release: 2%{?dist} +Summary: Conversion between formats used to represent mathematics + +License: GPLv2+ +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.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-uri-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 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 Gnu eqn and 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 +for a live demo of bidirectional conversion between LaTeX and MathML.) + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc README.markdown changelog + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Jens Petersen - 0.10.1-1 +- update to 0.10.1 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 22 2017 Jens Petersen - 0.9.1-1 +- update to 0.9.1 + +* Fri Feb 10 2017 Fedora Release Engineering - 0.8.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jun 27 2016 Jens Petersen - 0.8.6.4-1 +- update to 0.8.6.4 + +* Thu Jun 16 2016 Jens Petersen - 0.8.4.2-2 +- build with network-uri + +* Sat Mar 05 2016 Jens Petersen - 0.8.4.2-1 +- update to 0.8.4.2 + +* Wed Feb 03 2016 Fedora Release Engineering - 0.8.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Aug 31 2015 Peter Robinson 0.8.0.1-4 +- Rebuild (aarch64 vector hashes) + +* Wed Jun 17 2015 Fedora Release Engineering - 0.8.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Apr 15 2015 Jens Petersen - 0.8.0.1-2 +- run tests in utf8 on aarch64 + +* Sun Feb 1 2015 Jens Petersen - 0.8.0.1-1 +- update to 0.8.0.1 +- disable tests on armv7 + +* Sat Aug 16 2014 Fedora Release Engineering - 0.6.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.6.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 08 2014 Jens Petersen - 0.6.6.1-1 +- update to 0.6.6.1 + +* Wed Jan 22 2014 Jens Petersen - 0.6.6-1 +- update to 0.6.6 + +* Sat Aug 03 2013 Fedora Release Engineering - 0.6.1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jun 05 2013 Jens Petersen - 0.6.1.5-2 +- update to new simplified Haskell Packaging Guidelines + +* Wed Jun 05 2013 Jens Petersen - 0.6.1.5-1 +- update to 0.6.1.5 + +* Sun Mar 10 2013 Jens Petersen - 0.6.1.3-1 +- update to 0.6.1.3 + +* Wed Feb 13 2013 Fedora Release Engineering - 0.6.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 08 2012 Jens Petersen - 0.6.1.1-1 +- update to 0.6.1.1 +- update summary and description + +* Thu Jul 19 2012 Fedora Release Engineering - 0.6.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 16 2012 Jens Petersen - 0.6.0.6-2 +- change prof BRs to devel + +* Wed Jun 13 2012 Jens Petersen - 0.6.0.6-1 +- update to 0.6.0.6 + +* Fri Mar 23 2012 Jens Petersen - 0.6.0.3-2 +- add license to ghc_files + +* Sun Feb 12 2012 Jens Petersen - 0.6.0.3-1 +- update to 0.6.0.3 + +* Tue Feb 7 2012 Jens Petersen - 0.5.0.4-2 +- rebuild + +* Thu Jan 5 2012 Jens Petersen - 0.5.0.4-1 +- update to 0.5.0.4 and cabal2spec-0.25.2 + +* Mon Oct 24 2011 Marcela Mašláňová - 0.5.0.1-3.3 +- rebuild with new gmp without compat lib + +* Fri Oct 21 2011 Marcela Mašláňová - 0.5.0.1-3.2 +- rebuild with new gmp without compat lib + +* Tue Oct 11 2011 Peter Schiffer - 0.5.0.1-3.1 +- rebuild with new gmp + +* Wed Jul 27 2011 Jens Petersen - 0.5.0.1-3 +- rebuild for xml-1.3.9 + +* Wed Jun 22 2011 Jens Petersen - 0.5.0.1-2 +- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) + +* Sat May 28 2011 Jens Petersen - 0.5.0.1-1 +- update to 0.5.0.1 +- update to cabal2spec-0.23: add ppc64 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 0.4-6 +- Enable build on sparcv9 + +* Tue Feb 15 2011 Jens Petersen - 0.4-5 +- rebuild for haskell-platform-2011.1 updates + +* Tue Feb 08 2011 Fedora Release Engineering - 0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jan 26 2011 Jens Petersen - 0.4-3 +- update to cabal2spec-0.22.4 + +* Tue Dec 21 2010 Jens Petersen - 0.4-2 +- need depends on syb for ghc-7.0 + +* Fri Nov 12 2010 Jens Petersen - 0.4-1 +- GPLv2+ +- add deps and description +- remove unused tests and cgi data files + +* Fri Nov 12 2010 Fedora Haskell SIG - 0.4-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.2