libgpg-error-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: common error codes for GnuPG related projects
  3. Summary(ja): GnuPG 関連プロジェクトで共通のエラーコード
  4. Name: libgpg-error
  5. Version: 1.51
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: iwaim
  11. License: LGPL
  12. URL: https://www.gnupg.org/related_software/libgpg-error/index.html
  13. Source0: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
  14. Source1: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. %description
  17. This is a library that defines common error values for all GnuPG
  18. components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
  19. pinentry, SmartCard Daemon and possibly more in the future.
  20. %package devel
  21. Summary: Development files for the %{name} package
  22. Summary(ja): %{name} パッケージの開発用ファイル
  23. Group: programming
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. This is a library that defines common error values for all GnuPG
  27. components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
  28. pinentry, SmartCard Daemon and possibly more in the future. This package
  29. contains files necessary to develop applications using libgpg-error.
  30. %package -n compat32-%{name}
  31. Summary: common error codes for GnuPG related projects
  32. Summary(ja): GnuPG 関連プロジェクトで共通のエラーコード
  33. Group: system,legacy
  34. Requires: %{name} = %{version}-%{release}
  35. %description -n compat32-%{name}
  36. This is a library that defines common error values for all GnuPG
  37. components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
  38. pinentry, SmartCard Daemon and possibly more in the future.
  39. %package -n compat32-%{name}-devel
  40. Summary: Development files for the %{name} package
  41. Summary(ja): %{name} パッケージの開発用ファイル
  42. Group: programming,legacy
  43. Requires: compat32-%{name} = %{version}-%{release}
  44. Requires: %{name}-devel = %{version}-%{release}
  45. %description -n compat32-%{name}-devel
  46. This is a library that defines common error values for all GnuPG
  47. components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
  48. pinentry, SmartCard Daemon and possibly more in the future. This package
  49. contains files necessary to develop applications using libgpg-error.
  50. %debug_package
  51. %prep
  52. %setup -q
  53. # Modify configure to drop rpath for /usr/lib64
  54. sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure
  55. %build
  56. %configure \
  57. --disable-static \
  58. --disable-rpath \
  59. --enable-install-gpg-error-config
  60. make %{?_smp_mflags}
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. %makeinstall
  64. # remove unneeded files
  65. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  66. rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp
  67. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  68. %find_lang %{name}
  69. %check
  70. make check
  71. %files -f %{name}.lang
  72. %license COPYING COPYING.LIB
  73. %doc AUTHORS README INSTALL NEWS ChangeLog
  74. %{_bindir}/gpg-error
  75. %{_libdir}/libgpg-error.so.*
  76. %dir %{_datadir}/libgpg-error
  77. %{_datadir}/libgpg-error/errorref.txt
  78. %files devel
  79. %{_bindir}/gpg-error-config
  80. %{_bindir}/gpgrt-config
  81. %{_bindir}/yat2m
  82. %{_libdir}/libgpg-error.so
  83. %{_libdir}/pkgconfig/gpg-error.pc
  84. %{_includedir}/gpg-error.h
  85. %{_includedir}/gpgrt.h
  86. %{_datadir}/aclocal/gpg-error.m4
  87. %{_datadir}/aclocal/gpgrt.m4
  88. %{_infodir}/gpgrt.info*
  89. %{_mandir}/man1/gpg-error-config.*
  90. %{_mandir}/man1/gpgrt-config.*
  91. # compat32
  92. %if %{build_compat32}
  93. %files -n compat32-%{name}
  94. %{_libdir}/libgpg-error.so.*
  95. %files -n compat32-%{name}-devel
  96. %{_libdir}/libgpg-error.so
  97. %endif
  98. %changelog
  99. * Wed Feb 12 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.51-1
  100. - updated to 1.51.
  101. * Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.50-1
  102. - updated to 1.50.
  103. * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.47-1
  104. - updated to 1.47.
  105. * Thu Jan 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.46-1
  106. - updated to 1.46.
  107. * Thu Jul 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.45-1
  108. - updated to 1.45.
  109. - dropped install-info scriptlets.
  110. * Mon Mar 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.42-1
  111. - updated to 1.42.
  112. - dropped ldconfig scriptlets.
  113. * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.41-1
  114. - updated to 1.41.
  115. * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.39-1
  116. - updated to 1.39.
  117. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.37-1
  118. - updated to 1.37.
  119. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
  120. - updated to 1.36.
  121. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
  122. - updated to 1.27.
  123. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
  124. - update to 1.26
  125. - add errorref.txt
  126. - update URL tag
  127. - add Packager tag
  128. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22-1
  129. - new upstream release
  130. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1
  131. - new upstream release
  132. * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1
  133. - new upstream release
  134. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
  135. - new upstream release
  136. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1
  137. - new upstream release
  138. - added --disable-static to %%configure
  139. - built with new toolchain
  140. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
  141. - added compat32 package for x86_64 arch support
  142. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
  143. - spec in utf-8
  144. - remove static lib
  145. * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
  146. - new upstream release
  147. - used _dist_release macro
  148. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
  149. - new upstream release
  150. - add Vendor/Distribution tag
  151. * Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
  152. - new upstream release
  153. * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  154. - initial build for Vine Linux
  155. * Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
  156. - update to 1.0
  157. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  158. - rebuilt
  159. * Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
  160. - adapt upstream specfile