update to 0.2.2 and new simplified Haskell Packaging Guidelines

This commit is contained in:
Jens Petersen 2013-06-03 16:31:09 +09:00
parent 0032d7ccb9
commit 945082d36e
3 changed files with 32 additions and 17 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/entropy-0.2.1.tar.gz
/entropy-0.2.2.tar.gz

View File

@ -1,19 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name entropy
%global common_summary A platform independent entropy source
%global common_description A platform independent method to obtain cryptographically strong entropy\
(urandom on Linux, CryptAPI on Windows, patches welcome).\
Users looking for cryptographically strong (number-theoretically\
sound) PRNGs should see the 'DRBG' package too!.
Name: ghc-%{pkg_name}
Version: 0.2.1
Version: 0.2.2
Release: 1%{?dist}
Summary: %{common_summary}
Summary: A platform independent entropy source
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
@ -26,7 +18,21 @@ BuildRequires: ghc-bytestring-devel
# End cabal-rpm deps
%description
%{common_description}
A platform independent method to obtain cryptographically strong entropy
(urandom on Linux, CryptAPI on Windows, patches welcome).
Users looking for cryptographically strong (number-theoretically
sound) PRNGs should see the 'DRBG' package too!.
%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 entropy library development files.
%prep
@ -41,17 +47,25 @@ BuildRequires: ghc-bytestring-devel
%ghc_lib_install
%ghc_devel_package
%ghc_devel_description
%post devel
%ghc_pkg_recache
%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
* Mon Jun 03 2013 Jens Petersen <petersen@redhat.com> - 0.2.2-1
- update to 0.2.2
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.1-1
- spec file generated by cabal-rpm-0.7.1

View File

@ -1 +1 @@
9b18044a0435ff29289b21a36f4594f5 entropy-0.2.1.tar.gz
9c4498dbb38c8b98c9bb2df370ef0342 entropy-0.2.2.tar.gz