|
|
|
@ -11,26 +11,20 @@ screen-scraping. \
|
|
|
|
|
\
|
|
|
|
|
Users should start from the "Text.HTML.TagSoup" module.
|
|
|
|
|
|
|
|
|
|
%global ghc_pkg_deps ghc-mtl-devel, ghc-network-devel
|
|
|
|
|
|
|
|
|
|
# debuginfo is not useful for ghc
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.12
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.12.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Haskell %{pkg_name}
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: BSD
|
|
|
|
|
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:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
|
|
|
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
|
|
|
|
BuildRequires: ghc-containers-prof, ghc-text-prof
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
@ -50,10 +44,15 @@ mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
|
|
|
|
|
install -m 644 tagsoup.htm -p %{buildroot}%{_docdir}/%{name}-%{version}/tagsoup.htm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?ghc_lib_package}
|
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.12.2-1
|
|
|
|
|
- update to 0.12.2
|
|
|
|
|
- update deps
|
|
|
|
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
|
|
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.12-4
|
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
|
|
|
|
|