|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
# For Haskell Packaging Guidelines see:
|
|
|
|
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name dlist
|
|
|
|
|
|
|
|
|
|
# common part of summary for all the subpackages
|
|
|
|
@ -14,16 +15,16 @@ quickly becomes too expensive.
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.5
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
|
|
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 ppc64
|
|
|
|
|
BuildRequires: ghc-prof
|
|
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
# macros for building haskell packages
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
|
|
|
|
@ -42,11 +43,15 @@ BuildRequires: hscolour
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
|
|
|
|
|
# define the shared, devel and prof subpkgs, devel scripts,
|
|
|
|
|
# and filelists: ghc-dlist.files, ghc-dlist-devel.files
|
|
|
|
|
%ghc_lib_package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 21 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.5-4
|
|
|
|
|
- Update to cabal2spec-0.23.2
|
|
|
|
|
|
|
|
|
|
* Sat May 21 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.5-3
|
|
|
|
|
- Update to cabal2spec 0.22.7
|
|
|
|
|
|
|
|
|
|