libassuan-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. Name: libassuan
  2. Summary: GnuPG IPC library
  3. Version: 2.5.5
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: iwaim
  9. License: LGPLv2+ and GPLv3+
  10. URL: https://www.gnupg.org/related_software/libassuan/index.html
  11. Source0: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2
  12. Source1: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig
  13. Patch1: libassuan-1.0.5-multilib.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: gawk
  16. BuildRequires: libgpg-error-devel >= 1.4
  17. #BuildRequires: pth-devel
  18. %description
  19. This is the IPC library used by GnuPG 2, GPGME and a few other
  20. packages.
  21. %package devel
  22. Summary: GnuPG IPC library
  23. Group: programming
  24. #Requires: pth-devel
  25. Requires: %{name} = %{version}
  26. Requires(post): /sbin/install-info
  27. Requires(preun): /sbin/install-info
  28. Obsoletes: %{name}-static < %{version}-%{release}
  29. Provides: %{name}-static = %{version}-%{release}
  30. %description devel
  31. This is the IPC static library used by GnuPG 2, GPGME and a few other
  32. packages.
  33. This package contains files needed to develop applications using %{name}.
  34. %debug_package
  35. %prep
  36. %setup -q
  37. %patch1 -p1 -b .multilib
  38. %build
  39. #ifarch x86_64
  40. export CFLAGS="%{optflags} -fPIC"
  41. #endif
  42. %configure
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf %{buildroot}
  46. make install DESTDIR=%{buildroot}
  47. ## Unpackaged files
  48. rm -f %{buildroot}%{_infodir}/dir
  49. rm -f %{buildroot}%{_libdir}/libassuan.la
  50. %check
  51. make check
  52. %post devel
  53. /sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
  54. %preun devel
  55. if [ $1 -eq 0 ]; then
  56. /sbin/install-info --delete %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
  57. fi
  58. %clean
  59. rm -rf %{buildroot}
  60. %files
  61. %defattr(-,root,root,-)
  62. %license COPYING.LIB
  63. %doc AUTHORS ChangeLog NEWS README THANKS TODO
  64. %{_libdir}/libassuan.so.*
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %license COPYING.LIB
  68. %doc AUTHORS ChangeLog NEWS README THANKS TODO
  69. %{_bindir}/libassuan-config
  70. %{_includedir}/*
  71. %{_libdir}/libassuan.so
  72. %{_libdir}/pkgconfig/libassuan.pc
  73. %{_datadir}/aclocal/*
  74. %{_infodir}/assuan.info*
  75. %changelog
  76. * Mon Mar 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.5-1
  77. - updated to 2.5.5.
  78. * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.4-1
  79. - updated to 2.5.4.
  80. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.3-2
  81. - rebuilt with current environment.
  82. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.3-1
  83. - updated to 2.5.3.
  84. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.1-1
  85. - updated to 2.5.1.
  86. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.4.3-1
  87. - update to 2.4.3
  88. - update URL tag
  89. - add Packager tag
  90. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.2-1
  91. - new upstream release.
  92. * Fri Jul 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
  93. - new upstream release.
  94. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.0.0-1
  95. - major version up to 2.0
  96. - create libassuan package
  97. - add BuildRequires: libgpg-error-devel >= 1.4
  98. - drop %%{_libdir}/lib*.a in %%files
  99. * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.5-4
  100. - update multilib patch (Patch1) from Fedora libassuan1-1.0.5-6
  101. - better (upstreamable) multilib patch
  102. - fix License tag - the documentation is GPLv3+
  103. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-3
  104. - Initial build for Vine Linux
  105. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  107. * Sat Jun 20 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-1
  108. - libassuan-1.0.5
  109. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  111. * Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-3
  112. - multiarch conflicts (#341911)
  113. * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-2
  114. - respin (gcc43)
  115. * Wed Dec 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.4-1
  116. - libassuan-1.0.4
  117. - License: LGPLv2+
  118. - disable useless -debuginfo (static libs only)
  119. * Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-2
  120. - BR: gawk (to reenable pth support)
  121. * Fri Aug 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-1
  122. - libassuan-1.0.3
  123. - License: LGPLv2
  124. * Thu Aug 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-2
  125. - License: LGPLv3 (clarification, changed from LGPLv2 1.0.1 -> 1.0.2)
  126. * Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-1
  127. - libassuan-1.0.2
  128. - rename -static -> -devel
  129. * Sat Nov 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.1-1
  130. - libassuan-1.0.1
  131. * Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.0-1
  132. - libassuan-1.0.0
  133. - rename -devel -> -static (+Obsoletes/Provides: %%name-devel)
  134. * Wed Oct 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-2
  135. - another libassuan.m4 patch
  136. * Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-1
  137. - 0.9.3
  138. - BR: pth-devel, -devel: Requires: pth-devel
  139. * Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.2-1
  140. - 0.9.2
  141. * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.ne> - 0.9.0-3
  142. - respin
  143. * Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net - 0.9.0-2
  144. - -devel: Provides: %%name-static
  145. - 0.9.0
  146. * Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.10-3
  147. - fc6 respin
  148. * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
  149. - fc5: gcc/glibc respin
  150. * Mon Jul 4 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0.6.10-2
  151. - Build PIC only for x86_64.
  152. * Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-1
  153. - 0.6.10, macro patch no longer needed (#162262).
  154. * Sun May 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-4
  155. - rebuilt
  156. * Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.9-3
  157. - Fix FC4 build and source URLs.
  158. * Thu Feb 3 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-2
  159. - Build PIC to fix x86_64 linking.
  160. * Thu Jan 06 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.9-1
  161. - 0.6.9
  162. * Sat Oct 23 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.3
  163. - *really* fix description this time.
  164. * Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.2
  165. - remove "We decided..." part of description
  166. - remove hard-coded .gz info references
  167. - Req(preun)->Preq(postun): /sbin/install-info
  168. * Thu Oct 21 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.1
  169. - cleanup, make presentable.
  170. * Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.0
  171. - first try