Browse Source

rpm-4.8.1 でリビルド。
ただし、nautilus がリポジトリに反映された後、再ビルドする。


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3505 ec354946-7b23-47d6-9f5a-488ba84defc7

yasumichi 13 years ago
parent
commit
460b9e8d1b
1 changed files with 143 additions and 117 deletions
  1. 143 117
      s/seahorse-plugins/seahorse-plugins-vl.spec

+ 143 - 117
s/seahorse-plugins/seahorse-plugins-vl.spec

@@ -1,7 +1,7 @@
 # Basic Information
 Name:		seahorse-plugins
 Version:	2.30.1
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	GPL-2
 Group:		Applications/Accessories
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
@@ -20,15 +20,11 @@ Requires:	glib2
 Requires:	gtk2 >= 2.18.0
 Requires:	gnupg
 Requires:	gpgme
-Requires:	nautilus
 Requires:	libgnome-keyring
 Requires:	dbus-glib
-#Requires:	epiphany
-Requires:	gedit
-Requires:	libbonoboui
-Requires:	gnome-panel
 Requires:	libnotify
 Requires:	evolution-data-server
+Requires(post,postun):	shared-mime-info
 
 BuildRequires:	gnome-doc-utils
 BuildRequires:	pkgconfig
@@ -37,26 +33,97 @@ BuildRequires:	glib2-devel
 BuildRequires:	gtk2-devel >= 2.18.0
 BuildRequires:	gnupg
 BuildRequires:	gpgme-devel
-BuildRequires:	nautilus-devel
 BuildRequires:	libgnome-keyring-devel
 BuildRequires:	dbus-glib-devel
 BuildRequires:	seahorse-devel
-BuildRequires:	epiphany
-BuildRequires:	gedit-devel
-BuildRequires:	libbonoboui-devel
-BuildRequires:	gnome-panel
 BuildRequires:	libnotify-devel
 BuildRequires:	evolution-data-server
 
 %description
 Seahorse is integrated into the GNOME Desktop Environment and allows users to 
 perform operations from their regular applications, like nautilus or gedit.
+The effective use of this package, please install the following packages.
+
+* seahorse-plugins-applet
+* seahorse-plugins-gedit
+* seahorse-plugins-nautilus
 
 %description -l ja
-SeahorseがGNOMEデスクトップ環境に統合され、NautilusやgEditといったユーザが
+SeahorseがGNOMEデスクトップ環境に統合され、Nautilusやgeditといったユーザが
 よく使うアプリケーションから操作を実行することができます。
+このパッケージの有効利用には、以下のパッケージをインストールしてください。
+
+* seahorse-plugins-applet
+* seahorse-plugins-gedit
+* seahorse-plugins-nautilus
+
+#
+# sub package: applet
+# 
+%package applet
+Summary:	Applet for GnomePanel  to encrypt/decrypt/sign text easily
+Summary(ja):	テキストを簡単に暗号化/復号化/署名するためのGNOMEパネルアプレット
+Group:		Applications/Accessories
+Requires:       %{name} = %{version}-%{release}
+Requires:	libbonoboui
+Requires:	gnome-panel-libs
+BuildRequires:	libbonoboui-devel
+BuildRequires:	gnome-panel-devel
+
+%description applet
+Encryption Applet performs the various encryption operations using standard
+OpenPGP methods. You will need to have already created an OpenPGP key with
+Encryption Key Manager and imported the public keys of those you want to
+encrypt to or verify signatures of.
+
+%description applet -l ja
+暗号化アプレットは、標準的なOpenPGP手法を使って様々な暗号化の操作を行えます。
+あなたは暗号鍵マネージャによってOpenPGP鍵を既に作成し、暗号化や署名の検証を
+行いたい相手の公開鍵をインポートしている必要があります。
+
+#
+# sub package: gedit
+#
+%package gedit
+Summary:	Adds functionality to Gedit to encrypt/decrypt/sign text
+Summary:	geditにテキストを暗号化/復号化/署名するための機能を追加します。
+Group:		Applications/Accessories
+Requires:       %{name} = %{version}-%{release}
+Requires:	gedit
+BuildRequires:	gedit-devel
+
+%description gedit
+The Text Encryption plugin adds functionality to Gedit, the GNOME text
+editor, to encrypt/decrypt/sign text
 
