[packages/perl-Crypt-SMIME] - initial, version 0.25

adwol adwol at pld-linux.org
Sat Feb 16 02:00:37 CET 2019


commit d63c26f2ee4dd620c44e57ee65d22f423e05131a
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sat Feb 16 02:00:12 2019 +0100

    - initial, version 0.25

 perl-Crypt-SMIME.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/perl-Crypt-SMIME.spec b/perl-Crypt-SMIME.spec
new file mode 100644
index 0000000..b6afd37
--- /dev/null
+++ b/perl-Crypt-SMIME.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Crypt
+%define		pnam	SMIME
+Summary:	Crypt::SMIME - S/MIME message signing, verification, encryption and decryption
+Summary(pl.UTF-8):	Crypt::SMIME - podpisywanie, weryfikacja, szyfrowanie i odszyfrowywanie wiadomości S/MIME
+Name:		perl-Crypt-SMIME
+Version:	0.25
+Release:	1
+License:	LGPL v2+
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	7afe3f4dedd6f569efb1effcd432eacc
+URL:		http://search.cpan.org/dist/Crypt-SMIME/
+BuildRequires:	openssl-devel >= 0.9.9
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl(ExtUtils::CChecker)
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	openssl
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a class for handling S/MIME messages. It can
+sign, verify, encrypt and decrypt messages. It requires libcrypto
+(http://www.openssl.org).
+
+%description -l pl.UTF-8
+Ten moduł dostarcza klasę do obsługi wiadomości S/MIME. Potrafi
+podpisywać, weryfikować podpisy, szyfrować i odszyfrowywać takie
+wiadomości. Wymaga biblioteki libcrypto z pakietu OpenSSL.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__mv} $RPM_BUILD_ROOT%{_mandir}/man3/SMIME.3pm $RPM_BUILD_ROOT%{_mandir}/man3/Crypt::SMIME.3pm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Crypt/SMIME.pm
+%dir %{perl_vendorarch}/auto/Crypt/SMIME
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/SMIME/SMIME.so
+%{_mandir}/man3/Crypt::SMIME.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-SMIME.git/commitdiff/d63c26f2ee4dd620c44e57ee65d22f423e05131a



More information about the pld-cvs-commit mailing list