2012-01-05 00:09:58 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
2010-12-21 06:14:09 +00:00
|
|
|
%global pkg_name texmath
|
|
|
|
|
|
|
|
%global common_summary Haskell %{pkg_name} library
|
|
|
|
|
|
|
|
%global common_description The texmathml library provides functions to convert LaTeX math formulas to\
|
|
|
|
presentation MathML. It supports basic LaTeX and AMS extensions, and it can\
|
|
|
|
parse and apply LaTeX macros.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-02-12 09:10:54 +00:00
|
|
|
Version: 0.6.0.3
|
|
|
|
Release: 1%{?dist}
|
2010-12-21 06:14:09 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv2+
|
2012-01-05 00:09:58 +00:00
|
|
|
# BEGIN cabal2spec
|
2010-12-21 06:14:09 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-22 09:26:19 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-05 00:09:58 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: ghc-parsec-prof
|
|
|
|
BuildRequires: ghc-syb-prof
|
|
|
|
BuildRequires: ghc-xml-prof
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
2012-01-05 00:09:58 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{cgi,tests}
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
|
|
|
|
%ghc_devel_description
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
2012-01-05 00:09:58 +00:00
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|