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}
|
2011-05-28 08:00:56 +00:00
|
|
|
Version: 0.5.0.1
|
|
|
|
Release: 1%{?dist}
|
2010-12-21 06:14:09 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
# fedora ghc archs:
|
2011-05-28 08:00:56 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
|
|
|
BuildRequires: ghc-prof
|
|
|
|
BuildRequires: ghc-rpm-macros
|
2010-12-21 06:14:09 +00:00
|
|
|
BuildRequires: hscolour
|
2011-05-28 08:00:56 +00:00
|
|
|
BuildRequires: ghc-parsec-prof, ghc-syb-prof, 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
|
|
|
|
|
|
|
|
# remove tests and cgi data files
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
2011-02-15 11:44:13 +00:00
|
|
|
%ghc_lib_package
|
2010-12-21 06:14:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|