qca-ossl-vl.spec 4.1 KB

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