[packages/perl-Digest-GOST] - initial version, 0.06

adwol adwol at pld-linux.org
Tue Apr 26 20:53:52 CEST 2016


commit 2761b9877b439f3e175352bd7804083797ede426
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Tue Apr 26 20:53:28 2016 +0200

    - initial version, 0.06

 perl-Digest-GOST.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/perl-Digest-GOST.spec b/perl-Digest-GOST.spec
new file mode 100644
index 0000000..3b0f942
--- /dev/null
+++ b/perl-Digest-GOST.spec
@@ -0,0 +1,58 @@
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Digest
+%define		pnam	GOST
+Summary:	Digest::GOST - Perl interface to the GOST R 34.11-94 digest algorithm
+Summary(pl.UTF-8):	Digest::GOST - implementacja algorytmu skrótu GOST R 34.11-94
+Name:		perl-Digest-GOST
+Version:	0.06
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org/CPAN/authors/id/G/GR/GRAY/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	d91904e56300d08956ea5f1e174863f3
+URL:		http://search.cpan.org/dist/Digest-GOST/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Digest::GOST module provides an interface to the GOST R 34.11-94
+message digest algorithm. This interface follows the conventions set
+forth by the Digest module. To use the CryptoPro parameters, use
+Digest::GOST::CryptoPro.
+
+%description -l pl.UTF-8
+Moduł Digest::GOST implementuje algorytm skrótu GOST R 34.11-94.
+Interfejs programistyczny jest zgodny z konwencją przyjętą przez
+moduł Digest. W przypadku wykorzystywania parametrów CryptoPro
+należy użyć modułu Digest::GOST::CryptoPro.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changes
+%{perl_vendorarch}/Digest/GOST.pm
+%{perl_vendorarch}/Digest/GOST
+%dir %{perl_vendorarch}/auto/Digest/GOST
+%attr(755,root,root) %{perl_vendorarch}/auto/Digest/GOST/GOST.so
+%{_mandir}/man3/Digest::GOST.3pm*
+%{_mandir}/man3/Digest::GOST::CryptoPro.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Digest-GOST.git/commitdiff/2761b9877b439f3e175352bd7804083797ede426



More information about the pld-cvs-commit mailing list