Blame SPECS/ghc-colour.spec

4f64a0
# generated by cabal-rpm-0.12.1
4f64a0
# https://fedoraproject.org/wiki/Packaging:Haskell
4f64a0
4f64a0
%global pkg_name colour
4f64a0
%global pkgver %{pkg_name}-%{version}
4f64a0
4f64a0
%bcond_with tests
4f64a0
4f64a0
Name:           ghc-%{pkg_name}
4f64a0
Version:        2.3.4
4f64a0
Release:        2%{?dist}
4f64a0
Summary:        A model for human color perception
4f64a0
4f64a0
License:        MIT
4f64a0
Url:            https://hackage.haskell.org/package/%{pkg_name}
4f64a0
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
4f64a0
4f64a0
BuildRequires:  ghc-Cabal-devel
4f64a0
BuildRequires:  ghc-rpm-macros
4f64a0
# Begin cabal-rpm deps:
4f64a0
%if %{with tests}
4f64a0
BuildRequires:  ghc-QuickCheck-devel
4f64a0
BuildRequires:  ghc-random-devel
4f64a0
BuildRequires:  ghc-test-framework-devel
4f64a0
BuildRequires:  ghc-test-framework-quickcheck2-devel
4f64a0
%endif
4f64a0
# End cabal-rpm deps
4f64a0
4f64a0
%description
4f64a0
This package provides a data type for colors and transparency.
4f64a0
Colors can be blended and composed. Various color spaces are supported.
4f64a0
A module of color names ("Data.Colour.Names") is provided.
4f64a0
4f64a0
4f64a0
%package devel
4f64a0
Summary:        Haskell %{pkg_name} library development files
4f64a0
Provides:       %{name}-static = %{version}-%{release}
4f64a0
Provides:       %{name}-doc = %{version}-%{release}
4f64a0
%if %{defined ghc_version}
4f64a0
Requires:       ghc-compiler = %{ghc_version}
4f64a0
Requires(post): ghc-compiler = %{ghc_version}
4f64a0
Requires(postun): ghc-compiler = %{ghc_version}
4f64a0
%endif
4f64a0
Requires:       %{name}%{?_isa} = %{version}-%{release}
4f64a0
4f64a0
%description devel
4f64a0
This package provides the Haskell %{pkg_name} library development files.
4f64a0
4f64a0
4f64a0
%prep
4f64a0
%setup -q -n %{pkgver}
4f64a0
4f64a0
4f64a0
%build
4f64a0
%ghc_lib_build
4f64a0
4f64a0
4f64a0
%install
4f64a0
%ghc_lib_install
4f64a0
4f64a0
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG}
4f64a0
4f64a0
4f64a0
%check
4f64a0
%cabal_test
4f64a0
4f64a0
4f64a0
%post devel
4f64a0
%ghc_pkg_recache
4f64a0
4f64a0
4f64a0
%postun devel
4f64a0
%ghc_pkg_recache
4f64a0
4f64a0
4f64a0
%files -f %{name}.files
4f64a0
%license LICENSE
4f64a0
4f64a0
4f64a0
%files devel -f %{name}-devel.files
4f64a0
%doc CHANGELOG README
4f64a0
4f64a0
4f64a0
%changelog
4f64a0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.4-2
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4f64a0
4f64a0
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 2.3.4-1
4f64a0
- update to 2.3.4
4f64a0
4f64a0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-16
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4f64a0
4f64a0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-15
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4f64a0
4f64a0
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 2.3.3-14
4f64a0
- refresh to cabal-rpm-0.11.1
4f64a0
4f64a0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-13
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4f64a0
4f64a0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-12
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4f64a0
4f64a0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-11
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4f64a0
4f64a0
* Tue Feb  3 2015 Jens Petersen <petersen@redhat.com> - 2.3.3-10
4f64a0
- cblrpm refresh
4f64a0
4f64a0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-9
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4f64a0
4f64a0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-8
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4f64a0
4f64a0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-7
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4f64a0
4f64a0
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 2.3.3-6
4f64a0
- update to new simplified Haskell Packaging Guidelines
4f64a0
4f64a0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-5
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4f64a0
4f64a0
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 2.3.3-4
4f64a0
- update with cabal-rpm
4f64a0
4f64a0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-3
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4f64a0
4f64a0
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 2.3.3-2
4f64a0
- change prof BRs to devel
4f64a0
4f64a0
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 2.3.3-1
4f64a0
- update to 2.3.3
4f64a0
4f64a0
* Wed Jan  4 2012 Jens Petersen <petersen@redhat.com> - 2.3.2-1
4f64a0
- update to 2.3.2 and cabal2spec-0.25.2
4f64a0
4f64a0
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.3.1-11.2
4f64a0
- rebuild with new gmp without compat lib
4f64a0
4f64a0
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.3.1-11.1
4f64a0
- rebuild with new gmp without compat lib
4f64a0
4f64a0
* Thu Oct 13 2011 Jens Petersen <petersen@redhat.com> - 2.3.1-11
4f64a0
- move readme and changelog files into devel doc (#744635)
4f64a0
- BR base library
4f64a0
4f64a0
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 2.3.1-10.1
4f64a0
- rebuild with new gmp
4f64a0
4f64a0
* Sat Jul 09 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-10
4f64a0
- Update to cabal2spec-0.24
4f64a0
4f64a0
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 2.3.1-9
4f64a0
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
4f64a0
4f64a0
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-8
4f64a0
- Update to cabal2spec-0.22.7
4f64a0
4f64a0
* Tue May 10 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-7
4f64a0
- Update to cabal2spec-0.22.6
4f64a0
4f64a0
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.1-6
4f64a0
- Enable build on sparcv9
4f64a0
4f64a0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-5
4f64a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4f64a0
4f64a0
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-4
4f64a0
- Update to cabal2spec-0.22.4
4f64a0
- Rebuild
4f64a0
4f64a0
* Sun Nov 28 2010 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-3
4f64a0
- Rebuild for GHC7
4f64a0
4f64a0
* Sun Nov 07 2010 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-2
4f64a0
- Rebuild
4f64a0
4f64a0
* Sat Sep 04 2010 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-1
4f64a0
- Initial package
4f64a0
4f64a0
* Sat Sep  4 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 2.3.1-0
4f64a0
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2