ghc-MissingH/ghc-MissingH.spec

213 lines
6.7 KiB
RPMSpec
Raw Normal View History

2018-07-28 16:06:09 +00:00
# generated by cabal-rpm-0.12.5
2012-01-04 15:10:35 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
2010-12-11 01:53:33 +00:00
%global pkg_name MissingH
2017-02-23 03:57:22 +00:00
%global pkgver %{pkg_name}-%{version}
2010-12-11 01:53:33 +00:00
2014-08-29 05:51:06 +00:00
%bcond_with tests
2010-12-11 01:53:33 +00:00
Name: ghc-%{pkg_name}
2017-02-23 03:57:22 +00:00
Version: 1.4.0.1
2018-07-28 16:06:09 +00:00
Release: 7%{?dist}
Summary: Large utility library
2010-12-11 01:53:33 +00:00
# src/Data/Hash/MD5.lhs is BSD or GPL+
# src/Data/Hash/CRC32/Posix.hs is GPL+
# src/System/Time/ParseDate.hs is GPLv2 (newer parsedate is now BSD)
# all other src/ (and testsrc/) files are BSD
2010-12-11 01:53:33 +00:00
License: GPLv2+
2015-01-20 08:24:27 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2017-02-23 03:57:22 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2012-11-07 10:01:12 +00:00
2011-06-22 08:33:27 +00:00
BuildRequires: ghc-Cabal-devel
2012-11-07 10:01:12 +00:00
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
2012-07-16 02:06:39 +00:00
BuildRequires: ghc-HUnit-devel
2012-11-07 10:01:12 +00:00
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
2012-07-16 02:06:39 +00:00
BuildRequires: ghc-hslogger-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
2012-11-07 10:01:12 +00:00
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-time-devel
2012-07-16 02:06:39 +00:00
BuildRequires: ghc-parsec-devel
2012-11-07 10:01:12 +00:00
BuildRequires: ghc-process-devel
2012-07-16 02:06:39 +00:00
BuildRequires: ghc-random-devel
BuildRequires: ghc-regex-compat-devel
2012-11-07 10:01:12 +00:00
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
2014-08-29 05:51:06 +00:00
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-errorcall-eq-instance-devel
BuildRequires: ghc-testpack-devel
%endif
2012-11-07 10:01:12 +00:00
# End cabal-rpm deps
2010-12-11 01:53:33 +00:00
%description
2015-01-20 08:24:27 +00:00
MissingH is a library of all sorts of utility functions for Haskell
programmers. It is written in pure Haskell and thus should be extremely
portable and easy to use.
%package devel
Summary: Haskell %{pkg_name} library development files
2014-08-29 05:51:06 +00:00
Provides: %{name}-static = %{version}-%{release}
2018-01-24 13:10:25 +00:00
Provides: %{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
2018-01-24 13:10:25 +00:00
%endif
2014-08-29 05:51:06 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
2010-12-11 01:53:33 +00:00
%prep
2017-02-23 03:57:22 +00:00
%setup -q -n %{pkgver}
2010-12-11 01:53:33 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
2012-01-04 15:10:35 +00:00
2014-08-29 05:51:06 +00:00
%check
2016-09-27 10:15:25 +00:00
%cabal_test
2014-08-29 05:51:06 +00:00
%post devel
%ghc_pkg_recache
2012-01-04 15:10:35 +00:00
2010-12-11 01:53:33 +00:00
%postun devel
%ghc_pkg_recache
2010-12-11 01:53:33 +00:00
2012-01-04 15:10:35 +00:00
%files -f %{name}.files
2016-09-28 09:32:20 +00:00
%license LICENSE 3rd-party-licenses
2012-01-04 15:10:35 +00:00
%files devel -f %{name}-devel.files
2012-01-04 15:10:35 +00:00
%doc announcements TODO
2010-12-11 01:53:33 +00:00
%changelog
2018-07-28 16:06:09 +00:00
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.4.0.1-7
- rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-26 10:14:20 +00:00
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.4.0.1-4
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-23 03:57:22 +00:00
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 1.4.0.1-1
- update to 1.4.0.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-01-20 08:24:27 +00:00
* Tue Jan 20 2015 Jens Petersen <petersen@redhat.com> - 1.3.0.1-1
- update to 1.3.0.1
2014-08-29 05:51:06 +00:00
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 1.2.1.0-1
- update to 1.2.1.0
- refresh to cblrpm-0.8.11
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-06-19 10:16:00 +00:00
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 1.2.0.0-3
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-07 10:01:12 +00:00
* Wed Nov 07 2012 Jens Petersen <petersen@redhat.com> - 1.2.0.0-1
- update to 1.2.0.0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-16 02:06:39 +00:00
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 1.1.1.0-4
- change prof BRs to devel
2012-06-15 08:34:52 +00:00
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 1.1.1.0-3
- rebuild
2012-01-04 15:10:35 +00:00
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 1.1.1.0-2
- update to cabal2spec-0.25.2
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1.0-1.3
- rebuild with new gmp without compat lib
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1.0-1.2
- rebuild with new gmp without compat lib
2011-10-11 14:49:58 +00:00
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.1.1.0-1.1
- rebuild with new gmp
* Mon Sep 26 2011 Jens Petersen <petersen@redhat.com> - 1.1.1.0-1
- update to 1.1.1.0
- most of the library modules now BSD
2011-08-29 09:24:14 +00:00
* Mon Aug 29 2011 Jens Petersen <petersen@redhat.com> - 1.1.0.3-9
- rebuild for hslogger-1.1.5
2011-06-22 08:33:27 +00:00
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.1.0.3-8
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.0.3-7
- Enable build on sparcv9
2011-02-17 05:40:55 +00:00
* Thu Feb 17 2011 Ben Boeckel <mathstuf@gmail.com> - 1.1.0.3-6
- Update for broken dependencies
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-02 06:50:29 +00:00
* Wed Feb 2 2011 Jens Petersen <petersen@redhat.com> - 1.1.0.3-4
- rebuild (for hslogger-1.1.3)
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 1.1.0.3-3
- Update to cabal2spec-0.22.4
- Rebuild
2010-12-11 01:53:33 +00:00
* Wed Sep 22 2010 Jens Petersen <petersen@redhat.com> - 1.1.0.3-2
- use iconv to fix COPYRIGHT file encoding
- add license comments
* Sun Sep 05 2010 Ben Boeckel <mathstuf@gmail.com> - 1.1.0.3-1
- Initial package
* Sun Sep 5 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.1.0.3-0
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2