1 | %define beta 3 |
---|
2 | |
---|
3 | %define qt4_ver 4.8.0 |
---|
4 | %define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver}) |
---|
5 | %define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4) |
---|
6 | %define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins) |
---|
7 | |
---|
8 | Name: qca-ossl |
---|
9 | Summary: OpenSSL plugin for the Qt Cryptographic Architecture v2 |
---|
10 | Version: 2.0.0 |
---|
11 | Release: 0.beta%{beta}.14%{?_dist_release} |
---|
12 | |
---|
13 | License: LGPLv2+ |
---|
14 | Group: System Environment/Libraries |
---|
15 | URL: http://delta.affinix.com/qca/ |
---|
16 | |
---|
17 | Source0: http://delta.affinix.com/download/qca/2.0/plugins/qca-ossl-%{version}-beta%{beta}.tar.bz2 |
---|
18 | Patch1: qca-ossl-2.0.0-no-whirlpool.patch |
---|
19 | Patch2: qca-ossl-2.0.0-openssl100.patch |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | BuildRequires: qt4-devel |
---|
24 | BuildRequires: qca2-devel >= 2.0.0-1 |
---|
25 | BuildRequires: openssl-devel >= 0.9.8 |
---|
26 | Requires: qt4 >= %{_qt4_version} |
---|
27 | |
---|
28 | Provides: qca2-ossl = %{version}-%{release} |
---|
29 | |
---|
30 | %description |
---|
31 | This is a plugin to provide SSL/TLS capability to programs that use the Qt |
---|
32 | Cryptographic Architecture (QCA). QCA is a library providing an easy API |
---|
33 | for several cryptographic algorithms to Qt programs. This package only |
---|
34 | contains the TLS plugin. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q -n %{name}-%{version}-beta%{beta} |
---|
38 | %patch1 -p1 -b .no-whirlpool |
---|
39 | %patch2 -p1 -b .openssl100 |
---|
40 | |
---|
41 | %build |
---|
42 | unset QTDIR |
---|
43 | MAKE=%{_bindir}/make \ |
---|
44 | ./configure \ |
---|
45 | --qtdir=%{_qt4_prefix} \ |
---|
46 | --no-separate-debug-info \ |
---|
47 | --verbose |
---|
48 | make %{?_smp_mflags} |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | export INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
55 | mkdir -p $RPM_BUILD_ROOT%{_qt4_plugindir}/crypto |
---|
56 | make install |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %doc README COPYING |
---|
65 | %{_qt4_plugindir}/crypto/libqca-ossl.so |
---|
66 | |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Mon Jan 9 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.14 |
---|
70 | - rebuilt with qt-4.8.0 |
---|
71 | |
---|
72 | * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.13 |
---|
73 | - rebuilt with qt4-4.7.2 |
---|
74 | |
---|
75 | * Sun Feb 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.12 |
---|
76 | - built with qt4-4.7.1 for VineSeed |
---|
77 | - added Patch2 to build with oepnssl-1.0.0 |
---|
78 | |
---|
79 | * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.11 |
---|
80 | - Initial build for Vine Linux |
---|
81 | |
---|
82 | * Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.10.beta3 |
---|
83 | - add minimal qt4 dep |
---|
84 | - don't own %%{_qt4_plugindir}/crypto/ |
---|
85 | |
---|
86 | * Fri Jan 29 2010 Alexey Kurov <nucleo@fedoraproject.org> - 2.0.0-0.9.beta3 |
---|
87 | - Provides: qca2-ossl (fixes bug #512000) |
---|
88 | |
---|
89 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.8.beta3 |
---|
90 | - rebuilt with new openssl |
---|
91 | |
---|
92 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.7.beta3 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
94 | |
---|
95 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.6.beta3 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
97 | |
---|
98 | * Mon Jan 26 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.5.beta3 |
---|
99 | - rebuild with new openssl |
---|
100 | - fix the test for whirlpool support |
---|
101 | |
---|
102 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-0.4.beta3 |
---|
103 | - Autorebuild for GCC 4.3 |
---|
104 | |
---|
105 | * Thu Dec 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta3 |
---|
106 | - version 2.0.0 beta 3 |
---|
107 | |
---|
108 | * Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.0-0.2.beta1 |
---|
109 | - Rebuild for deps |
---|
110 | |
---|
111 | * Tue Nov 06 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta1 |
---|
112 | - version 2.0.0 beta 1 |
---|
113 | |
---|
114 | * Sat Oct 27 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-4.20070904 |
---|
115 | - update Source1 URL |
---|
116 | |
---|
117 | * Thu Oct 25 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-3.20070904 |
---|
118 | - update to 20070904 |
---|
119 | |
---|
120 | * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-2.20070706 |
---|
121 | - fixes from review in bug 289701 (thanks Rex) |
---|
122 | |
---|
123 | * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-1.20070706 |
---|
124 | - initial package |
---|