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

169 lines
5.2 KiB

# generated by cabal-rpm-0.13
13 years ago
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name SHA
%global pkgver %{pkg_name}-%{version}
13 years ago
%bcond_with tests
13 years ago
Name: ghc-%{pkg_name}
Version: 1.6.4.4
Release: 3%{?dist}
Summary: SHA message digest functions
13 years ago
License: BSD
10 years ago
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
12 years ago
# Begin cabal-rpm deps:
13 years ago
BuildRequires: ghc-Cabal-devel
12 years ago
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-devel
13 years ago
BuildRequires: ghc-binary-devel
12 years ago
BuildRequires: ghc-bytestring-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
%endif
12 years ago
# 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}
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}
%endif
10 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
13 years ago
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
13 years ago
%build
# Begin cabal-rpm build:
13 years ago
%ghc_lib_build
# End cabal-rpm build
13 years ago
%install
# Begin cabal-rpm install
13 years ago
%ghc_lib_install
# End cabal-rpm install
13 years ago
%check
%cabal_test
13 years ago
%post devel
%ghc_pkg_recache
13 years ago
%postun devel
%ghc_pkg_recache
13 years ago
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
13 years ago
%files devel -f %{name}-devel.files
13 years ago
%changelog
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.6.4.4-3
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.6.4.4-1
- update to 1.6.4.4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7 years ago
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.6.4.2-6
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 1.6.4.2-3
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 1.6.4.2-1
- update to 1.6.4.2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4.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.6.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
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