2012-01-06 08:45:17 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
2010-12-09 01:31:43 +00:00
|
|
|
%global pkg_name digest
|
|
|
|
|
|
|
|
%global common_summary Haskell %{pkg_name} library
|
|
|
|
|
|
|
|
%global common_description 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.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2011-09-28 10:38:13 +00:00
|
|
|
Version: 0.0.1.0
|
2012-01-06 08:45:17 +00:00
|
|
|
Release: 2%{?dist}
|
2010-12-09 01:31:43 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2012-01-06 08:45:17 +00:00
|
|
|
# BEGIN cabal2spec
|
2010-12-09 01:31:43 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-22 09:07:27 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-06 08:45:17 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: zlib-devel%{?_isa}
|
2011-06-22 09:43:39 +00:00
|
|
|
BuildRequires: ghc-bytestring-prof
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-06 08:45:17 +00:00
|
|
|
%ghc_devel_package
|
|
|
|
Requires: zlib-devel%{?_isa}
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
2010-12-09 01:31:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|