[perl-Crypt-X509] Initial import.

corsepiu corsepiu at fedoraproject.org
Tue Jan 7 13:17:44 UTC 2014


commit 594477931f9d1cf2398b081a1949bba5ee00eeb7
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Jan 7 14:17:45 2014 +0100

    Initial import.

 .gitignore           |    1 +
 perl-Crypt-X509.spec |   53 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..58c658b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Crypt-X509-0.51.tar.gz
diff --git a/perl-Crypt-X509.spec b/perl-Crypt-X509.spec
new file mode 100644
index 0000000..c74d8fd
--- /dev/null
+++ b/perl-Crypt-X509.spec
@@ -0,0 +1,53 @@
+Name:           perl-Crypt-X509
+Version:        0.51
+Release:        1%{?dist}
+Summary:        Parse a X.509 certificate
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Crypt-X509/
+Source0:        http://www.cpan.org/authors/id/A/AJ/AJUNG/Crypt-X509-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Convert::ASN1) >= 0.19
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
+Requires:       perl(Convert::ASN1) >= 0.19
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# Filter out unversioned R: perl(Convert::ASN1)
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Convert::ASN1\\)
+
+%description
+Crypt::X509 parses X.509 certificates. Methods are provided for accessing
+most certificate elements.
+
+%prep
+%setup -q -n Crypt-X509-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Dec 19 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 0.51-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..6c1691d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aadab2960d2bd65a212d1bd7f50e282a  Crypt-X509-0.51.tar.gz


More information about the scm-commits mailing list