seahorse-plugins-vl.spec 8.8 KB

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