libgcrypt-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A cryptographic library based on the code from GnuPG.
  3. Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
  4. Name: libgcrypt
  5. Version: 1.10.2
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: iwaim
  11. License: GPLv2+
  12. URL: https://www.gnupg.org/related_software/libgcrypt/index.html
  13. Source0: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
  14. Source1: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: libgpg-error-devel >= 0.5
  17. Requires: libgpg-error
  18. %description
  19. This is a general purpose cryptographic library based on the code from
  20. GnuPG. It provides functions for all cryptograhic building blocks:
  21. symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash
  22. algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for
  23. all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large
  24. integer functions, random numbers and a lot of supporting functions.
  25. %package devel
  26. Summary: Development files for libgcrypt
  27. Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ
  28. Group: programming
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: libgpg-error-devel
  31. %description devel
  32. Static libraries and header files from libgcrypt.
  33. %package -n compat32-%{name}
  34. Summary: A cryptographic library based on the code from GnuPG.
  35. Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
  36. Group: system,legacy
  37. Requires: %{name} = %{version}-%{release}
  38. %description -n compat32-%{name}
  39. This is a general purpose cryptographic library based on the code from
  40. GnuPG. It provides functions for all cryptograhic building blocks:
  41. symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash
  42. algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for
  43. all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large
  44. integer functions, random numbers and a lot of supporting functions.
  45. %package -n compat32-%{name}-devel
  46. Summary: Development files for libgcrypt
  47. Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ
  48. Group: programming,legacy
  49. Requires: compat32-%{name} = %{version}-%{release}
  50. Requires: %{name}-devel = %{version}-%{release}
  51. Requires: compat32-libgpg-error-devel
  52. %description -n compat32-%{name}-devel
  53. Static libraries and header files from libgcrypt.
  54. %debug_package
  55. %prep
  56. %setup -q
  57. %build
  58. %configure --disable-static
  59. make
  60. %install
  61. [ "%{buildroot}" != / ] && rm -rf %{buildroot}
  62. %makeinstall
  63. rm -f %{buildroot}%{_infodir}/dir
  64. ## remove unuse files
  65. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  66. %clean
  67. [ "%{buildroot}" != / ] && rm -rf %{buildroot}
  68. %files
  69. %defattr(-,root,root)
  70. %{_bindir}/dumpsexp
  71. %{_bindir}/hmac256
  72. %{_bindir}/mpicalc
  73. %{_libdir}/*.so.*
  74. %{_mandir}/man1/hmac256.1.gz
  75. %files devel
  76. %defattr(-,root,root)
  77. %doc README* NEWS
  78. %{_bindir}/libgcrypt-config
  79. %{_includedir}/*
  80. %{_libdir}/*.so
  81. %{_libdir}/pkgconfig/*.pc
  82. %{_datadir}/aclocal/libgcrypt.m4
  83. %{_infodir}/*
  84. # compat32
  85. %if %{build_compat32}
  86. %files -n compat32-%{name}
  87. %defattr(-,root,root)
  88. %{_libdir}/*.so.*
  89. %files -n compat32-%{name}-devel
  90. %defattr(-,root,root)
  91. %{_libdir}/*.so
  92. %{_libdir}/pkgconfig/*.pc
  93. %endif
  94. %changelog
  95. * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.2-1
  96. - updated to 1.10.1.
  97. * Thu Jul 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.1-1
  98. - updated to 1.10.1.
  99. * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.4-1
  100. - updated to 1.9.4.
  101. - dropped install-info scriptlets.
  102. * Wed Jun 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.3-1
  103. - updated to 1.9.3.
  104. * Mon Mar 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.2-1
  105. - updated to 1.9.2.
  106. - dropped ldconfig scriptlets.
  107. * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.1-1
  108. - updated to 1.9.1.
  109. * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.6-1
  110. - updated to 1.8.6.
  111. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.5-1
  112. - updated to 1.8.5.
  113. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.4-1
  114. - updated to 1.8.4.
  115. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.2-1
  116. - updated to 1.8.2.
  117. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.7.6-1
  118. - update to 1.7.6
  119. - update URL tag
  120. - add Packager tag
  121. * Fri Apr 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.5-1
  122. - new upstream release.
  123. * Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1
  124. - new upstream release
  125. * Wed Jan 15 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.6.0-1
  126. - new upstream release
  127. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.3-2
  128. - rebuild with VineSeed environment
  129. * Sat Aug 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1
  130. - new upstream release
  131. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6-1
  132. - new upstream release
  133. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.3-3
  134. - added compat32 package for x86_64 arch support
  135. - added --disable-static %%configure option
  136. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
  137. - removed *.la
  138. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-1
  139. - new upstream release
  140. * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-1vl5
  141. - new upstream release
  142. - used _dist_release macro
  143. * Sat Mar 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-0vl1
  144. - new upstream release
  145. * Sun Nov 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-0vl1
  146. - new upstream release
  147. - changed Group to System Environment/Libraries
  148. * Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
  149. - new upstream release
  150. * Mon Mar 28 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl1
  151. - new upstream release
  152. - fix dependencies
  153. - add BuildRequires: libgpg-error-devel >= 0.5
  154. - add Requires: libgpg-error
  155. - add Requires: libgpg-error-devel for devel package
  156. * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  157. - new upstream release
  158. * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  159. - initial build