auto-import changelog data from perl-Digest-SHA1-2.01-3.src.rpm
Thu Jun 27 2002 Chip Turner <cturner@redhat.com> - description update Sat Mar 16 2002 cturner@redhat.com - Specfile autogenerated
This commit is contained in:
parent
b96f631efa
commit
f0c79ff54a
@ -0,0 +1 @@
|
||||
Digest-SHA1-2.01.tar.gz
|
||||
64
perl-Digest-SHA1.spec
Normal file
64
perl-Digest-SHA1.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: perl-Digest-SHA1
|
||||
Version: 2.01
|
||||
Release: 3
|
||||
Packager: cturner@redhat.com
|
||||
Summary: Digest-SHA1 Perl module
|
||||
License: distributable
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/search?mode=module&query=Digest%3a%3aSHA1
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
BuildRequires: perl >= 0:5.00503
|
||||
Source0: Digest-SHA1-2.01.tar.gz
|
||||
|
||||
%description
|
||||
The Digest::SHA1 module allows you to use the NIST SHA-1 message
|
||||
digest algorithm from within Perl programs. The algorithm takes as
|
||||
input a message of arbitrary length and produces as output a 160-bit
|
||||
"fingerprint" or "message digest" of the input.
|
||||
|
||||
The Digest::SHA1 module provide a procedural interface for simple use,
|
||||
as well as an object oriented interface that can handle messages of
|
||||
arbitrary length and which can read files directly.
|
||||
|
||||
A binary digest will be 20 bytes long. A hex digest will be 40
|
||||
characters long. A base64 digest will be 27 characters long.
|
||||
|
||||
%prep
|
||||
%setup -q -n Digest-SHA1-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
||||
make
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%install
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
eval `perl '-V:installarchlib'`
|
||||
mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
||||
make install
|
||||
|
||||
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
|
||||
|
||||
find $RPM_BUILD_ROOT/usr -type f -print | \
|
||||
sed "s@^$RPM_BUILD_ROOT@@g" | \
|
||||
grep -v perllocal.pod | \
|
||||
grep -v "\.packlist" > Digest-SHA1-2.01-filelist
|
||||
if [ "$(cat Digest-SHA1-2.01-filelist)X" = "X" ] ; then
|
||||
echo "ERROR: EMPTY FILE LIST"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
%files -f Digest-SHA1-2.01-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
|
||||
- description update
|
||||
|
||||
* Sat Mar 16 2002 cturner@redhat.com
|
||||
- Specfile autogenerated
|
||||
|
||||
Loading…
Reference in New Issue
Block a user