Compare commits
30 Commits
Author | SHA1 | Date |
---|---|---|
|
ef0adac80d | |
|
d24bf8f16e | |
|
c6a18b7cf4 | |
|
93d92e91c3 | |
|
8560ca00d8 | |
|
942e587642 | |
|
a2c8e41b82 | |
|
bd577def17 | |
|
8bc03f81aa | |
|
8bee4cf189 | |
|
02c9c1b878 | |
|
4332c4934a | |
|
dda798a12d | |
|
20bc920d2d | |
|
5998ce987a | |
|
2afc33d0a6 | |
|
a734f6fd85 | |
|
0311b3d29c | |
|
9978ad5de6 | |
|
fbe97f7443 | |
|
9253d2d7f4 | |
|
4028bef479 | |
|
da27487d48 | |
|
e3e7b71972 | |
|
073bbc0fa4 | |
|
20236afa89 | |
|
f92c8e2701 | |
|
e528ec0287 | |
|
9de48ccc84 | |
|
9ba89eb7a3 |
|
@ -0,0 +1,62 @@
|
||||||
|
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.0.5.0-25
|
||||||
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.0.5.0-23
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 0.0.5.0-22
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.0.5.0-20
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.0.5.0-16
|
||||||
|
- refresh to cabal-rpm-2.0.6
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-14
|
||||||
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-12
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
|
* Sat Feb 16 2019 Jens Petersen <petersen@redhat.com> - 0.0.5.0-11
|
||||||
|
- use revised .cabal file
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.0.5.0-7
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Fri Oct 6 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.0.5.0-6
|
||||||
|
- Bump release to be newer than existing bundled version.
|
||||||
|
|
||||||
|
* Thu Oct 5 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.5.0-1
|
||||||
|
- spec file generated by cabal-rpm-0.11.2
|
|
@ -0,0 +1,150 @@
|
||||||
|
name: ed25519
|
||||||
|
version: 0.0.5.0
|
||||||
|
x-revision: 6
|
||||||
|
category: Cryptography
|
||||||
|
license: MIT
|
||||||
|
synopsis: Ed25519 cryptographic signatures
|
||||||
|
homepage: http://thoughtpolice.github.com/hs-ed25519
|
||||||
|
bug-reports: http://github.com/thoughtpolice/hs-ed25519/issues
|
||||||
|
license-file: LICENSE.txt
|
||||||
|
copyright: Copyright (c) Austin Seipp 2013-2015
|
||||||
|
author: Austin Seipp
|
||||||
|
maintainer: Austin Seipp <aseipp@pobox.com>
|
||||||
|
build-type: Simple
|
||||||
|
cabal-version: >=1.10
|
||||||
|
tested-with: GHC == 7.0.1, GHC == 7.0.2, GHC == 7.0.3, GHC == 7.0.4,
|
||||||
|
GHC == 7.2.1, GHC == 7.2.2, GHC == 7.4.1, GHC == 7.4.2,
|
||||||
|
GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3,
|
||||||
|
GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4,
|
||||||
|
GHC == 7.10.1, GHC == 7.10.2
|
||||||
|
|
||||||
|
description:
|
||||||
|
This package provides a simple, fast, self-contained copy of the
|
||||||
|
Ed25519 public-key signature system with a clean interface. It also
|
||||||
|
includes support for detached signatures, and thorough documentation
|
||||||
|
on the design and implementation, including usage guidelines.
|
||||||
|
|
||||||
|
extra-source-files:
|
||||||
|
.travis.yml
|
||||||
|
AUTHORS.txt
|
||||||
|
README.md
|
||||||
|
CONTRIBUTING.md
|
||||||
|
CHANGELOG.md
|
||||||
|
src/cbits/ref10/*.c
|
||||||
|
src/cbits/ref10/include/*.h
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/thoughtpolice/hs-ed25519.git
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Flags
|
||||||
|
|
||||||
|
flag test-properties
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag test-hlint
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag test-doctests
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag no-donna
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Build pt 1: main project
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends:
|
||||||
|
ghc-prim >= 0.1 && < 0.10,
|
||||||
|
base >= 4 && < 5,
|
||||||
|
bytestring >= 0.9 && < 0.12
|
||||||
|
|
||||||
|
exposed-modules:
|
||||||
|
Crypto.Sign.Ed25519
|
||||||
|
|
||||||
|
ghc-options: -Wall -fwarn-tabs
|
||||||
|
default-language: Haskell2010
|
||||||
|
hs-source-dirs: src
|
||||||
|
|
||||||
|
-- Choose the underlying C implementation
|
||||||
|
if flag(no-donna)
|
||||||
|
-- ref10 implementation from SUPERCOP, about 2x slower than the AMD64
|
||||||
|
-- SUPERCOP implementations, 15x faster than ronald3072 for signing.
|
||||||
|
c-sources: src/cbits/ref10/ed25519.c
|
||||||
|
include-dirs: src/cbits/ref10 src/cbits/ref10/include
|
||||||
|
else
|
||||||
|
-- TODO(aseipp): ed25519-donna import
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Build pt 2: Tests
|
||||||
|
|
||||||
|
test-suite properties
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: properties.hs
|
||||||
|
ghc-options: -w
|
||||||
|
hs-source-dirs: tests
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
if !flag(test-properties)
|
||||||
|
buildable: False
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
bytestring >= 0.9 && < 0.12,
|
||||||
|
QuickCheck >= 2.4 && < 2.9,
|
||||||
|
ed25519
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Style/doc tests below
|
||||||
|
--
|
||||||
|
|
||||||
|
test-suite hlint
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: hlint.hs
|
||||||
|
hs-source-dirs: tests
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
if !flag(test-hlint)
|
||||||
|
buildable: False
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
hlint >= 1.7 && < 1.10
|
||||||
|
|
||||||
|
test-suite doctests
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: doctests.hs
|
||||||
|
hs-source-dirs: tests
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
if !flag(test-doctests)
|
||||||
|
buildable: False
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
filepath >= 1.0 && < 1.5,
|
||||||
|
directory >= 1.0 && < 1.3,
|
||||||
|
doctest >= 0.10 && < 0.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Build pt 3: benchmarks
|
||||||
|
|
||||||
|
benchmark bench
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
bytestring >= 0.9 && < 0.12,
|
||||||
|
criterion >= 0.8 && < 1.2,
|
||||||
|
deepseq >= 1.3 && < 1.5,
|
||||||
|
ed25519
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
hs-source-dirs: benchmarks
|
||||||
|
main-is: bench.hs
|
|
@ -1,5 +1,5 @@
|
||||||
# generated by cabal-rpm-0.11.2
|
# generated by cabal-rpm-2.1.0
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name ed25519
|
%global pkg_name ed25519
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
@ -8,17 +8,25 @@
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.0.5.0
|
Version: 0.0.5.0
|
||||||
Release: 6%{?dist}
|
Release: %autorelease
|
||||||
Summary: Ed25519 cryptographic signatures
|
Summary: Ed25519 cryptographic signatures
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
|
%endif
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
|
@ -38,53 +46,83 @@ implementation, including usage guidelines.
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{defined ghc_version}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
%endif
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%if %{with haddock}
|
||||||
%setup -q -n %{pkgver}
|
%package doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
# https://hackage.haskell.org/package/ed25519-0.0.5.0/revisions/
|
%description doc
|
||||||
cabal-tweak-dep-ver ghc-prim '0.5' '0.6'
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package prof
|
||||||
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with tests}
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc AUTHORS.txt CHANGELOG.md README.md
|
%doc AUTHORS.txt CHANGELOG.md CONTRIBUTING.md README.md
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files doc -f %{name}-doc.files
|
||||||
|
%license LICENSE.txt
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof -f %{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 6 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.0.5.0-6
|
%autochangelog
|
||||||
- Bump release to be newer than existing bundled version.
|
|
||||||
|
|
||||||
* Thu Oct 5 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.5.0-1
|
|
||||||
- spec file generated by cabal-rpm-0.11.2
|
|
||||||
|
|
Loading…
Reference in New Issue