summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/tqca/tqca.spec12
1 files changed, 12 insertions, 0 deletions
diff --git a/redhat/dependencies/tqca/tqca.spec b/redhat/dependencies/tqca/tqca.spec
index cc6a5bb13..e230248f9 100644
--- a/redhat/dependencies/tqca/tqca.spec
+++ b/redhat/dependencies/tqca/tqca.spec
@@ -31,6 +31,12 @@
%define libtqca libtqca
%endif
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
+%define libtqt3 %{_lib}tqt3
+%else
+%define libtqt3 libtqt3
+%endif
+
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
@@ -55,9 +61,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: trinity-tqca-rpmlintrc
+Obsoletes: %{libtqt3}-mt-tqca-tls < %{version}-%{release}
+Provides: %{libtqt3}-mt-tqca-tls = %{version}-%{release}
+
BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0
BuildRequires: cmake
BuildRequires: gcc-c++
+BuildRequires: openssl-devel >= 0.9.8
%description
Taking a hint from the similarly-named Java Cryptography Architecture,
@@ -129,6 +139,8 @@ This packages contains the development files for TQCA
%{_libdir}/libtqca.la
%{_libdir}/libtqca.so
%{_libdir}/pkgconfig/tqca.pc
+%dir %{_libdir}/tqt3/plugins/crypto
+%{_libdir}/tqt3/plugins/crypto/libtqca-tls.so
##########