SPECS: perl-Digest-SHA.spec (NEW) - inittial revision

baggins baggins at pld-linux.org
Wed Feb 22 20:24:11 CET 2006


Author: baggins                      Date: Wed Feb 22 19:24:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- inittial revision

---- Files affected:
SPECS:
   perl-Digest-SHA.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Digest-SHA.spec
diff -u /dev/null SPECS/perl-Digest-SHA.spec:1.1
--- /dev/null	Wed Feb 22 20:24:11 2006
+++ SPECS/perl-Digest-SHA.spec	Wed Feb 22 20:24:05 2006
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Digest
+%define		pnam	SHA
+Summary:	Digest::SHA - interface to the SHA algorithm
+Summary(pl):	Digest::SHA - interfejs do algorytmu SHA
+Name:		perl-Digest-SHA
+Version:	5.34
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	a487cbaa3f4e31b5abf4737e126e476e
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Digest::SHA Perl module allows you to use the NIST SHA 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.
+
+%description -l pl
+Moduł Perla  Digest::SHA1 pozwala używać algorytmu skrótu NIST SHA z
+programów w Perlu. Algorytm pobiera z wejścia wiadomość dowolnej
+długości, a na wyjściu produkuje 160-bitowy "odcisk palca" lub "skrót
+wiadomości" z wejścia.
+
+%description -l pt_BR
+Este módulos Perl permite a utilizaçăo do algoritmo de digest de
+mensagens NIST SHA em programas Perl.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{perl_archlib}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changes
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorarch}/Digest/*
+%dir %{perl_vendorarch}/auto/Digest/*
+%{perl_vendorarch}/auto/Digest/*/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Digest/*/*.so
+
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/02/22 19:24:05  baggins
+- inittial revision
+
================================================================


More information about the pld-cvs-commit mailing list