79 lines
2.2 KiB
RPMSpec
79 lines
2.2 KiB
RPMSpec
%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}
|
|
Version: 0.5.0.1
|
|
Release: 3%{?dist}
|
|
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
|
|
ExclusiveArch: %{ghc_arches}
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
BuildRequires: hscolour
|
|
BuildRequires: ghc-parsec-prof, ghc-syb-prof, ghc-xml-prof
|
|
|
|
%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}
|
|
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
%changelog
|
|
* Wed Jul 27 2011 Jens Petersen <petersen@redhat.com> - 0.5.0.1-3
|
|
- rebuild for xml-1.3.9
|
|
|
|
* 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)
|
|
|
|
* 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
|
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.4-6
|
|
- Enable build on sparcv9
|
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 0.4-5
|
|
- rebuild for haskell-platform-2011.1 updates
|
|
|
|
* 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
|
|
|
|
* Wed Jan 26 2011 Jens Petersen <petersen@redhat.com> - 0.4-3
|
|
- update to cabal2spec-0.22.4
|
|
|
|
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.4-2
|
|
- need depends on syb for ghc-7.0
|
|
|
|
* 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
|