[perl-Digest-SHA3] Initial import (#1134343).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7a2241946cb2d2c9e662838523a805b0f4ef6749
Author: David Dick <ddick@xxxxxxxx>
Date:   Tue Sep 30 06:28:45 2014 +1000

    Initial import (#1134343).

 .gitignore            |    1 +
 perl-Digest-SHA3.spec |   73 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fc91d08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Digest-SHA3-0.22.tar.gz
diff --git a/perl-Digest-SHA3.spec b/perl-Digest-SHA3.spec
new file mode 100644
index 0000000..be42348
--- /dev/null
+++ b/perl-Digest-SHA3.spec
@@ -0,0 +1,73 @@
+Name:           perl-Digest-SHA3
+Version:        0.22
+Release:        1%{?dist}
+Summary:        Perl extension for SHA-3
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Digest-SHA3/
+Source0:        http://www.cpan.org/modules/by-module/Digest/Digest-SHA3-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Digest::base)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(Getopt::Std)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Digest::SHA3 is written in C for speed. If your platform lacks a C
+compiler, perhaps you can find the module in a binary form compatible with
+your particular processor and operating system.
+
+%prep
+%setup -q -n Digest-SHA3-%{version}
+sed -i 's|#!.*perl|#!/usr/bin/perl|' examples/dups3
+chmod -c -x examples/dups3
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README examples
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Digest*
+%{_mandir}/man3/*
+
+%package -n sha3sum
+Summary:        Compute and check SHA3 message digest
+BuildArch:      noarch
+Requires:       perl(Digest::SHA3)
+
+%description -n sha3sum
+This script will compute and check the SHA3 message digest of a file
+
+%files -n sha3sum
+%doc README
+%{_mandir}/man1/*
+%{_bindir}/*
+
+%changelog
+* Wed Aug 27 2014 David Dick <ddick@xxxxxxxx> - 0.22-1
+- Initial release
diff --git a/sources b/sources
index e69de29..f6e3c3c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd99a53c6950b6845cda7e6b929b25d5  Digest-SHA3-0.22.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux