This commit is contained in:
parent
4ca905d4bc
commit
350aba9d95
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
/digest-0.0.1.2.tar.gz
|
/digest-0.0.1.2.tar.gz
|
||||||
/digest-0.0.1.3.tar.gz
|
/digest-0.0.1.3.tar.gz
|
||||||
/digest-0.0.1.4.tar.gz
|
/digest-0.0.1.4.tar.gz
|
||||||
|
/digest-0.0.1.7.tar.gz
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
name: digest
|
|
||||||
version: 0.0.1.4
|
|
||||||
x-revision: 1
|
|
||||||
copyright: (c) 2009 Eugene Kirpichov
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Eugene Kirpichov <ekirpichov@gmail.com>
|
|
||||||
maintainer: Eugene Kirpichov <ekirpichov@gmail.com>
|
|
||||||
category: Cryptography
|
|
||||||
synopsis: Various hashes for bytestrings; CRC32 and Adler32 for now.
|
|
||||||
description: This package provides efficient hash implementations for
|
|
||||||
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
|
|
||||||
they are implemented as FFI bindings to efficient code from zlib.
|
|
||||||
stability: provisional
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >= 1.10
|
|
||||||
tested-with:
|
|
||||||
GHC==8.10.7
|
|
||||||
, GHC==9.0.2
|
|
||||||
, GHC==9.2.5
|
|
||||||
, GHC==9.4.3
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
testing/trivial-reference.c
|
|
||||||
testing/trivial.expected
|
|
||||||
testing/trivial.hs
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/TeofilC/digest
|
|
||||||
|
|
||||||
library
|
|
||||||
exposed-modules: Data.Digest.CRC32,
|
|
||||||
Data.Digest.Adler32
|
|
||||||
default-extensions: CPP, ForeignFunctionInterface
|
|
||||||
default-language: Haskell2010
|
|
||||||
build-depends:
|
|
||||||
base < 5
|
|
||||||
, bytestring >= 0.9 && < 0.12
|
|
||||||
includes: zlib.h
|
|
||||||
ghc-options: -Wall
|
|
||||||
if !os(windows)
|
|
||||||
pkgconfig-depends: zlib
|
|
||||||
else
|
|
||||||
build-depends: zlib
|
|
@ -1,24 +1,21 @@
|
|||||||
# generated by cabal-rpm-2.1.0
|
# generated by cabal-rpm-2.1.2
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name digest
|
%global pkg_name digest
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.0.1.4
|
Version: 0.0.1.7
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Cryptographic hashes for bytestrings
|
Summary: CRC32 and Adler32 hashes for bytestrings
|
||||||
|
|
||||||
# license file is BSD2
|
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
@ -77,7 +74,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
@ -100,6 +96,7 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
|||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc CHANGELOG.md
|
||||||
|
|
||||||
|
|
||||||
%if %{with haddock}
|
%if %{with haddock}
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (digest-0.0.1.4.tar.gz) = b43dfa57c89aae845dc58202b5011e6c3df622ab63155ad775a4676d9c79d6b8828bf8f9545d2c0d11c44fcfcc120d906e1b126a6a42a8a0f21aa1812c9c5b0a
|
SHA512 (digest-0.0.1.7.tar.gz) = 2739d35ce55a9524b7492aca78752fbe5f168167b37327c693fd1b51a88d23cc22767e52bc6220a053100c6c8579f060adb9f337368b606213b397e76b5868d1
|
||||||
|
Loading…
Reference in New Issue
Block a user