|
|
|
@ -5,11 +5,9 @@
|
|
|
|
|
%global common_description The zip-archive library provides functions for creating, modifying,\
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.1.1.7
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -17,11 +15,11 @@ 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:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
|
|
|
|
BuildRequires: ghc, ghc-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
|
|
|
|
BuildRequires: ghc-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
BuildRequires: ghc-binary-prof, ghc-digest-prof, ghc-mtl-prof, ghc-utf8-string-prof, ghc-zlib-prof
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
@ -45,6 +43,9 @@ install -p -m 0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.7-3
|
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
|
|
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.1.1.7-2
|
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
|
|
|
|
|