gwenhywfar-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. Summary: A multi-platform helper library for other libraries
  2. Name: gwenhywfar
  3. Version: 4.3.3
  4. Release: 1%{?_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. %{_datadir}/%{name}
  65. %config(noreplace) %{_datadir}/%{name}/ca-bundle.crt
  66. %{_datadir}/locale/*/LC_MESSAGES/gwenhywfar.mo
  67. %exclude %{_datadir}/%{name}/typemaker*
  68. %files devel
  69. %defattr(-,root,root)
  70. %exclude %{_bindir}/gct-tool
  71. %{_bindir}/*
  72. %{_includedir}/gwenhywfar4
  73. %{_libdir}/*.so
  74. %{_libdir}/pkgconfig/*.pc
  75. %{_datadir}/aclocal/gwenhywfar.m4
  76. %{_datadir}/%{name}/typemaker*
  77. %files gui-gtk2
  78. %defattr(-,root,root)
  79. %{_libdir}/libgwengui-gtk2.so.*
  80. %files gui-qt4
  81. %defattr(-,root,root)
  82. %{_libdir}/libgwengui-qt4.so.*
  83. %changelog
  84. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.3-1
  85. - new upstream release
  86. - add BuildRequires: gtk2-devel, qt4-devel
  87. - create gui-gtk2, gui-qt4 subpackages (based on Fedora)
  88. * Sun Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.11.3-3
  89. - rebuilt with openssl-1.0.0d
  90. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.11.3-2
  91. - rebuilt with rpm-4.8.1 for pkg-config
  92. * Sat Feb 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.11.3-1
  93. - new upstream release
  94. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.0-1
  95. - new upstream release
  96. - built with gnutls-2.6.3
  97. * Sat Sep 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1
  98. - new upstream release
  99. - applied new versioning policy
  100. * Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.2-0vl1
  101. - new upstream release
  102. * Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.1-2vl1
  103. - initial build for VineSeed
  104. * Wed Oct 10 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-2
  105. - fix build, rebuild for buildid
  106. * Fri Aug 3 2007 Bill Nottingham <notting@redhat.com>
  107. - tweak license tag
  108. * Wed Jul 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.1-1
  109. - update to 2.6.1
  110. * Mon Jun 11 2007 Bill Nottingham <notting@redhat.com> - 2.6.0-1
  111. - update to 2.6.0
  112. * Mon Mar 19 2007 Bill Nottingham <notting@redhat.com> - 2.5.4-1
  113. - update to 2.5.4
  114. * Thu Feb 22 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-7
  115. - build for Extras
  116. * Wed Jan 10 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-6
  117. - make gwen-public-ca.crt %%config(noreplace)
  118. * Tue Jan 9 2007 Bill Nottingham <notting@redhat.com> - 2.3.0-5
  119. - spec tweaks
  120. * Thu Sep 7 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-4
  121. - rebuild for fixed debuginfo (#205501)
  122. * Tue Sep 5 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-3
  123. - fix multilib conflicts (#205213)
  124. * Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-2
  125. - rather than modifying the m4 file, make gwenhywfar-config use pkgconfig
  126. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3.0-1.1
  127. - rebuild
  128. * Tue Jul 11 2006 Bill Nottingham <notting@redhat.com> - 2.3.0-1
  129. - update to 2.3.0
  130. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.2
  131. - bump again for double-long bug on ppc(64)
  132. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.99.2-1.1
  133. - rebuilt for new gcc4.1 snapshot and glibc changes
  134. * Thu Dec 22 2005 Bill Nottingham <notting@redhat.com> 1.99.2-1
  135. - update to 1.99.2
  136. - use the pkgconfig file, not gwenhywfar-config
  137. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  138. - rebuilt
  139. * Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 1.7.2-3
  140. - rebuilt against new openssl
  141. * Wed Mar 2 2005 Bill Nottingham <notting@redhat.com> 1.7.2-2
  142. - rebuild against new openssl
  143. * Wed Feb 9 2005 Bill Nottingham <notting@redhat.com> 1.7.2-1
  144. - initial packaging, adopt upstream package