libassuan-vl.spec 4.9 KB

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