]> git.pld-linux.org Git - packages/qt-plugin-qca-tls.git/blob - qt-plugin-qca-tls.spec
- rebuild for x32
[packages/qt-plugin-qca-tls.git] / qt-plugin-qca-tls.spec
1 %define         realname qca-tls
2 Summary:        Qt Cryptographic Architecture (QCA) SSL/TLS plugin
3 Summary(pl.UTF-8):      Wtyczka SSL/TLS dla Qt Cryptographic Architecture (QCA)
4 Name:           qt-plugin-%{realname}
5 Version:        1.0
6 Release:        14
7 Epoch:          1
8 License:        LGPL v2.1
9 Group:          Libraries
10 Source0:        http://delta.affinix.com/qca/%{realname}-%{version}.tar.bz2
11 # Source0-md5:  886b1f60fc31de3b1a0bd93281e27b73
12 Patch0:         %{name}-openssl9x.patch
13 Patch1:         openssl.patch
14 URL:            http://delta.affinix.com/qca/
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  openssl-devel >= 0.9.7d
17 BuildRequires:  qmake
18 BuildRequires:  qt-devel >= 6:3.1.2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _plugindir %{_libdir}/qt/plugins-mt/crypto
22
23 %description
24 A plugin to provide SSL/TLS capability to programs that utilize the Qt
25 Cryptographic Architecture (QCA).
26
27 %description -l pl.UTF-8
28 Wtyczka pozwalająca wykorzystać możliwości SSL/TLS w programach
29 korzystających z Qt Cryptographic Architecture (QCA).
30
31 %prep
32 %setup -qn %{realname}-%{version}
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 export QTDIR=%{_prefix}
38 ./configure
39
40 qmake %{realname}.pro \
41         QMAKE_CXX="%{__cxx}" \
42         QMAKE_LINK="%{__cxx}" \
43         QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" \
44         QMAKE_RPATH=
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         INSTALL_ROOT=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README
60 %attr(755,root,root) %{_plugindir}/*.so
This page took 0.058135 seconds and 4 git commands to generate.