|
|
|
@ -4,9 +4,11 @@
|
|
|
|
|
%global pkg_name colour
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 2.3.3
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Version: 2.3.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A model for human color perception
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -15,6 +17,14 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
|
BuildRequires: ghc-random-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-quickcheck2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides a data type for colors and transparency.
|
|
|
|
@ -51,6 +61,10 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -74,6 +88,9 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 2.3.4-1
|
|
|
|
|
- update to 2.3.4
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|