You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc-SHA/ghc-SHA.spec

104 lines
3.0 KiB

13 years ago
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name SHA
Name: ghc-%{pkg_name}
10 years ago
Version: 1.6.4.1
Release: 1%{?dist}
Summary: SHA message digest functions
13 years ago
License: BSD
10 years ago
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
12 years ago
13 years ago
BuildRequires: ghc-Cabal-devel
12 years ago
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
13 years ago
BuildRequires: ghc-binary-devel
12 years ago
BuildRequires: ghc-bytestring-devel
# End cabal-rpm deps
13 years ago
%description
This library implements the SHA suite of message digest functions,
according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as
the SHA-based HMAC routines. The functions have been tested against
most of the NIST and RFC test vectors for the various functions.
While some attention has been paid to performance, these do not
presently reach the speed of well-tuned libraries, like OpenSSL.
%package devel
Summary: Haskell %{pkg_name} library development files
10 years ago
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
10 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
13 years ago
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
13 years ago
%postun devel
%ghc_pkg_recache
13 years ago
%files -f %{name}.files
%doc LICENSE
13 years ago
%files devel -f %{name}-devel.files
13 years ago
%changelog
10 years ago
* Tue Jan 20 2015 Jens Petersen <petersen@redhat.com> - 1.6.4.1-1
- update to 1.6.4.1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 1.6.1-2
- update to new simplified Haskell Packaging Guidelines
12 years ago
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.6.1-1
- update to 1.6.1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
12 years ago
* Wed Nov 07 2012 Jens Petersen <petersen@redhat.com> - 1.5.1-1
- update to 1.5.1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 1.5.0.1-1
- BSD
- depends on binary
* Mon Apr 16 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.5