qca2-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: qca2
  2. Version: 2.0.3
  3. Release: 5%{?_dist_release}
  4. Summary: Qt Cryptographic Architecture
  5. Summary(ja): Qt 暗号アーキテクチャ
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://delta.affinix.com/qca
  9. Source0: http://delta.affinix.com/download/qca/2.0/qca-%{version}.tar.bz2
  10. # Allow gcc to compile qca
  11. Patch0: qca-2.0.3-gcc47.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: qt4-devel >= 4.2
  14. BuildRequires: pkgconfig
  15. %description
  16. Taking a hint from the similarly-named Java Cryptography Architecture,
  17. QCA aims to provide a straightforward and cross-platform crypto API,
  18. using Qt datatypes and conventions. QCA separates the API from the
  19. implementation, using plugins known as Providers. The advantage of this
  20. model is to allow applications to avoid linking to or explicitly depending
  21. on any particular cryptographic library. This allows one to easily change
  22. or upgrade crypto implementations without even needing to recompile the
  23. application!
  24. %package devel
  25. Summary: Qt Cryptographic Architecture development files
  26. Summary(ja): Qt 暗号アーキテクチャの開発用ファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: qt4-devel >= %{_qt4_version}
  30. %description devel
  31. This packages contains the development files for QCA
  32. %prep
  33. %setup -q -n qca-%{version}
  34. %patch0 -p1
  35. %build
  36. unset QTDIR
  37. ./configure \
  38. --prefix=%{_prefix} \
  39. --includedir=%{_includedir} \
  40. --libdir=%{_libdir} \
  41. --datadir=%{_datadir} \
  42. --no-separate-debug-info \
  43. --verbose
  44. sed -i -e /strip/d Makefile
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install INSTALL_ROOT=$RPM_BUILD_ROOT
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc COPYING README TODO
  56. %{_bindir}/qcatool2
  57. %{_libdir}/*.so.*
  58. %{_mandir}/*/*
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/QtCrypto
  62. %{_libdir}/*.so
  63. %{_libdir}/pkgconfig/qca2.pc
  64. %{_libdir}/libqca.prl
  65. %{_qt4_datadir}/mkspecs/features/crypto.prf
  66. %changelog
  67. * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.3-5
  68. - rebuild with gcc-5.4.0
  69. * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.3-4
  70. - rebuilt on current VineSeed
  71. - added patch0 from Fedora
  72. - added Japanese summary
  73. * Sun Jan 8 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-3
  74. - rebuilt with qt-4.8.0
  75. * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-2
  76. - rebuilt with qt-4.7.2
  77. * Sun Jan 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-1
  78. - new upstream release
  79. - built with qt-4.7.1
  80. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-8
  81. - rebuilt with rpm-4.8.1
  82. * Mon Aug 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.2-7
  83. - rebuilt with qt-4.6.3 again
  84. - change BuildRequires: qt4-devel = %{qt4_ver} (add version)
  85. * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-6
  86. - rebuilt with qt-4.6.3
  87. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.2-5
  88. - rebuilt with new toolchain, qt4-4.6.1
  89. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-4
  90. - rebuilt with qt-4.5.3
  91. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-3
  92. - Initial build for Vine Linux
  93. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  95. * Tue May 05 2009 Sven Lankes <sven@lank.es> - 2.0.2-1
  96. - new upstream release - qt 4.5-compat-fixes
  97. * Wed Apr 08 2009 Sven Lankes <sven@lank.es> - 2.0.1-1
  98. - new upstream release
  99. - removed 64bit patch - now upstream
  100. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  102. * Fri May 30 2008 Dennis Gilmore <dennis@ausil.us> - 2.0.0-3
  103. - crypto.prf is in libdir not datadir
  104. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-2
  105. - Autorebuild for GCC 4.3
  106. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-1
  107. - version 2.0.0 final
  108. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.4.beta7
  109. - fix build on x86_64
  110. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta7
  111. - missing BR: openssl
  112. * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.2.beta7
  113. - review from bug 289681 (thanks Rex)
  114. * Sun Sep 09 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta7
  115. - initial package