update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
9e53c04634
commit
7b169e138b
49
ghc-SHA.spec
49
ghc-SHA.spec
@ -1,21 +1,11 @@
|
|||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
||||||
|
|
||||||
%global pkg_name SHA
|
%global pkg_name SHA
|
||||||
|
|
||||||
%global common_summary SHA message digest functions
|
|
||||||
|
|
||||||
%global common_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.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: SHA message digest functions
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
@ -31,7 +21,23 @@ BuildRequires: ghc-directory-devel
|
|||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_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
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -46,18 +52,25 @@ BuildRequires: ghc-directory-devel
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_package
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
%ghc_devel_description
|
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_post_postun
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%ghc_files LICENSE
|
%files -f %{name}.files
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 1.6.1-2
|
||||||
|
- update to new simplified Haskell Packaging Guidelines
|
||||||
|
|
||||||
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.6.1-1
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.6.1-1
|
||||||
- update to 1.6.1
|
- update to 1.6.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user