libassuan-vl.spec 5.9 KB

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