+%description gedit -l ja
+テキスト暗号化プラグインは、GNOMEテキストエディタGeditにテキストを
+暗号化/復号化/署名するための機能を追加します。
 
+#
+# sub package: nautilus
+#
+%package nautilus
+Summary:	Contains code for calling seahorse-tool from Nautilus
+Summary(ja):	Nautilusから、seahorse-toolを呼ぶためのコードが含まれています。
+Group:		Applications/Accessories
+Requires:       %{name} = %{version}-%{release}
+Requires:	nautilus
+BuildRequires:	nautilus-devel
+
+%description nautilus
+Encryption and Keyrings integrates with Nautilus.  You can encrypt, decrypt,
+sign and verify files as well as import public keys from the file manager
+window without launching Encryption and Keyrings.
+
+%description nautilus -l ja
+パスワードと暗号化が、Nautilusに統合されます。パスワードと暗号化を起動する
+ことなく、ファイルマネージャからファイルの暗号化、復号化、署名及び公開鍵の
+インポートを行うことができます。
+
+#
+# script section
+#
 %prep
 %setup -q
 
@@ -73,6 +140,11 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
 %find_lang %{name}
 
+# treat not install file
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gedit-2/plugins/libseahorse-pgp.a
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gedit-2/plugins/libseahorse-pgp.la
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.a
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.la
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
@@ -81,28 +153,41 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 /sbin/ldconfig
 %{_bindir}/scrollkeeper-update -q ||:
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule \
-    %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
 gconftool-2 --makefile-install-rule \
     %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
 update-mime-database %{_datadir}/mime/
 
+%post gedit
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+    %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
+
 %pre
+if [ "$1" -gt 1 ]; then
+  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+  gconftool-2 --makefile-uninstall-rule \
+      %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
+fi
+
+%pre gedit
 if [ "$1" -gt 1 ]; then
   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
   gconftool-2 --makefile-uninstall-rule \
       %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
+fi
+
+%preun
+if [ "$1" -eq 0 ]; then
+  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
   gconftool-2 --makefile-uninstall-rule \
       %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
 fi
 
-%preun
+%preun gedit
 if [ "$1" -eq 0 ]; then
   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
   gconftool-2 --makefile-uninstall-rule \
       %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas > /dev/null ||:
-  gconftool-2 --makefile-uninstall-rule \
-      %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas > /dev/null ||:
 fi
 
 %postun
@@ -114,120 +199,61 @@ update-mime-database %{_datadir}/mime/
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc COPYING ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas
 %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas
 %{_bindir}/seahorse-agent
 %{_bindir}/seahorse-preferences
 %{_bindir}/seahorse-tool
