qca2-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. Name: qca2
  2. Version: 2.0.3
  3. Release: 4%{?_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 Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.3-4
  68. - rebuilt on current VineSeed
  69. - added patch0 from Fedora
  70. - added Japanese summary
  71. * Sun Jan 8 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-3
  72. - rebuilt with qt-4.8.0
  73. * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-2
  74. - rebuilt with qt-4.7.2
  75. * Sun Jan 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-1
  76. - new upstream release
  77. - built with qt-4.7.1
  78. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-8
  79. - rebuilt with rpm-4.8.1
  80. * Mon Aug 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.2-7
  81. - rebuilt with qt-4.6.3 again
  82. - change BuildRequires: qt4-devel = %{qt4_ver} (add version)
  83. * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-6
  84. - rebuilt with qt-4.6.3
  85. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.2-5
  86. - rebuilt with new toolchain, qt4-4.6.1
  87. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-4
  88. - rebuilt with qt-4.5.3
  89. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-3
  90. - Initial build for Vine Linux
  91. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  93. * Tue May 05 2009 Sven Lankes <sven@lank.es> - 2.0.2-1
  94. - new upstream release - qt 4.5-compat-fixes
  95. * Wed Apr 08 2009 Sven Lankes <sven@lank.es> - 2.0.1-1
  96. - new upstream release
  97. - removed 64bit patch - now upstream
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Fri May 30 2008 Dennis Gilmore <dennis@ausil.us> - 2.0.0-3
  101. - crypto.prf is in libdir not datadir
  102. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-2
  103. - Autorebuild for GCC 4.3
  104. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-1
  105. - version 2.0.0 final
  106. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.4.beta7
  107. - fix build on x86_64
  108. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta7
  109. - missing BR: openssl
  110. * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.2.beta7
  111. - review from bug 289681 (thanks Rex)
  112. * Sun Sep 09 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta7
  113. - initial package