gpgme-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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.3.0
  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
  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
  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. * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
  95. - new upstream release
  96. - add BuildRequires: libassuan-devel >= 2
  97. - add Requires: libassuan-devel >= 2 for devel subpackage
  98. - update GnuPG min version
  99. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.8-1
  100. - new upstream release
  101. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-2vl5
  102. - removed *.la
  103. - spec in utf-8
  104. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-1vl5
  105. - applied new versioning policy
  106. * Fri Mar 09 2007 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.1.4-0vl1
  107. - upstream release
  108. - add new macros: %%_gnupg_ver, %%_libgpg_error_ver
  109. - update %%_gnupg_ver to 1.3.0
  110. - update %%_libgpg_error_ver to 1.4
  111. * Tue Sep 27 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.3-0vl1
  112. - upstream release
  113. * Sat Mar 12 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.2-0vl3
  114. - add Obsoletes/Provides: gpgme10{,-devel}
  115. * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl2
  116. - fix spec file's encoding from iso-2022-jp to euc-jp
  117. - add PreReq: ldconfig
  118. - add PreReq: install-info (devel)
  119. - change group to System Environment/Libraries (main)
  120. - add poor Japanese description
  121. * Tue Feb 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl1
  122. - upstream release
  123. - change license from GPL to LGPL
  124. - update {Build,}Requires for GnuPG (>= 1.2.2)
  125. - add (Build)Requires: libgpg-error(-devel) >= 0.5
  126. - add docs
  127. - run ldconfig at post/postun
  128. - separate devel package
  129. - Requires: libgpg-error-devel
  130. - Obsoletes: gpgme <= 0.3.16
  131. * Sun Apr 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.16-0vl1
  132. - update to 0.3.16
  133. - s/Copyright/License/
  134. - update URL
  135. * Fri Mar 7 2003 IWAI Masaharu <iwai@alib.jp> 0.3.15-0vl1
  136. - update to 0.3.15
  137. - update {Build,}Requires for GnuPG
  138. * Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 0.3.11-0vl1
  139. - update to 0.3.11
  140. - added {Build,}Requires: gnupg = 1.0.7
  141. - added info files
  142. - added %%post and %%preun section for info files
  143. - fixed %%install section (executing rm command)
  144. * Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
  145. - initial release