Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Digest-SHA256
> perl-Digest-SHA256.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Digest-SHA256.spec of Package perl-Digest-SHA256 (Revision 3)
Currently displaying revision
3
,
show latest
Name: perl-Digest-SHA256 Version: 0.01 Release: 1 License: GPL Group: Development/Libraries/Perl Summary: Perl module Digest::SHA256 URL: http://search.cpan.org/~mshelor/ Source0: SHA256-%{version}b.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glibc-devel libgcc gcc gcc-c++ perl openssl-devel %if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-MakeMaker %endif %description Perl extension module that implements the NIST SHA-256/384/512 hash. %prep %setup -q -n SHA256-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %__make DESTDIR=%{buildroot} install ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* %files %defattr(-,root,root) %doc README %{_bindir}/shasum %dir %{perl_vendorarch}/Digest %dir %{perl_vendorarch}/auto/Digest %dir %{perl_vendorarch}/auto/Digest/SHA %{perl_vendorarch}/Digest/SHA.pm %{perl_vendorarch}/auto/Digest/SHA/SHA.bs %{perl_vendorarch}/auto/Digest/SHA/SHA.so %{_mandir}/man1/shasum.1* %{_mandir}/man3/Digest::SHA.3pm* %changelog * Thu Apr 22 2010 Carsten Schoene <cs@linux-administrator.com> - initial build