packages: perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.spec (NEW) - init...

adwol adwol at pld-linux.org
Sat Dec 3 14:02:27 CET 2011


Author: adwol                        Date: Sat Dec  3 13:02:27 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, version 1.800.2

---- Files affected:
packages/perl-Crypt-OpenSSL-X509:
   perl-Crypt-OpenSSL-X509.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.spec
diff -u /dev/null packages/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.spec:1.1
--- /dev/null	Sat Dec  3 14:02:27 2011
+++ packages/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.spec	Sat Dec  3 14:02:21 2011
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Crypt
+%define	pnam	OpenSSL-X509
+Summary:	Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API
+Name:		perl-%{pdir}-%{pnam}
+Version:	1.800.2
+Release:	1
+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:	2859915bf11cbf98155150d37ab5dbdd
+URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This implement a large majority of OpenSSL's useful X509 API.
+
+The email() method supports both certificates where the subject is of
+the form: "... CN=Firstname lastname/emailAddress=user at domain", and
+also certificates where there is a X509v3 Extension of the form
+"X509v3 Subject Alternative Name: email=user at domain".
+
+%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} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO
+%{perl_vendorarch}/Crypt/OpenSSL/*.pm
+%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/X509
+%{perl_vendorarch}/auto/Crypt/OpenSSL/X509/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/X509/*.so
+%{_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  2011/12/03 13:02:21  adwol
+- initial, version 1.800.2
+
================================================================


More information about the pld-cvs-commit mailing list