-%{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
-#%%{_libdir}/gedit-2/plugins/libseahorse-pgp.a
-#%%{_libdir}/gedit-2/plugins/libseahorse-pgp.la
-%{_libdir}/gedit-2/plugins/libseahorse-pgp.so
-%{_libdir}/gedit-2/plugins/seahorse-pgp.gedit-plugin
-#%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.a
-#%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.la
-%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.so
-%{_libdir}/seahorse/seahorse-applet
 %{_datadir}/applications/seahorse-pgp-encrypted.desktop
 %{_datadir}/applications/seahorse-pgp-keys.desktop
 %{_datadir}/applications/seahorse-pgp-preferences.desktop
 %{_datadir}/applications/seahorse-pgp-signature.desktop
-%{_datadir}/gnome-2.0/ui/GNOME_SeahorseApplet.xml
-%{_datadir}/gnome/help/seahorse-applet/C/legal.xml
-%{_datadir}/gnome/help/seahorse-applet/C/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/es/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/fr/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/it/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/oc/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/ru/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/sv/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-applet/vi/seahorse-applet.xml
-%{_datadir}/gnome/help/seahorse-plugins/C/legal.xml
-%{_datadir}/gnome/help/seahorse-plugins/C/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/ca/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/cs/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/de/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/el/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/en_GB/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/es/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/fr/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/it/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/oc/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/ru/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/sv/seahorse-plugins.xml
-%{_datadir}/gnome/help/seahorse-plugins/vi/seahorse-plugins.xml
-%{_datadir}/icons/hicolor/48x48/apps/seahorse-applet.png
-%{_datadir}/icons/hicolor/scalable/apps/seahorse-applet.svg
+%{_datadir}/gnome/help/seahorse-plugins/
 %{_datadir}/man/man1/seahorse-agent.1.gz
 %{_datadir}/man/man1/seahorse-tool.1.gz
 %{_datadir}/mime/packages/seahorse.xml
-%{_datadir}/omf/seahorse-applet/seahorse-applet-C.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-es.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-fr.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-it.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-oc.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-ru.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-sv.omf
-%{_datadir}/omf/seahorse-applet/seahorse-applet-vi.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-C.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-ca.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-cs.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-de.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-el.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-en_GB.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-es.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-fr.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-it.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-oc.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-ru.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-sv.omf
-%{_datadir}/omf/seahorse-plugins/seahorse-plugins-vi.omf
+%{_datadir}/omf/seahorse-plugins/
+%{_datadir}/pixmaps/seahorse-plugins/
+%{_datadir}/seahorse-plugins/ui/
+
+%exclude %{_datadir}/seahorse-plugins/ui/seahorse-applet-preferences.xml
+%exclude %{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-*.png
+%exclude %{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet*.png
+%exclude %{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet*.svg
+
+%files applet
+%defattr(-, root, root)
+%{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
+%{_libdir}/seahorse/seahorse-applet
+%{_datadir}/gnome-2.0/ui/GNOME_SeahorseApplet.xml
+%{_datadir}/gnome/help/seahorse-applet/
+%{_datadir}/icons/hicolor/48x48/apps/seahorse-applet.png
+%{_datadir}/icons/hicolor/scalable/apps/seahorse-applet.svg
+%{_datadir}/omf/seahorse-applet/
 %{_datadir}/pixmaps/seahorse-applet.svg
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-encrypted.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-key.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-signed.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-text.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-unknown.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-key-personal.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-key.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-sign-bad.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-sign-ok.png
-%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-sign.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet-encrypted.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet-key.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet-signed.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet-text.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet-unknown.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-key-personal.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-key.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-sign-bad.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-sign-ok.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-sign-unknown.png
-%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-sign.png
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet-encrypted.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet-key.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet-signed.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet-text.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet-unknown.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-key-personal.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-key-ssh.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-key.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-person.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-share-keys.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-sign-bad.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-sign-ok.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-sign-unknown.svg
-%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-sign.svg
-%{_datadir}/seahorse-plugins/ui/seahorse-agent-cache.xml
+%{_datadir}/pixmaps/seahorse-plugins/22x22/seahorse-applet-*.png
+%{_datadir}/pixmaps/seahorse-plugins/48x48/seahorse-applet*.png
+%{_datadir}/pixmaps/seahorse-plugins/scalable/seahorse-applet*.svg
 %{_datadir}/seahorse-plugins/ui/seahorse-applet-preferences.xml
-%{_datadir}/seahorse-plugins/ui/seahorse-multi-encrypt.xml
-%{_datadir}/seahorse-plugins/ui/seahorse-notify.xml
-%{_datadir}/seahorse-plugins/ui/seahorse-prefs.xml
-%{_datadir}/seahorse-plugins/ui/seahorse-progress.xml
+
+%files gedit
+%defattr(-, root, root)
+%{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas
+#%%{_libdir}/gedit-2/plugins/libseahorse-pgp.a
+#%%{_libdir}/gedit-2/plugins/libseahorse-pgp.la
+%{_libdir}/gedit-2/plugins/libseahorse-pgp.so
+%{_libdir}/gedit-2/plugins/seahorse-pgp.gedit-plugin
+
+%files nautilus
+%defattr(-, root, root)
+#%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.a
+#%%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.la
+%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.so
 
 %changelog
-* Thu Jun 17 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-1
+* Sat Apr 16 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-2
+- rebuild with rpm-4.8.1
+- update R,BR
+
+* Fri Jun 18 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-1
 - initial build for Vine Linux