Update to cabal2spec-0.22.6
This commit is contained in:
parent
e8b4218634
commit
30da420cec
@ -1,18 +1,19 @@
|
|||||||
|
# For Haskell Packaging Guidelines see:
|
||||||
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
%global pkg_name colour
|
%global pkg_name colour
|
||||||
|
|
||||||
%global common_summary A model for human colour/color perception
|
%global common_summary A model for human color perception
|
||||||
|
|
||||||
%global common_description This package provides a data type for colours and \
|
%global common_description This package provides a data type for colors and \
|
||||||
transparency. Colours can be blended and composed. Various \
|
transparency. Colors can be blended and composed. Various \
|
||||||
colour spaces are supported. A module of colour names \
|
color spaces are supported. A module of color names \
|
||||||
("Data.Colour.Names") is provided.
|
("Data.Colour.Names") is provided.
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 2.3.1
|
Version: 2.3.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -20,16 +21,14 @@ License: MIT
|
|||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||||
|
# macros for building haskell packages
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -45,10 +44,15 @@ This package provides the shared library.
|
|||||||
echo "%{_datadir}/%{pkg_name}-%{version}/" >> %{name}.files
|
echo "%{_datadir}/%{pkg_name}-%{version}/" >> %{name}.files
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
|
||||||
|
# ghc-%pkg_name{,devel,prof}.files
|
||||||
|
%ghc_lib_package
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 10 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-7
|
||||||
|
- Update to cabal2spec-0.22.6
|
||||||
|
|
||||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.1-6
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.1-6
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user