update with cabal-rpm

This commit is contained in:
Jens Petersen 2012-11-18 00:23:04 +09:00
parent 239e7ed304
commit 4f5c1856d4
1 changed files with 21 additions and 18 deletions

View File

@ -1,39 +1,39 @@
# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name mwc-random %global pkg_name mwc-random
%global common_summary Pseudo random number generation library for Haskell %global common_summary Fast, high quality pseudo random number generation
%global common_description This package provides library for generating high quality random \ %global common_description
numbers that follow either a uniform or normal distribution. The \
generated numbers are suitable for use in statistical applications. \ A library for generating high quality random numbers that follow
either a uniform or normal distribution. The generated numbers are\
suitable for use in statistical applications.\
The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)\ The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)\
multiply-with-carry generator, which has a period of 2^8222 and\ multiply-with-carry generator, which has a period of 2^8222 and\
fares well in tests of randomness. It is also extremely fast,\ fares well in tests of randomness. It is also extremely fast,\
between 2 and 3 times faster than the Mersenne Twister.\ between 2 and 3 times faster than the Mersenne Twister.\
\
Compared to the mersenne-random package, this package has a more\ Compared to the mersenne-random package, this package has a more\
convenient API, is faster, and supports more statistical \ convenient API, is faster, and supports more statistical distributions.
distributions.
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.12.0.1 Version: 0.12.0.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches_with_ghci}
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} BuildRequires: ghc-rpm-macros
# END cabal2spec # Begin cabal-rpm deps:
BuildRequires: ghc-primitive-devel BuildRequires: ghc-primitive-devel
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-vector-devel BuildRequires: ghc-vector-devel
# End cabal-rpm deps
%description %description
%{common_description} %{common_description}
@ -64,6 +64,9 @@ BuildRequires: ghc-vector-devel
%changelog %changelog
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.12.0.1-2
- update with cabal-rpm
* Sun Oct 21 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.12.0.1-1 * Sun Oct 21 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.12.0.1-1
- update to 0.12.0.1 - update to 0.12.0.1