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