seahorse-plugins-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. # Basic Information
  2. Name: seahorse-plugins
  3. Version: 2.30.1
  4. Release: 2%{?_dist_release}
  5. License: GPL-2
  6. Group: Applications/Accessories
  7. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: plugins and utilities for encryption in GNOME
  13. Summary(ja): GNOMEにおける暗号化のためのプラグインとユーティリティ
  14. # Dependency
  15. Requires: GConf2
  16. Requires: glib2
  17. Requires: gtk2 >= 2.18.0
  18. Requires: gnupg
  19. Requires: gpgme
  20. Requires: libgnome-keyring
  21. Requires: dbus-glib
  22. Requires: libnotify
  23. Requires: evolution-data-server
  24. Requires(post,postun): shared-mime-info
  25. BuildRequires: gnome-doc-utils
  26. BuildRequires: pkgconfig
  27. BuildRequires: GConf2-devel
  28. BuildRequires: glib2-devel
  29. BuildRequires: gtk2-devel >= 2.18.0
  30. BuildRequires: gnupg
  31. BuildRequires: gpgme-devel
  32. BuildRequires: libgnome-keyring-devel
  33. BuildRequires: dbus-glib-devel
  34. BuildRequires: seahorse-devel
  35. BuildRequires: libnotify-devel
  36. BuildRequires: evolution-data-server
  37. %description
  38. Seahorse is integrated into the GNOME Desktop Environment and allows users to
  39. perform operations from their regular applications, like nautilus or gedit.
  40. The effective use of this package, please install the following packages.
  41. * seahorse-plugins-applet
  42. * seahorse-plugins-gedit
  43. * seahorse-plugins-nautilus
  44. %description -l ja
  45. SeahorseがGNOMEデスクトップ環境に統合され、Nautilusやgeditといったユーザが
  46. よく使うアプリケーションから操作を実行することができます。
  47. このパッケージの有効利用には、以下のパッケージをインストールしてください。
  48. * seahorse-plugins-applet
  49. * seahorse-plugins-gedit
  50. * seahorse-plugins-nautilus
  51. #
  52. # sub package: applet
  53. #
  54. %package applet
  55. Summary: Applet for GnomePanel to encrypt/decrypt/sign text easily
  56. Summary(ja): テキストを簡単に暗号化/復号化/署名するためのGNOMEパネルアプレット
  57. Group: Applications/Accessories
  58. Requires: %{name} = %{version}-%{release}
  59. Requires: libbonoboui
  60. Requires: gnome-panel-libs
  61. BuildRequires: libbonoboui-devel
  62. BuildRequires: gnome-panel-devel
  63. %description applet
  64. Encryption Applet performs the various encryption operations using standard
  65. OpenPGP methods. You will need to have already created an OpenPGP key with
  66. Encryption Key Manager and imported the public keys of those you want to
  67. encrypt to or verify signatures of.
  68. %description applet -l ja
  69. 暗号化アプレットは、標準的なOpenPGP手法を使って様々な暗号化の操作を行えます。
  70. あなたは暗号鍵マネージャによってOpenPGP鍵を既に作成し、暗号化や署名の検証を
  71. 行いたい相手の公開鍵をインポートしている必要があります。
  72. #
  73. # sub package: gedit
  74. #
  75. %package gedit
  76. Summary: Adds functionality to Gedit to encrypt/decrypt/sign text
  77. Summary: geditにテキストを暗号化/復号化/署名するための機能を追加します。
  78. Group: Applications/Accessories
  79. Requires: %{name} = %{version}-%{release}
  80. Requires: gedit
  81. BuildRequires: gedit-devel
  82. %description gedit
  83. The Text Encryption plugin adds functionality to Gedit, the GNOME text
  84. editor, to encrypt/decrypt/sign text
  85. %description gedit -l ja
  86. テキスト暗号化プラグインは、GNOMEテキストエディタGeditにテキストを
  87. 暗号化/復号化/署名するための機能を追加します。
  88. #
  89. # sub package: nautilus
  90. #
  91. %package nautilus
  92. Summary: Contains code for calling seahorse-tool from Nautilus
  93. Summary(ja): Nautilusから、seahorse-toolを呼ぶためのコードが含まれています。
  94. Group: Applications/Accessories
  95. Requires: %{name} = %{version}-%{release}
  96. Requires: nautilus
  97. BuildRequires: nautilus-devel
  98. %description nautilus
  99. Encryption and Keyrings integrates with Nautilus. You can encrypt, decrypt,
  100. sign and verify files as well as import public keys from the file manager
  101. window without launching Encryption and Keyrings.
  102. %description nautilus -l ja
  103. パスワードと暗号化が、Nautilusに統合されます。パスワードと暗号化を起動する
  104. ことなく、ファイルマネージャからファイルの暗号化、復号化、署名及び公開鍵の
  105. インポートを行うことができます。
  106. #
  107. # script section
  108. #
  109. %prep
  110. %setup -q
  111. %build
  112. %configure --disable-update-mime-database --disable-epiphany
  113. %{__make} %{?_smp_mflags}
  114. %install
  115. %{__rm} -rf ${RPM_BUILD_ROOT}
  116. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  117. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  118. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  119. %find_lang %{name}
  120. # treat not install file
  121. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gedit-2/plugins/libseahorse-pgp.a
  122. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gedit-2/plugins/libseahorse-pgp.la
  123. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.a
  124. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.la
  125. %clean
  126. %{__rm} -rf ${RPM_BUILD_ROOT}
  127. %post
  128. /sbin/ldconfig
  129. %{_bindir}/scrollkeeper-update -q ||:
  130. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  131. gconftool-2 --makefile-install-rule \
  132. %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
  133. update-mime-database %{_datadir}/mime/
  134. %post gedit
  135. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  136. gconftool-2 --makefile-install-rule \
  137. %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
  138. %pre
  139. if [ "$1" -gt 1 ]; then
  140. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  141. gconftool-2 --makefile-uninstall-rule \
  142. %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
  143. fi
  144. %pre gedit
  145. if [ "$1" -gt 1 ]; then
  146. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  147. gconftool-2 --makefile-uninstall-rule \
  148. %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
  149. fi
  150. %preun
  151. if [ "$1" -eq 0 ]; then
  152. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  153. gconftool-2 --makefile-uninstall-rule \
  154. %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
  155. fi
  156. %preun gedit
  157. if [ "$1" -eq 0 ]; then
  158. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  159. gconftool-2 --makefile-uninstall-rule \
  160. %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
  161. fi
  162. %postun
  163. /sbin/ldconfig
  164. %{_bindir}/scrollkeeper-update -q ||:
  165. update-mime-database %{_datadir}/mime/
  166. %files -f %{name}.lang
  167. %defattr(-,root,root)
  168. %doc COPYING ChangeLog NEWS README
  169. %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas
  170. %{_bindir}/seahorse-agent
  171. %{_bindir}/seahorse-preferences
  172. %{_bindir}/seahorse-tool
  173. %{_datadir}/applications/seahorse-pgp-encrypted.desktop
  174. %{_datadir}/applications/seahorse-pgp-keys.desktop
  175. %{_datadir}/applications/seahorse-pgp-preferences.desktop
  176. %{_datadir}/applications/seahorse-pgp-signature.desktop
  177. %{_datadir}/gnome/help/seahorse-plugins/
  178. %{_datadir}/man/man1/seahorse-agent.1.gz
  179. %{_datadir}/man/man1/seahorse-tool.1.gz
  180. %{_datadir}/mime/packages/seahorse.xml
  181. %{_datadir}/omf/seahorse-plugins/
  182. %{_datadir}/pixmaps/seahorse-plugins/
  183. %{_datadir}/seahorse-plugins/ui/
  184. %exclude %{_datadir}/seahorse-plugins/ui/seahorse-applet-preferences.xml
  185. %exclude %{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-*.png
  186. %exclude %{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet*.png
  187. %exclude %{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet*.svg
  188. %files applet
  189. %defattr(-, root, root)
  190. %{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
  191. %{_libdir}/seahorse/seahorse-applet
  192. %{_datadir}/gnome-2.0/ui/GNOME_SeahorseApplet.xml
  193. %{_datadir}/gnome/help/seahorse-applet/
  194. %{_datadir}/icons/hicolor/48x48/apps/seahorse-applet.png
  195. %{_datadir}/icons/hicolor/scalable/apps/seahorse-applet.svg
  196. %{_datadir}/omf/seahorse-applet/
  197. %{_datadir}/pixmaps/seahorse-applet.svg
  198. %{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-*.png
  199. %{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet*.png
  200. %{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet*.svg
  201. %{_datadir}/seahorse-plugins/ui/seahorse-applet-preferences.xml
  202. %files gedit
  203. %defattr(-, root, root)
  204. %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas
  205. #%%{_libdir}/gedit-2/plugins/libseahorse-pgp.a
  206. #%%{_libdir}/gedit-2/plugins/libseahorse-pgp.la
  207. %{_libdir}/gedit-2/plugins/libseahorse-pgp.so
  208. %{_libdir}/gedit-2/plugins/seahorse-pgp.gedit-plugin
  209. %files nautilus
  210. %defattr(-, root, root)
  211. #%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.a
  212. #%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.la
  213. %{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.so
  214. %changelog
  215. * Sat Apr 16 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-2
  216. - rebuild with rpm-4.8.1
  217. - update R,BR
  218. * Fri Jun 18 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-1
  219. - initial build for Vine Linux