qca2-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Name: qca2
  2. Version: 2.0.2
  3. Release: 5%{?_dist_release}
  4. Summary: Qt Cryptographic Architecture
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://delta.affinix.com/qca
  8. Source0: http://delta.affinix.com/download/qca/2.0/qca-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: qt4-devel
  11. BuildRequires: pkgconfig
  12. %define qtver %(pkg-config --modversion %{_libdir}/pkgconfig/QtCore.pc)
  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 = %{qtver}
  27. Requires: pkgconfig
  28. %description devel
  29. This packages contains the development files for QCA
  30. %prep
  31. %setup -q -n qca-%{version}
  32. %build
  33. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  34. MAKE=%{_bindir}/make \
  35. ./configure \
  36. --prefix=%{_prefix} \
  37. --includedir=%{_includedir} \
  38. --libdir=%{_libdir} \
  39. --datadir=%{_datadir} \
  40. --no-separate-debug-info \
  41. --verbose
  42. sed -i -e /strip/d Makefile
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install INSTALL_ROOT=$RPM_BUILD_ROOT
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING README TODO
  54. %{_bindir}/qcatool2
  55. %{_libdir}/*.so.*
  56. %{_mandir}/*/*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/QtCrypto
  60. %{_libdir}/*.so
  61. %{_libdir}/pkgconfig/qca2.pc
  62. %{_libdir}/libqca.prl
  63. %{_libdir}/qt-%{qtver}/mkspecs/features/crypto.prf
  64. %changelog
  65. * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.2-5
  66. - rebuilt with new toolchain, qt4-4.6.1
  67. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-4
  68. - rebuilt with qt-4.5.3
  69. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-3
  70. - Initial build for Vine Linux
  71. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Tue May 05 2009 Sven Lankes <sven@lank.es> - 2.0.2-1
  74. - new upstream release - qt 4.5-compat-fixes
  75. * Wed Apr 08 2009 Sven Lankes <sven@lank.es> - 2.0.1-1
  76. - new upstream release
  77. - removed 64bit patch - now upstream
  78. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Fri May 30 2008 Dennis Gilmore <dennis@ausil.us> - 2.0.0-3
  81. - crypto.prf is in libdir not datadir
  82. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-2
  83. - Autorebuild for GCC 4.3
  84. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-1
  85. - version 2.0.0 final
  86. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.4.beta7
  87. - fix build on x86_64
  88. * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta7
  89. - missing BR: openssl
  90. * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.2.beta7
  91. - review from bug 289681 (thanks Rex)
  92. * Sun Sep 09 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta7
  93. - initial package