libgpg-error-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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.37
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPL
  9. URL: https://www.gnupg.org/related_software/libgpg-error/index.html
  10. Source0: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
  11. Source1: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: iwaim
  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: Development/Libraries
  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 Environment/Libraries
  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: Development/Libraries
  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. %prep
  51. %setup -q
  52. %build
  53. %configure --disable-static
  54. make %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. %makeinstall
  58. # remove unneeded files
  59. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  60. rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp
  61. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  62. %find_lang %{name}
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post -p /sbin/ldconfig
  66. %postun -p /sbin/ldconfig
  67. %post devel
  68. /sbin/install-info %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || :
  69. %preun devel
  70. if [ $1 -eq 0 ]; then
  71. /sbin/install-info --delete %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || :
  72. fi
  73. %post -n compat32-%{name} -p /sbin/ldconfig
  74. %postun -n compat32-%{name} -p /sbin/ldconfig
  75. %files -f %{name}.lang
  76. %defattr(-,root,root)
  77. %license COPYING COPYING.LIB
  78. %doc AUTHORS README INSTALL NEWS ChangeLog
  79. %{_bindir}/gpg-error
  80. %{_libdir}/libgpg-error.so.*
  81. %dir %{_datadir}/libgpg-error
  82. %{_datadir}/libgpg-error/errorref.txt
  83. %files devel
  84. %defattr(-,root,root)
  85. %{_bindir}/gpg-error-config
  86. %{_bindir}/gpgrt-config
  87. %{_bindir}/yat2m
  88. %{_libdir}/libgpg-error.so
  89. %{_libdir}/pkgconfig/gpg-error.pc
  90. %{_includedir}/gpg-error.h
  91. %{_includedir}/gpgrt.h
  92. %{_datadir}/aclocal/gpg-error.m4
  93. %{_datadir}/aclocal/gpgrt.m4
  94. %{_infodir}/gpgrt.info*
  95. %{_mandir}/man1/gpgrt-config.1*
  96. # compat32
  97. %if %{build_compat32}
  98. %files -n compat32-%{name}
  99. %defattr(-,root,root)
  100. %{_libdir}/libgpg-error.so.*
  101. %files -n compat32-%{name}-devel
  102. %defattr(-,root,root)
  103. %{_libdir}/libgpg-error.so
  104. %endif
  105. %changelog
  106. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.37-1
  107. - updated to 1.37.
  108. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
  109. - updated to 1.36.
  110. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
  111. - updated to 1.27.
  112. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
  113. - update to 1.26
  114. - add errorref.txt
  115. - update URL tag
  116. - add Packager tag
  117. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22-1
  118. - new upstream release
  119. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1
  120. - new upstream release
  121. * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1
  122. - new upstream release
  123. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
  124. - new upstream release
  125. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1
  126. - new upstream release
  127. - added --disable-static to %%configure
  128. - built with new toolchain
  129. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
  130. - added compat32 package for x86_64 arch support
  131. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
  132. - spec in utf-8
  133. - remove static lib
  134. * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
  135. - new upstream release
  136. - used _dist_release macro
  137. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
  138. - new upstream release
  139. - add Vendor/Distribution tag
  140. * Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
  141. - new upstream release
  142. * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
  143. - initial build for Vine Linux
  144. * Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
  145. - update to 1.0
  146. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  147. - rebuilt
  148. * Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
  149. - adapt upstream specfile