gpgme-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. %define _gnupg_ver 1.3.0
  2. %define _libgpg_error_ver 1.4
  3. Summary: GPGME - GnuPG Made Easy
  4. Summary(ja): GPGME - GnuPG Made Easy
  5. Name: gpgme
  6. Version: 1.1.4
  7. Release: 2%{?_dist_release}
  8. License: LGPL
  9. Group: System Environment/Libraries
  10. Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
  11. URL: http://www.gnupg.org/related_software/gpgme/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. PreReq: ldconfig
  14. Requires: gnupg >= %{_gnupg_ver}, libgpg-error >= %{_libgpg_error_ver}
  15. BuildRequires: gnupg >= %{_gnupg_ver}
  16. BuildRequires: libgpg-error-devel >= %{_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. PreReq: install-info
  38. Requires: %{name} = %{version}, libgpg-error-devel >= 0.5
  39. Obsoletes: %{name} < 0.3.16-0vl2, gpgme10-devel
  40. Provides: gpgme10-devel
  41. %description devel
  42. GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
  43. for applications.
  44. Install this package if you want to develop applications that will use the
  45. gpgme library.
  46. %description -l ja devel
  47. GnuPG Made Easy (GPGME) は、アプリケーションがより簡単に GnuPG にアクセスでき
  48. るように設計されたライブラリです。
  49. GPGME ライブラリを使用するアプリケーションを開発するのであれば、このパッケー
  50. ジをインストールしてください。
  51. %prep
  52. %setup -q
  53. %build
  54. %configure --without-gpgsm
  55. %__make
  56. %install
  57. %__rm -rf %{buildroot}
  58. %{makeinstall}
  59. # remove unneeded files
  60. %__rm -rf %{buildroot}%{_datadir}/common-lisp
  61. %__rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  62. %clean
  63. %__rm -rf %{buildroot}
  64. %post
  65. /sbin/ldconfig
  66. %postun
  67. /sbin/ldconfig
  68. %triggerun -- %{name} < 0.3.16-0vl2
  69. /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
  70. %post devel
  71. /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
  72. %preun devel
  73. if [ "$1" = 0 ] ; then
  74. /sbin/install-info --delete %{_infodir}/gpgme.info.gz %{_infodir}/dir
  75. fi
  76. %triggerpostun devel -- %{name} < 0.3.16-0vl2, gpgme10-devel
  77. /sbin/install-info %{_infodir}/gpgme.info.gz %{_infodir}/dir
  78. %files
  79. %defattr(-,root,root)
  80. %doc AUTHORS COPYING* ChangeLog INSTALL NEWS README THANKS TODO
  81. %{_libdir}/libgpgme*.so.*
  82. %files devel
  83. %defattr(-,root,root)
  84. %{_bindir}/gpgme-config
  85. %{_libdir}/libgpgme*.so
  86. %{_datadir}/aclocal/gpgme.m4
  87. %{_includedir}/*
  88. %{_infodir}/*
  89. %changelog
  90. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-2vl5
  91. - removed *.la
  92. - spec in utf-8
  93. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.4-1vl5
  94. - applied new versioning policy
  95. * Fri Mar 09 2007 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.1.4-0vl1
  96. - upstream release
  97. - add new macros: %%_gnupg_ver, %%_libgpg_error_ver
  98. - update %%_gnupg_ver to 1.3.0
  99. - update %%_libgpg_error_ver to 1.4
  100. * Tue Sep 27 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.3-0vl1
  101. - upstream release
  102. * Sat Mar 12 2005 KAZUKI SHIMURA <kazukipma.ccnw.ne.jp> 1.0.2-0vl3
  103. - add Obsoletes/Provides: gpgme10{,-devel}
  104. * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl2
  105. - fix spec file's encoding from iso-2022-jp to euc-jp
  106. - add PreReq: ldconfig
  107. - add PreReq: install-info (devel)
  108. - change group to System Environment/Libraries (main)
  109. - add poor Japanese description
  110. * Tue Feb 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.2-0vl1
  111. - upstream release
  112. - change license from GPL to LGPL
  113. - update {Build,}Requires for GnuPG (>= 1.2.2)
  114. - add (Build)Requires: libgpg-error(-devel) >= 0.5
  115. - add docs
  116. - run ldconfig at post/postun
  117. - separate devel package
  118. - Requires: libgpg-error-devel
  119. - Obsoletes: gpgme <= 0.3.16
  120. * Sun Apr 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.16-0vl1
  121. - update to 0.3.16
  122. - s/Copyright/License/
  123. - update URL
  124. * Fri Mar 7 2003 IWAI Masaharu <iwai@alib.jp> 0.3.15-0vl1
  125. - update to 0.3.15
  126. - update {Build,}Requires for GnuPG
  127. * Mon Sep 23 2002 IWAI Masaharu <iwai@alib.jp> 0.3.11-0vl1
  128. - update to 0.3.11
  129. - added {Build,}Requires: gnupg = 1.0.7
  130. - added info files
  131. - added %%post and %%preun section for info files
  132. - fixed %%install section (executing rm command)
  133. * Thu May 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
  134. - initial release