refresh to cabal-rpm-0.13
This commit is contained in:
parent
5f29d6356c
commit
b8ecf6afe4
|
@ -1,64 +1,64 @@
|
|||
name: crypto-api
|
||||
version: 0.13.3
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
copyright: Thomas DuBuisson <thomas.dubuisson@gmail.com>
|
||||
author: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Francisco Blas Izquierdo Riera (klondike)
|
||||
maintainer: Thomas DuBuisson <thomas.dubuisson@gmail.com>
|
||||
description: A generic interface for cryptographic operations (hashes, ciphers, randomness).
|
||||
|
||||
Maintainers of hash and cipher implementations are
|
||||
encouraged to add instances for the classes defined
|
||||
in Crypto.Classes. Crypto users are similarly
|
||||
encouraged to use the interfaces defined in the Classes
|
||||
module.
|
||||
|
||||
Any concepts or functions of general use to more than
|
||||
one cryptographic algorithm (ex: padding) is within
|
||||
scope of this package.
|
||||
synopsis: A generic interface for cryptographic operations
|
||||
category: Data, Cryptography
|
||||
homepage: https://github.com/TomMD/crypto-api
|
||||
bug-reports: https://github.com/TomMD/crypto-api
|
||||
stability: stable
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.6
|
||||
tested-with: GHC == 7.6.2
|
||||
extra-source-files:
|
||||
cbits/misc.c
|
||||
cbits/misc.h
|
||||
|
||||
Flag ALL_CPOLYS
|
||||
Description: Build all the CMAC polynomes up to 10000 bits instead of just the usual ones
|
||||
Default: False
|
||||
Manual: True
|
||||
|
||||
Library
|
||||
-- see https://github.com/TomMD/crypto-api/issues/29
|
||||
build-depends: base >= 4.9
|
||||
|
||||
Build-Depends: base == 4.*,
|
||||
bytestring >= 0.9,
|
||||
cereal >= 0.2,
|
||||
tagged >= 0.1,
|
||||
entropy, transformers
|
||||
ghc-options:
|
||||
hs-source-dirs:
|
||||
exposed-modules: Crypto.Classes, Crypto.Types, Crypto.HMAC,
|
||||
Crypto.Random, Crypto.Padding, Crypto.Modes,
|
||||
Crypto.Util, Crypto.Classes.Exceptions
|
||||
other-modules: Crypto.CPoly
|
||||
extensions: ForeignFunctionInterface, MultiParamTypeClasses,
|
||||
BangPatterns, FunctionalDependencies, FlexibleInstances,
|
||||
TypeSynonymInstances
|
||||
c-sources: cbits/misc.c
|
||||
include-dirs: cbits
|
||||
if flag(ALL_CPOLYS)
|
||||
Build-Depends: array
|
||||
cpp-options: -DALL_CPOLYS
|
||||
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/TomMD/crypto-api
|
||||
name: crypto-api
|
||||
version: 0.13.3
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
copyright: Thomas DuBuisson <thomas.dubuisson@gmail.com>
|
||||
author: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Francisco Blas Izquierdo Riera (klondike)
|
||||
maintainer: Thomas DuBuisson <thomas.dubuisson@gmail.com>
|
||||
description: A generic interface for cryptographic operations (hashes, ciphers, randomness).
|
||||
|
||||
Maintainers of hash and cipher implementations are
|
||||
encouraged to add instances for the classes defined
|
||||
in Crypto.Classes. Crypto users are similarly
|
||||
encouraged to use the interfaces defined in the Classes
|
||||
module.
|
||||
|
||||
Any concepts or functions of general use to more than
|
||||
one cryptographic algorithm (ex: padding) is within
|
||||
scope of this package.
|
||||
synopsis: A generic interface for cryptographic operations
|
||||
category: Data, Cryptography
|
||||
homepage: https://github.com/TomMD/crypto-api
|
||||
bug-reports: https://github.com/TomMD/crypto-api
|
||||
stability: stable
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.6
|
||||
tested-with: GHC == 7.6.2
|
||||
extra-source-files:
|
||||
cbits/misc.c
|
||||
cbits/misc.h
|
||||
|
||||
Flag ALL_CPOLYS
|
||||
Description: Build all the CMAC polynomes up to 10000 bits instead of just the usual ones
|
||||
Default: False
|
||||
Manual: True
|
||||
|
||||
Library
|
||||
-- see https://github.com/TomMD/crypto-api/issues/29
|
||||
build-depends: base >= 4.9
|
||||
|
||||
Build-Depends: base == 4.*,
|
||||
bytestring >= 0.9,
|
||||
cereal >= 0.2,
|
||||
tagged >= 0.1,
|
||||
entropy, transformers
|
||||
ghc-options:
|
||||
hs-source-dirs:
|
||||
exposed-modules: Crypto.Classes, Crypto.Types, Crypto.HMAC,
|
||||
Crypto.Random, Crypto.Padding, Crypto.Modes,
|
||||
Crypto.Util, Crypto.Classes.Exceptions
|
||||
other-modules: Crypto.CPoly
|
||||
extensions: ForeignFunctionInterface, MultiParamTypeClasses,
|
||||
BangPatterns, FunctionalDependencies, FlexibleInstances,
|
||||
TypeSynonymInstances
|
||||
c-sources: cbits/misc.c
|
||||
include-dirs: cbits
|
||||
if flag(ALL_CPOLYS)
|
||||
Build-Depends: array
|
||||
cpp-options: -DALL_CPOLYS
|
||||
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/TomMD/crypto-api
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.5
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name crypto-api
|
||||
|
@ -6,17 +6,19 @@
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.13.3
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A generic interface for cryptographic operations
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
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
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-cereal-devel
|
||||
BuildRequires: ghc-entropy-devel
|
||||
|
@ -49,16 +51,22 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%post devel
|
||||
|
@ -70,13 +78,18 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.13.3-6
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue