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