gpgme-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. %define _gnupg_ver 1.4.0
  2. %define _libgpg_error_ver 1.4
  3. %define _unpackaged_files_terminate_build 1
  4. Name: gpgme
  5. Summary: GPGME - GnuPG Made Easy
  6. Summary(ja): GPGME - GnuPG Made Easy
  7. Version: 1.12.0
  8. Release: 1%{?_dist_release}
  9. License: LGPL
  10. Group: System Environment/Libraries
  11. URL: http://www.gnupg.org/related_software/gpgme/
  12. Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gnupg >= %{_gnupg_ver}
  15. BuildRequires: libgpg-error-devel >= %{_libgpg_error_ver}
  16. BuildRequires: libassuan-devel >= 2.0.2
  17. Requires: gnupg >= %{_gnupg_ver}
  18. Requires: libgpg-error >= %{_libgpg_error_ver}
  19. Obsoletes: gpgme10
  20. Provides: gpgme10
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
  25. for applications. It provides a High-Level Crypto API for encryption,
  26. decryption, signing, signature verification and key management. Currently it
  27. uses GnuPG as it's backend but the API isn't restricted to this engine; in
  28. fact it is planned to add other backends to it.
  29. %description -l ja
  30. GnuPG Made Easy (GPGME) は、アプリケーションがより簡単に GnuPG にアクセスでき
  31. るように設計されたライブラリです。暗号化や復号、署名、署名の検証、鍵の管理の
  32. ための高レベルの暗号 API を提供します。
  33. 現在のところ、バックエンドとして GnuPG を使用しますが、API はこのエンジンに限
  34. 定されません。実際、他のバックエンドを追加することが計画されています。
  35. %package devel
  36. Summary: GnuPG Made Easy (GPGME) Header files and libraries for development
  37. Summary(ja): GnuPG Made Easy (GPGME) 開発用ヘッダーファイル・ライブラリ
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}
  40. Requires: libgpg-error-devel >= 0.5
  41. Requires: libassuan-devel >= 2.0.2
  42. Requires(post): install-info
  43. Requires(preun): install-info
  44. Obsoletes: %{name} < 0.3.16-0vl2
  45. Obsoletes: gpgme10-devel
  46. Provides: gpgme10-devel
  47. %description devel
  48. GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
  49. for applications.
  50. Install this package if you want to develop applications that will use the
  51. gpgme library.
  52. %description -l ja devel
  53. GnuPG Made Easy (GPGME) は、アプリケーションがより簡単に GnuPG にアクセスでき
  54. るように設計されたライブラリです。
  55. GPGME ライブラリを使用するアプリケーションを開発するのであれば、このパッケー
  56. ジをインストールしてください。
  57. %prep
  58. %setup -q
  59. %build
  60. %configure --disable-gpgsm-test
  61. %__make
  62. %install
  63. %__rm -rf %{buildroot}
  64. %{makeinstall}
  65. # remove unneeded files
  66. %__rm -rf %{buildroot}%{_datadir}/common-lisp
  67. %__rm -f %{buildroot}%{_libdir}/*.la
  68. %__rm -f %{buildroot}%{_infodir}/dir
  69. %__rm -rf %{buildroot}%{_libdir}/python*
  70. %clean
  71. %__rm -rf %{buildroot}
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %triggerun -- %{name} < 0.3.16-0vl2
  75. /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
  76. %post devel
  77. /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
  78. %preun devel
  79. if [ "$1" = 0 ] ; then
  80. /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
  81. fi
  82. %triggerpostun devel -- %{name} < 0.3.16-0vl2, gpgme10-devel
  83. /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
  84. %files
  85. %defattr(-,root,root)
  86. %doc AUTHORS COPYING* ChangeLog INSTALL NEWS README THANKS TODO
  87. %{_libdir}/libgpgme*.so.*
  88. %files devel
  89. %defattr(-,root,root)
  90. %{_bindir}/gpgme-config
  91. %{_bindir}/gpgme-json
  92. %{_bindir}/gpgme-tool
  93. %{_libdir}/libgpgme*.so
  94. %{_libdir}/cmake/*
  95. %{_datadir}/aclocal/gpgme.m4
  96. %{_includedir}/*
  97. %{_infodir}/*
  98. %changelog
  99. * Mon Nov 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.0-1
  100. - new upstream release.
  101. * Fri Jul 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.3-1
  102. - new upstream release.
  103. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
  104. - new upstream release
  105. - add BuildRequires: libassuan-devel >= 2
  106. - add Requires: libassuan-devel >= 2 for devel subpackage
  107. - update GnuPG min version
  108. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.8-1
  109. - new upstream release
  110. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-2vl5
  111. - removed *.la
  112. - spec in utf-8
  113. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-1vl5
  114. - applied new versioning policy
  115. * Fri Mar 09 2007 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.1.4-0vl1
  116. - upstream release
  117. - add new macros: %%_gnupg_ver, %%_libgpg_error_ver
  118. - update %%_gnupg_ver to 1.3.0
  119. - update %%_libgpg_error_ver to 1.4
  120. * Tue Sep 27 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.3-0vl1
  121. - upstream release
  122. * Sat Mar 12 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.2-0vl3
  123. - add Obsoletes/Provides: gpgme10{,-devel}
  124. * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl2
  125. - fix spec file's encoding from iso-2022-jp to euc-jp
  126. - add PreReq: ldconfig
  127. - add PreReq: install-info (devel)
  128. - change group to System Environment/Libraries (main)
  129. - add poor Japanese description
  130. * Tue Feb 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl1
  131. - upstream release
  132. - change license from GPL to LGPL
  133. - update {Build,}Requires for GnuPG (>= 1.2.2)
  134. - add (Build)Requires: libgpg-error(-devel) >= 0.5
  135. - add docs
  136. - run ldconfig at post/postun
  137. - separate devel package
  138. - Requires: libgpg-error-devel
  139. - Obsoletes: gpgme <= 0.3.16
  140. * Sun Apr 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.16-0vl1
  141. - update to 0.3.16
  142. - s/Copyright/License/
  143. - update URL
  144. * Fri Mar 7 2003 IWAI Masaharu <iwai@alib.jp> 0.3.15-0vl1
  145. - update to 0.3.15
  146. - update {Build,}Requires for GnuPG
  147. * Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 0.3.11-0vl1
  148. - update to 0.3.11
  149. - added {Build,}Requires: gnupg = 1.0.7
  150. - added info files
  151. - added %%post and %%preun section for info files
  152. - fixed %%install section (executing rm command)
  153. * Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
  154. - initial release