gpgme-vl.spec 5.3 KB

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