update to cabal2spec-0.25.2; use _isa; include examples
This commit is contained in:
parent
439a92ffe0
commit
68bb7a1405
@ -1,3 +1,7 @@
|
||||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name zlib
|
||||
|
||||
%global common_summary Haskell compression and decompression library
|
||||
@ -11,24 +15,23 @@ It provides a convenient high level API suitable for most tasks. For\
|
||||
the few cases where more control is needed, it provides access to the\
|
||||
full zlib feature set.
|
||||
|
||||
%global ghc_pkg_c_deps zlib-devel
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2011.2.0.1
|
||||
# part of haskell-platform-2011.4.0.0
|
||||
Version: 0.5.3.1
|
||||
Release: 5%{?dist}.3
|
||||
Release: 6%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
||||
BuildRequires: zlib-devel%{?_isa}
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
@ -46,10 +49,25 @@ BuildRequires: ghc-bytestring-prof
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_lib_package
|
||||
%ghc_devel_package
|
||||
Requires: zlib-devel%{?_isa}
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files
|
||||
%doc examples
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 2 2012 Jens Petersen <petersen@redhat.com> - 0.5.3.1-6
|
||||
- update to cabal2spec-0.25.2
|
||||
- use _isa
|
||||
- include examples
|
||||
|
||||
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.3.1-5.3
|
||||
- rebuild with new gmp without compat lib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user