From 54263177f9ae0d558015f43c5a440f9b546b574b Mon Sep 17 00:00:00 2001
From: stevetraylen <stevetray...@fedoraproject.org>
Date: Tue, 4 May 2010 05:44:48 +0000
Subject: Import #586096

---
 .cvsignore            |  1 +
 import.log            |  1 +
 perl-Crypt-SMIME.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |  1 +
 4 files changed, 68 insertions(+)
 create mode 100644 import.log
 create mode 100644 perl-Crypt-SMIME.spec

diff --git a/.cvsignore b/.cvsignore
index e69de29..5df465c 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+Crypt-SMIME-0.09.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..e1968ca
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+perl-Crypt-SMIME-0_09-2_fc12:HEAD:perl-Crypt-SMIME-0.09-2.fc12.src.rpm:1272951813
diff --git a/perl-Crypt-SMIME.spec b/perl-Crypt-SMIME.spec
new file mode 100644
index 0000000..0069e6e
--- /dev/null
+++ b/perl-Crypt-SMIME.spec
@@ -0,0 +1,65 @@
+Name:           perl-Crypt-SMIME
+Version:        0.09
+Release:        2%{?dist}
+Summary:        S/MIME message signing, verification, encryption and decryption
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Crypt-SMIME/
+Source0:        
http://www.cpan.org/modules/by-module/Crypt/Crypt-SMIME-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  openssl-devel
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
+Requires:       perl(Test::Exception)
+Requires:       perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+#Add a test sub package.
+%{?perl_default_subpackage_tests}
+
+%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) to work.
+
+%prep
+%setup -q -n Crypt-SMIME-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Crypt*
+%{_mandir}/man3/*
+
+%changelog
+* Mon May 3 2010 Steve Traylen <steve.tray...@cern.ch> 0.09-2
+- Additon of openssl-devel build requires.
+
+* Mon Apr 26 2010 Steve Traylen <steve.tray...@cern.ch> 0.09-1
+- Specfile autogenerated by cpanspec 1.78.
+- Install with DESTDIR
+- Create -test subpackage if macro is define.
+- Remove SMIME.mlpod from docs.
diff --git a/sources b/sources
index e69de29..3a8d4bc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b4dba3b4a3c76573d3b070cf92c0b55d  Crypt-SMIME-0.09.tar.gz
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Crypt-SMIME.git/commit/?h=epel7&id=54263177f9ae0d558015f43c5a440f9b546b574b
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to