[2726] | 1 | %define beta 3 |
---|
| 2 | |
---|
[2981] | 3 | %define qt4_ver 4.7.2 |
---|
[2726] | 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}/qt-%{qt4_ver}) |
---|
| 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 |
---|
[2981] | 11 | Release: 0.beta%{beta}.13%{?_dist_release} |
---|
[2726] | 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 |
---|
[2981] | 69 | * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.13 |
---|
| 70 | - rebuilt with qt4-4.7.2 |
---|
| 71 | |
---|
[2726] | 72 | * Sun Feb 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.12 |
---|
| 73 | - built with qt4-4.7.1 for VineSeed |
---|
| 74 | - added Patch2 to build with oepnssl-1.0.0 |
---|
| 75 | |
---|
| 76 | * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.11 |
---|
| 77 | - Initial build for Vine Linux |
---|
| 78 | |
---|
| 79 | * Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.10.beta3 |
---|
| 80 | - add minimal qt4 dep |
---|
| 81 | - don't own %%{_qt4_plugindir}/crypto/ |
---|
| 82 | |
---|
| 83 | * Fri Jan 29 2010 Alexey Kurov <nucleo@fedoraproject.org> - 2.0.0-0.9.beta3 |
---|
| 84 | - Provides: qca2-ossl (fixes bug #512000) |
---|
| 85 | |
---|
| 86 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.8.beta3 |
---|
| 87 | - rebuilt with new openssl |
---|
| 88 | |
---|
| 89 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.7.beta3 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.6.beta3 |
---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 94 | |
---|
| 95 | * Mon Jan 26 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.5.beta3 |
---|
| 96 | - rebuild with new openssl |
---|
| 97 | - fix the test for whirlpool support |
---|
| 98 | |
---|
| 99 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-0.4.beta3 |
---|
| 100 | - Autorebuild for GCC 4.3 |
---|
| 101 | |
---|
| 102 | * Thu Dec 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta3 |
---|
| 103 | - version 2.0.0 beta 3 |
---|
| 104 | |
---|
| 105 | * Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.0-0.2.beta1 |
---|
| 106 | - Rebuild for deps |
---|
| 107 | |
---|
| 108 | * Tue Nov 06 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta1 |
---|
| 109 | - version 2.0.0 beta 1 |
---|
| 110 | |
---|
| 111 | * Sat Oct 27 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-4.20070904 |
---|
| 112 | - update Source1 URL |
---|
| 113 | |
---|
| 114 | * Thu Oct 25 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-3.20070904 |
---|
| 115 | - update to 20070904 |
---|
| 116 | |
---|
| 117 | * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-2.20070706 |
---|
| 118 | - fixes from review in bug 289701 (thanks Rex) |
---|
| 119 | |
---|
| 120 | * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-1.20070706 |
---|
| 121 | - initial package |
---|