gpgme-vl.spec 5.6 KB

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