qca2-vl.spec 4.2 KB

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