gwenhywfar-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Summary: A multi-platform helper library for other libraries
  2. Name: gwenhywfar
  3. Version: 4.3.3
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.aquamaniac.de/sites/aqbanking/index.php
  8. Source0: %{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk2-devel
  11. BuildRequires: qt4-devel
  12. BuildRequires: openssl-devel
  13. BuildRequires: gnutls-devel
  14. BuildRequires: libgcrypt-devel
  15. BuildRequires: gettext
  16. %description
  17. This is Gwenhywfar, a multi-platform helper library for networking and
  18. security applications and libraries. It is heavily used by libchipcard
  19. and AqBanking/AqHBCI, the German online banking libraries.
  20. %package devel
  21. Summary: Gwenhywfar development kit
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: %{name}-gui-gtk2 = %{version}-%{release}
  25. Requires: %{name}-gui-qt4 = %{version}-%{release}
  26. Requires: pkgconfig
  27. %description devel
  28. This package contains gwenhywfar-config and header files for writing and
  29. compiling programs using Gwenhywfar.
  30. %package gui-gtk2
  31. Summary: Gwenhywfar GUI framework for GTK2
  32. Group: System Environment/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. %description gui-gtk2
  35. This package contains the gtk2 gwenhywfar GUI backend.
  36. %package gui-qt4
  37. Summary: Gwenhywfar GUI framework for Qt4
  38. Group: System Environment/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. %description gui-qt4
  41. This package contains the qt4 gwenhywfar GUI backend.
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --disable-static --with-openssl-libs=%{_libdir} \
  46. --with-qt4-libs=%{_qt4_libdir} --with-qt4-includes=%{_qt4_headerdir}
  47. #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  48. #sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  49. make %{?_smp_mflags}
  50. %install
  51. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  52. make DESTDIR=$RPM_BUILD_ROOT install
  53. find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
  54. %clean
  55. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root)
  60. %doc AUTHORS README COPYING ChangeLog
  61. %{_bindir}/gct-tool
  62. %{_libdir}/libgwenhywfar.so.*
  63. %{_libdir}/%{name}
  64. %dir %{_datadir}/%{name}
  65. %config(noreplace) %{_datadir}/%{name}/ca-bundle.crt
  66. %{_datadir}/%{name}/dialogs
  67. %{_datadir}/%{name}/typemaker2
  68. %{_datadir}/locale/*/LC_MESSAGES/gwenhywfar.mo
  69. %exclude %{_datadir}/%{name}/typemaker*
  70. %files devel
  71. %defattr(-,root,root)
  72. %exclude %{_bindir}/gct-tool
  73. %{_bindir}/*
  74. %{_includedir}/gwenhywfar4
  75. %{_libdir}/*.so
  76. %{_libdir}/pkgconfig/*.pc
  77. %{_datadir}/aclocal/gwenhywfar.m4
  78. %{_datadir}/%{name}/typemaker*
  79. %files gui-gtk2
  80. %defattr(-,root,root)
  81. %{_libdir}/libgwengui-gtk2.so.*
  82. %files gui-qt4
  83. %defattr(-,root,root)
  84. %{_libdir}/libgwengui-qt4.so.*
  85. %changelog
  86. * Sat Dec 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.3-2
  87. - rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20
  88. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.3-1
  89. - new upstream release
  90. - add BuildRequires: gtk2-devel, qt4-devel
  91. - create gui-gtk2, gui-qt4 subpackages (based on Fedora)
  92. * Sun Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.11.3-3
  93. - rebuilt with openssl-1.0.0d
  94. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.11.3-2
  95. - rebuilt with rpm-4.8.1 for pkg-config
  96. * Sat Feb 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.11.3-1
  97. - new upstream release
  98. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.0-1
  99. - new upstream release
  100. - built with gnutls-2.6.3
  101. * Sat Sep 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1
  102. - new upstream release
  103. - applied new versioning policy
  104. * Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.2-0vl1
  105. - new upstream release
  106. * Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.1-2vl1
  107. - initial build for VineSeed
  108. * Wed Oct 10 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-2
  109. - fix build, rebuild for buildid
  110. * Fri Aug 3 2007 Bill Nottingham <notting@redhat.com>
  111. - tweak license tag
  112. * Wed Jul 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-1
  113. - update to 2.6.1
  114. * Mon Jun 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.0-1
  115. - update to 2.6.0
  116. * Mon Mar 19 2007 Bill Nottingham <notting@redhat.com> - 2.5.4-1
  117. - update to 2.5.4
  118. * Thu Feb 22 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-7
  119. - build for Extras
  120. * Wed Jan 10 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-6
  121. - make gwen-public-ca.crt %%config(noreplace)
  122. * Tue Jan 9 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-5
  123. - spec tweaks
  124. * Thu Sep 7 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-4
  125. - rebuild for fixed debuginfo (#205501)
  126. * Tue Sep 5 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-3
  127. - fix multilib conflicts (#205213)
  128. * Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-2
  129. - rather than modifying the m4 file, make gwenhywfar-config use pkgconfig
  130. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.0-1.1
  131. - rebuild
  132. * Tue Jul 11 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-1
  133. - update to 2.3.0
  134. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.2
  135. - bump again for double-long bug on ppc(64)
  136. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.1
  137. - rebuilt for new gcc4.1 snapshot and glibc changes
  138. * Thu Dec 22 2005 Bill Nottingham <notting@redhat.com> 1.99.2-1
  139. - update to 1.99.2
  140. - use the pkgconfig file, not gwenhywfar-config
  141. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  142. - rebuilt
  143. * Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 1.7.2-3
  144. - rebuilt against new openssl
  145. * Wed Mar 2 2005 Bill Nottingham <notting@redhat.com> 1.7.2-2
  146. - rebuild against new openssl
  147. * Wed Feb 9 2005 Bill Nottingham <notting@redhat.com> 1.7.2-1
  148. - initial packaging, adopt upstream package