2012-01-06 08:45:17 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2010-12-09 01:31:43 +00:00
|
|
|
%global pkg_name digest
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2013-06-07 03:11:01 +00:00
|
|
|
Version: 0.0.1.2
|
2017-02-10 10:38:00 +00:00
|
|
|
Release: 8%{?dist}
|
2013-06-07 03:11:01 +00:00
|
|
|
Summary: Cryptographic hashes for bytestrings
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
License: BSD
|
2015-01-27 14:05:11 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
2012-11-17 13:57:12 +00:00
|
|
|
|
2011-06-22 09:07:27 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-17 13:57:12 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
2012-07-16 02:09:11 +00:00
|
|
|
BuildRequires: ghc-bytestring-devel
|
2012-11-17 13:57:12 +00:00
|
|
|
BuildRequires: zlib-devel%{?_isa}
|
2013-06-07 03:11:01 +00:00
|
|
|
# End cabal-rpm deps
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-07 03:11:01 +00:00
|
|
|
This package provides efficient cryptographic hash implementations for
|
|
|
|
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
|
|
|
|
they are implemented as FFI bindings to efficient code from zlib.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2015-01-27 14:05:11 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2013-06-07 03:11:01 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2015-01-27 14:05:11 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-07 03:11:01 +00:00
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
Requires: zlib-devel%{?_isa}
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2013-06-07 03:11:01 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
2012-01-06 08:45:17 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:11:01 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2012-01-06 08:45:17 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:11:01 +00:00
|
|
|
%files -f %{name}.files
|
2016-09-28 09:32:22 +00:00
|
|
|
%license LICENSE
|
2012-01-06 08:45:17 +00:00
|
|
|
|
2013-06-07 03:11:01 +00:00
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-02-10 10:38:00 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 21:30:53 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 07:40:02 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-27 14:05:11 +00:00
|
|
|
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.0.1.2-5
|
|
|
|
- cblrpm refresh
|
|
|
|
|
2014-08-16 15:00:11 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 14:44:38 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 13:35:35 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-07 03:11:01 +00:00
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.0.1.2-1
|
|
|
|
- update to 0.0.1.2
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-02-13 23:06:10 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-17 13:57:12 +00:00
|
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.0.1.1-4
|
|
|
|
- update with cabal-rpm
|
|
|
|
- disable bytestring-in-base flag with patch
|
|
|
|
|
2012-07-19 05:32:54 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:09:11 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.0.1.1-2
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-03-22 13:45:36 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.0.1.1-1
|
|
|
|
- update to 0.0.1.1
|
2012-03-22 13:41:58 +00:00
|
|
|
- add license to ghc_files
|
|
|
|
|
2012-01-06 08:45:17 +00:00
|
|
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.0.1.0-2
|
|
|
|
- update to cabal2spec-0.25.2
|
|
|
|
|
2011-10-24 13:46:39 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.0.1.0-1.3
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-20 20:30:34 +00:00
|
|
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.0.1.0-1.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 10:41:49 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.0.1.0-1.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-09-28 10:38:13 +00:00
|
|
|
* Wed Sep 28 2011 Jens Petersen <petersen@redhat.com> - 0.0.1.0-1
|
|
|
|
- update to 0.0.1.0
|
|
|
|
- use _isa for zlib-devel dependency
|
|
|
|
|
2011-06-22 09:07:27 +00:00
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.0.0.9-2
|
2011-06-22 09:43:39 +00:00
|
|
|
- BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2)
|
2011-06-22 09:07:27 +00:00
|
|
|
|
2011-05-28 10:20:10 +00:00
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.0.0.9-1
|
|
|
|
- update to 0.0.9
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.0.0.8-4
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-09 01:08:35 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.0.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-19 00:29:08 +00:00
|
|
|
* Wed Jan 19 2011 Jens Petersen <petersen@redhat.com> - 0.0.0.8-2
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-09 01:31:43 +00:00
|
|
|
* Fri Nov 12 2010 Jens Petersen <petersen@redhat.com> - 0.0.0.8-1
|
|
|
|
- BSD
|
|
|
|
- BR zlib-devel
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.0.0.8-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
|