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

adwol adwol at pld-linux.org
Sat Dec 3 13:42:34 CET 2011


Author: adwol                        Date: Sat Dec  3 12:42:34 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, version 0.5

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

---- Diffs:

================================================================
Index: packages/perl-Crypt-OpenSSL-PKCS12/perl-Crypt-OpenSSL-PKCS12.spec
diff -u /dev/null packages/perl-Crypt-OpenSSL-PKCS12/perl-Crypt-OpenSSL-PKCS12.spec:1.1
--- /dev/null	Sat Dec  3 13:42:34 2011
+++ packages/perl-Crypt-OpenSSL-PKCS12/perl-Crypt-OpenSSL-PKCS12.spec	Sat Dec  3 13:42:29 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Crypt
+%define	pnam	OpenSSL-PKCS12
+Summary:	Crypt::OpenSSL::PKCS12 - Perl extension to OpenSSL's PKCS12 API
+Name:		perl-%{pdir}-%{pnam}
+Version:	0.5
+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:	3583235fb6b2837d34dac74ef023b654
+URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Pod::Coverage) >= 0.19
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This implements a small bit of OpenSSL's PKCS12 API.
+
+%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}/%{pdir}/OpenSSL/*.pm
+%dir %{perl_vendorarch}/auto/%{pdir}/OpenSSL/PKCS12
+%{perl_vendorarch}/auto/%{pdir}/OpenSSL/PKCS12/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/OpenSSL/PKCS12/*.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 12:42:29  adwol
+- initial, version 0.5
+
================================================================


More information about the pld-cvs-commit mailing list