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
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 %dir %{perl_vendorarch}/Digest %dir %{perl_vendorarch}/auto/Digest %dir %{perl_vendorarch}/auto/Digest/SHA256 %{perl_vendorarch}/Digest/SHA256.pm %{perl_vendorarch}/Digest/*256.pod %{perl_vendorarch}/auto/Digest/SHA256/SHA256.so %{perl_vendorarch}/auto/Digest/SHA256/SHA256.bs %{perl_vendorarch}/auto/Digest/SHA256/autosplit.ix %{_mandir}/man3/Digest::*256.3pm* %changelog * Thu Apr 22 2010 Carsten Schoene <cs@linux-administrator.com> - initial build