summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca-tls/tqca-tls.spec
blob: f95290a0e9284d7ac312140319b43c8ab94ab422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Always build under "/usr"
%define _prefix /usr

Name:		tqca-tls
Version:	r14
Release:	1%{?dist}

Summary:	TLS plugin for the Qt Cryptographic Architecture
License:	LGPLv2+
Group:		Applications/Internet

URL:		http://delta.affinix.com/qca/
Vendor:		Trinity Project
Packager:	Francois Andriot <francois.andriot@free.fr>

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source0:	%{name}-%{version}.tar.gz

# Fix build in mach for QT apps
Patch0:		qca-tls-1.0-mach.patch
# Build with openssl 1.0.0
Patch2:     qca-tls-1.0-ossl10.patch
# Allows building with TQT3 from TDE
Patch10:	tqca-tls-qmake-tqt3.patch

BuildRequires:	tqt3-devel >= 3.4.0
BuildRequires:	openssl-devel >= 0.9.8


%description
This is a plugin to provide SSL/TLS capability to programs that use the TQt
Cryptographic Architecture (TQCA).  TQCA is a library providing an easy API
for several cryptographic algorithms to TQt programs.  This package only
contains the TLS plugin.


%prep
%setup -q -n dependencies/%{name}
%patch0 -p0 -b .mach
%patch2 -p1 -b .ossl10
%patch10 -p1

%build
./configure
%__make %{?_smp_mflags}

%install
%__rm -rf %{?buildroot}
%__make install INSTALL_ROOT=%{?buildroot}

%clean
%__rm -rf %{?buildroot}


%files
%defattr(0644,root,root,0755)
%doc README COPYING
%attr(755,root,root) %{_libdir}/tqt3/plugins/crypto


%changelog
* Sat Feb 18 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
- Initial build for TDE R14
- Spec file based on Fedora 12 'qca-tls-1.0-18'