|
|
@ -7,15 +7,12 @@ and extracting files from zip archives.
|
|
|
|
|
|
|
|
|
|
|
|
%global ghc_pkg_deps ghc-binary-devel, ghc-digest-devel, ghc-mtl-devel, ghc-utf8-string-devel, ghc-zlib-devel
|
|
|
|
%global ghc_pkg_deps ghc-binary-devel, ghc-digest-devel, ghc-mtl-devel, ghc-utf8-string-devel, ghc-zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without shared
|
|
|
|
|
|
|
|
%bcond_without hscolour
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# debuginfo is not useful for ghc
|
|
|
|
# debuginfo is not useful for ghc
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.1.1.6
|
|
|
|
Version: 0.1.1.6
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -25,10 +22,8 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
|
|
|
|
# fedora ghc archs:
|
|
|
|
# fedora ghc archs:
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
|
|
|
BuildRequires: ghc, ghc-prof
|
|
|
|
BuildRequires: ghc, ghc-prof
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.8.0
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
|
|
%if %{with hscolour}
|
|
|
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
BuildRequires: hscolour
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
|
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -56,6 +51,9 @@ install -p -m 0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jan 19 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.6-5
|
|
|
|
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-4
|
|
|
|
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-4
|
|
|
|
- install COPYING instead
|
|
|
|
- install COPYING instead
|
|
|
|
|
|
|
|
|
|
|
|