libassuan-vl.spec 5.6 KB

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