packages: openssl-engine-ibmca/openssl-engine-ibmca.spec - updated to 1.1 (...

qboosh qboosh at pld-linux.org
Sun Oct 10 09:18:58 CEST 2010


Author: qboosh                       Date: Sun Oct 10 07:18:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.1 (requires libica-2, so zSeries only)

---- Files affected:
packages/openssl-engine-ibmca:
   openssl-engine-ibmca.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/openssl-engine-ibmca/openssl-engine-ibmca.spec
diff -u packages/openssl-engine-ibmca/openssl-engine-ibmca.spec:1.2 packages/openssl-engine-ibmca/openssl-engine-ibmca.spec:1.3
--- packages/openssl-engine-ibmca/openssl-engine-ibmca.spec:1.2	Sun Sep  2 21:19:09 2007
+++ packages/openssl-engine-ibmca/openssl-engine-ibmca.spec	Sun Oct 10 09:18:53 2010
@@ -2,20 +2,22 @@
 Summary:	IBMCA engine for OpenSSL
 Summary(pl.UTF-8):	Silnik IBMCA dla OpenSSL-a
 Name:		openssl-engine-ibmca
-Version:	1.0.0
+Version:	1.1
 Release:	1
 License:	OpenSSL (Apache-like)
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/opencryptoki/openssl-ibmca-%{version}.tar.bz2
-# Source0-md5:	403fb0544017ebf6c1c9bd2501015154
+Source0:	http://downloads.sourceforge.net/opencryptoki/openssl-ibmca-%{version}.tar.gz
+# Source0-md5:	c94f2b5cbef6c78eefa49d71d0f4b972
 URL:		http://opencryptoki.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1.6.3
+BuildRequires:	libica-devel >= 2.0
 BuildRequires:	libtool
 BuildRequires:	openssl-devel >= 0.9.8
-BuildRequires:	sed >= 4.0
-Requires:	libica = 1.3.8
+Requires:	libica >= 2.0
 Requires:	openssl >= 0.9.8
+# because of libica-2 usage
+ExclusiveArch:	s390 s390x
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,37 +31,30 @@
 %prep
 %setup -q -n openssl-ibmca-%{version}
 
-sed -i -e 's/"ica"/"libica-1.3.8.so"/' ica_openssl_api.h
-
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-	ac_cv_lib_ica_icaOpenAdapter=yes \
-	--with-engines-dir=%{_libdir}/engines \
-	--with-openssl=/usr \
+	--libdir=%{_libdir}/engines
 	
-%{__make} \
-	libibmca_la_LIBADD=-lcrypto \
-	libibmca_la_DEPENDENCIES=
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	libibmca_la_DEPENDENCIES=
+	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/engines/libibmca.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/engines/libibmca.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README openssl.cnf.sample
 %attr(755,root,root) %{_libdir}/engines/libibmca.so*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -68,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/10/10 07:18:53  qboosh
+- updated to 1.1 (requires libica-2, so zSeries only)
+
 Revision 1.2  2007/09/02 19:19:09  qboosh
 - engines dir belongs to openssl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl-engine-ibmca/openssl-engine-ibmca.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list