f49a125
# https://fedoraproject.org/wiki/Packaging:Haskell
f49a125
f49a125
%global pkg_name html
f49a125
f49a125
Name:           ghc-%{pkg_name}
f49a125
# part of haskell-platform
f49a125
Version:        1.0.1.2
c598abf
Release:        29%{?dist}
f49a125
Summary:        HTML combinator library
f49a125
f49a125
License:        BSD
f49a125
URL:            http://hackage.haskell.org/package/%{pkg_name}
f49a125
Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
f49a125
f49a125
BuildRequires:  ghc-Cabal-devel
f49a125
BuildRequires:  ghc-rpm-macros
f49a125
f49a125
%description
f49a125
This package contains a combinator library for constructing HTML documents.
f49a125
f49a125
f49a125
%package devel
f49a125
Summary:        Haskell %{pkg_name} library development files
f49a125
Provides:       %{name}-static = %{version}-%{release}
f49a125
Requires:       ghc-compiler = %{ghc_version}
f49a125
Requires(post): ghc-compiler = %{ghc_version}
f49a125
Requires(postun): ghc-compiler = %{ghc_version}
f49a125
Requires:       %{name}%{?_isa} = %{version}-%{release}
f49a125
f49a125
%description devel
f49a125
This package provides the Haskell %{pkg_name} library development files.
f49a125
f49a125
f49a125
%prep
f49a125
%setup -q -n %{pkg_name}-%{version}
f49a125
f49a125
f49a125
%build
f49a125
%ghc_lib_build
f49a125
f49a125
f49a125
%install
f49a125
%ghc_lib_install
f49a125
f49a125
f49a125
%post devel
f49a125
%ghc_pkg_recache
f49a125
f49a125
f49a125
%postun devel
f49a125
%ghc_pkg_recache
f49a125
f49a125
f49a125
%files -f %{name}.files
f49a125
%doc LICENSE
f49a125
f49a125
f49a125
%files devel -f %{name}-devel.files
f49a125
f49a125
f49a125
%changelog
c598abf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-29
c598abf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c598abf
f49a125
* Thu Jan  2 2014 Jens Petersen <petersen@redhat.com> - 1.0.1.2-28
f49a125
- bring back out of haskell-platform
f49a125
- spec file updated with cabal-rpm-0.8.7
f49a125
f49a125
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.2-14
f49a125
- update to cabal2spec-0.25
f49a125
f49a125
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-13.3
f49a125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f49a125
f49a125
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.3
f49a125
- rebuild with new gmp without compat lib
f49a125
f49a125
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.2
f49a125
- rebuild with new gmp without compat lib
f49a125
f49a125
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.0.1.2-12.1
f49a125
- rebuild with new gmp
f49a125
f49a125
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-12
f49a125
- ghc_arches replaces ghc_excluded_archs
f49a125
f49a125
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-11
f49a125
- BR ghc-Cabal-devel
f49a125
- use ghc_excluded_archs
f49a125
f49a125
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-10
f49a125
- update to cabal2spec-0.23: add ppc64
f49a125
f49a125
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.1.2-9
f49a125
- Enable build on sparcv9
f49a125
f49a125
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-8
f49a125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f49a125
f49a125
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-7
f49a125
- update to cabal2spec-0.22.4
f49a125
f49a125
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-6
f49a125
- update url
f49a125
f49a125
* Sat Sep  4 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-5
f49a125
- add hscolour and doc obsolete (cabal2spec-0.22.2)
f49a125
f49a125
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-4
f49a125
- sync cabal2spec-0.22.1
f49a125
f49a125
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-3
f49a125
- part of haskell-platform-2010.1.0.0
f49a125
- rebuild against ghc-6.12.2
f49a125
- condition ghc_lib_package
f49a125
f49a125
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-2
f49a125
- BSD license
f49a125
- part of haskell-platform
f49a125
f49a125
* Fri Jan 15 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.0.1.2-1
f49a125
- initial packaging for Fedora automatically generated by cabal2spec-0.21.1