qca-ossl-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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}.15%{?_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. * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.0-0.beta3.15
  51. - rebuilt on current VineSeed
  52. - added Japanese summary
  53. * Mon Jan 9 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.14
  54. - rebuilt with qt-4.8.0
  55. * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.13
  56. - rebuilt with qt4-4.7.2
  57. * Sun Feb 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.12
  58. - built with qt4-4.7.1 for VineSeed
  59. - added Patch2 to build with oepnssl-1.0.0
  60. * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.0-0.beta3.11
  61. - Initial build for Vine Linux
  62. * Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.0.0-0.10.beta3
  63. - add minimal qt4 dep
  64. - don't own %%{_qt4_plugindir}/crypto/
  65. * Fri Jan 29 2010 Alexey Kurov <nucleo@fedoraproject.org> - 2.0.0-0.9.beta3
  66. - Provides: qca2-ossl (fixes bug #512000)
  67. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.8.beta3
  68. - rebuilt with new openssl
  69. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.7.beta3
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.6.beta3
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Mon Jan 26 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.0-0.5.beta3
  74. - rebuild with new openssl
  75. - fix the test for whirlpool support
  76. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-0.4.beta3
  77. - Autorebuild for GCC 4.3
  78. * Thu Dec 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta3
  79. - version 2.0.0 beta 3
  80. * Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.0-0.2.beta1
  81. - Rebuild for deps
  82. * Tue Nov 06 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta1
  83. - version 2.0.0 beta 1
  84. * Sat Oct 27 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-4.20070904
  85. - update Source1 URL
  86. * Thu Oct 25 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-3.20070904
  87. - update to 20070904
  88. * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-2.20070706
  89. - fixes from review in bug 289701 (thanks Rex)
  90. * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.1-1.20070706
  91. - initial package