Blame SPECS/ghc-HUnit.spec

96a68c
# generated by cabal-rpm-0.12.1
96a68c
# https://fedoraproject.org/wiki/Packaging:Haskell
96a68c
96a68c
%global pkg_name HUnit
96a68c
%global pkgver %{pkg_name}-%{version}
96a68c
96a68c
%bcond_with tests
96a68c
96a68c
Name:           ghc-%{pkg_name}
96a68c
Version:        1.6.0.0
96a68c
Release:        2%{?dist}
96a68c
Summary:        A unit testing framework for Haskell
96a68c
96a68c
License:        BSD
96a68c
Url:            https://hackage.haskell.org/package/%{pkg_name}
96a68c
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
96a68c
96a68c
BuildRequires:  ghc-Cabal-devel
96a68c
BuildRequires:  ghc-rpm-macros
96a68c
# Begin cabal-rpm deps:
96a68c
BuildRequires:  ghc-call-stack-devel
96a68c
BuildRequires:  ghc-deepseq-devel
96a68c
%if %{with tests}
96a68c
BuildRequires:  ghc-filepath-devel
96a68c
%endif
96a68c
# End cabal-rpm deps
96a68c
96a68c
%description
96a68c
HUnit is a unit testing framework for Haskell, inspired by JUnit for Java.
96a68c
96a68c
96a68c
%package devel
96a68c
Summary:        Haskell %{pkg_name} library development files
96a68c
Provides:       %{name}-static = %{version}-%{release}
96a68c
Provides:       %{name}-doc = %{version}-%{release}
96a68c
%if %{defined ghc_version}
96a68c
Requires:       ghc-compiler = %{ghc_version}
96a68c
Requires(post): ghc-compiler = %{ghc_version}
96a68c
Requires(postun): ghc-compiler = %{ghc_version}
96a68c
%endif
96a68c
Requires:       %{name}%{?_isa} = %{version}-%{release}
96a68c
96a68c
%description devel
96a68c
This package provides the Haskell %{pkg_name} library development files.
96a68c
96a68c
96a68c
%prep
96a68c
%setup -q -n %{pkgver}
96a68c
96a68c
96a68c
%build
96a68c
%ghc_lib_build
96a68c
96a68c
96a68c
%install
96a68c
%ghc_lib_install
96a68c
96a68c
96a68c
%check
96a68c
%cabal_test
96a68c
96a68c
96a68c
%post devel
96a68c
%ghc_pkg_recache
96a68c
96a68c
96a68c
%postun devel
96a68c
%ghc_pkg_recache
96a68c
96a68c
96a68c
%files -f %{name}.files
96a68c
%license LICENSE
96a68c
96a68c
96a68c
%files devel -f %{name}-devel.files
96a68c
%doc CHANGELOG.md README.md examples
96a68c
96a68c
96a68c
%changelog
96a68c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0.0-2
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
96a68c
96a68c
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.6.0.0-1
96a68c
- update to 1.6.0.0
96a68c
96a68c
* Thu Jan 18 2018 Jens Petersen <petersen@redhat.com> - 1.5.0.0-4
96a68c
- call-stack is now packaged in Fedora
96a68c
96a68c
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.0-3
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
96a68c
96a68c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.0-2
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
96a68c
96a68c
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 1.3.1.1-1
96a68c
- update to 1.5.0.0
96a68c
96a68c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1.1-2
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
96a68c
96a68c
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 1.3.1.1-1
96a68c
- update to 1.3.1.1
96a68c
96a68c
* Tue Jun 14 2016 Jens Petersen <petersen@redhat.com> - 1.3.0.0-1
96a68c
- update to 1.3.0.0
96a68c
96a68c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5.2-36
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
96a68c
96a68c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5.2-35
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
96a68c
96a68c
* Tue Jan 27 2015 Jens Petersen <petersen@redhat.com> - 1.2.5.2-34
96a68c
- cblrpm refresh
96a68c
96a68c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5.2-33
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
96a68c
96a68c
* Wed Jun  4 2014 Jens Petersen <petersen@redhat.com> - 1.2.5.2-32
96a68c
- enable tests
96a68c
96a68c
* Mon Feb 24 2014 Jens Petersen <petersen@redhat.com> - 1.2.5.2-31
96a68c
- split out of haskell-platform
96a68c
96a68c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4.2-3
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
96a68c
96a68c
* Fri Dec 30 2011 Jens Petersen <petersen@redhat.com> - 1.2.4.2-2
96a68c
- fix accidently deleted post script
96a68c
- cabal2spec-0.25.1
96a68c
96a68c
* Tue Dec 27 2011 Jens Petersen <petersen@redhat.com> - 1.2.4.2-1
96a68c
- update to 1.2.4.2 for haskell-platform-2011.4.0.0
96a68c
- update to cabal2spec-0.25
96a68c
96a68c
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2.2.3-7.3
96a68c
- rebuild with new gmp without compat lib
96a68c
96a68c
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2.2.3-7.2
96a68c
- rebuild with new gmp without compat lib
96a68c
96a68c
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.2.2.3-7.1
96a68c
- rebuild with new gmp
96a68c
96a68c
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 1.2.2.3-7
96a68c
- ghc_arches replaces ghc_excluded_archs
96a68c
96a68c
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 1.2.2.3-6
96a68c
- BR ghc-Cabal-devel and use ghc_excluded_archs
96a68c
96a68c
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.2.2.3-5
96a68c
- update to cabal2spec-0.23: add ppc64
96a68c
96a68c
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.2.3-4
96a68c
- Enable build on sparcv9
96a68c
96a68c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2.3-3
96a68c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96a68c
96a68c
* Mon Jan 17 2011 Jens Petersen <petersen@redhat.com> - 1.2.2.3-2
96a68c
- update to cabal2spec-0.22.4
96a68c
96a68c
* Sun Dec  5 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.3-1
96a68c
- update to 1.2.2.3
96a68c
96a68c
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-5
96a68c
- drop -o obsolete
96a68c
- don't list license file twice
96a68c
96a68c
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-4
96a68c
- ghc-rpm-macros-0.8.1 for doc obsoletes
96a68c
- part of haskell-platform-2010.2.0.0
96a68c
- add hscolour
96a68c
- datadir filelist cleanup
96a68c
96a68c
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-3
96a68c
- sync cabal2spec-0.22.1
96a68c
96a68c
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-2
96a68c
- part of haskell-platform-2010.1.0.0
96a68c
- rebuild against ghc-6.12.2
96a68c
- condition ghc_lib_package
96a68c
96a68c
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-1
96a68c
- update 1.2.2.1 (current haskell-platform-2009.3.1)
96a68c
- remove test programs and move doc files to docdir
96a68c
- add check section for test programs
96a68c
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
96a68c
- drop doc and prof bcond
96a68c
- use common summary and common_description
96a68c
- use ghc_lib_package
96a68c
- drop redundant buildroot and its install cleaning
96a68c
96a68c
* Wed Dec 23 2009 Jens Petersen <petersen@redhat.com> - 1.2.0.3-2
96a68c
- update packaging for ghc-6.12.1
96a68c
- added shared library support: needs ghc-rpm-macros 0.3.1
96a68c
96a68c
* Wed Aug 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 1.2.0.3-1
96a68c
- initial packaging for Fedora created by cabal2spec