seahorse-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. Summary: A GNOME2 frontend for GnuPG
  2. Summary(ja): GnuPG の GNOME2 フロントエンド
  3. Name: seahorse
  4. Version: 3.1.4
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: User Interface/Desktops
  8. URL: http://seahorse.sourceforge.net/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/seahorse/3.1/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libgnome-devel >= 2.32.0
  12. BuildRequires: libgnomeui-devel
  13. BuildRequires: GConf2-devel
  14. BuildRequires: gtk3-devel >= 3.0.0
  15. BuildRequires: gnupg >= 1.2.4
  16. BuildRequires: gpgme-devel >= 1.0.0
  17. BuildRequires: openldap-devel
  18. BuildRequires: libsoup-devel >= 2.32.0
  19. BuildRequires: nautilus >= 2.32.0
  20. BuildRequires: libgnome-keyring-devel >= 2.32.0
  21. BuildRequires: gnome-keyring-devel >= 2.29.4
  22. BuildRequires: avahi-glib-devel >= 0.6
  23. BuildRequires: dbus-glib-devel >= 0.88
  24. BuildRequires: libnotify-devel
  25. BuildRequires: openssh
  26. BuildRequires: openssh-clients
  27. BuildRequires: gnome-doc-utils >= 0.3.2
  28. BuildRequires: libSM-devel
  29. BuildRequires: docbook-dtds
  30. BuildRequires: gobject-introspection-devel
  31. BuildRequires: desktop-file-utils
  32. Requires(post): GConf2, scrollkeeper
  33. Requires(pre): GConf2
  34. Requires(preun): GConf2
  35. Requires(postun): scrollkeeper
  36. Obsoletes: seahorse-devel < 3.1.4
  37. Obsoletes: gnome-keyring-manager < 2.21
  38. Provides: gnome-keyring-manager < 2.21
  39. # for Source1
  40. BuildRequires: autoconf
  41. Vendor: Project Vine
  42. Distribution: Vine Linux
  43. %description
  44. Seahorse is a GNOME2 front end for th GNU Privacy Guard (GnuPG).
  45. It is a tool for secure communications and data storage. Data encryption
  46. and digital signature creation can easily be performed through a GUI, and
  47. Key Management operations also can be performed.
  48. %description -l ja
  49. Seahorse は GNU Privacy Guard (GnuPG) の GNOME2 フロントエンドです。
  50. 安全なコミュニケーションとデータ保管のためのツールです。データの暗号化や復号、
  51. デジタル署名の作成・検証を GUI で容易に行うことができます。また、鍵の管理も行
  52. うことができます。
  53. %prep
  54. %setup -q
  55. %build
  56. # Remove next line when upstream adopt Source2
  57. autoreconf
  58. %configure \
  59. --disable-schemas-install \
  60. --disable-update-mime-database \
  61. --disable-static \
  62. --enable-introspection=yes \
  63. --with-gtk=3.0
  64. make %{?_smp_mflags}
  65. %install
  66. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  67. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  68. make install DESTDIR=$RPM_BUILD_ROOT
  69. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  70. desktop-file-install \
  71. --vendor="" --dir=%{buildroot}/%{_datadir}/applications \
  72. --remove-category=Utility \
  73. --remove-category=Security \
  74. --remove-category=GTK \
  75. --remove-category=GNOME \
  76. --add-category=Applications \
  77. --add-category=X-GNOME-PersonalSettings \
  78. --add-category=Settings \
  79. %{buildroot}/%{_datadir}/applications/seahorse.desktop
  80. %find_lang %{name}
  81. %clean
  82. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  83. %post
  84. /sbin/ldconfig
  85. %{_bindir}/scrollkeeper-update -q ||:
  86. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  87. gconftool-2 --makefile-install-rule \
  88. %{_sysconfdir}/gconf/schemas/seahorse.schemas > /dev/null ||:
  89. %pre
  90. if [ "$1" -gt 1 ]; then
  91. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  92. gconftool-2 --makefile-uninstall-rule \
  93. %{_sysconfdir}/gconf/schemas/seahorse.schemas > /dev/null ||:
  94. fi
  95. %preun
  96. if [ "$1" -eq 0 ]; then
  97. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  98. gconftool-2 --makefile-uninstall-rule \
  99. %{_sysconfdir}/gconf/schemas/seahorse.schemas > /dev/null ||:
  100. fi
  101. %postun
  102. /sbin/ldconfig
  103. %{_bindir}/scrollkeeper-update -q ||:
  104. %files -f %{name}.lang
  105. %defattr(-,root,root)
  106. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  107. ## %{_sysconfdir}/xdg/autostart/*.desktop
  108. %{_sysconfdir}/gconf/schemas/*
  109. %{_bindir}/seahorse
  110. %{_libdir}/seahorse
  111. %{_datadir}/applications/*.desktop
  112. %{_datadir}/gnome/help/*
  113. %{_datadir}/omf/*
  114. %{_datadir}/icons/*
  115. %{_datadir}/seahorse
  116. %{_datadir}/pixmaps/*
  117. %{_datadir}/gtk-doc/html/libseahorse
  118. %{_mandir}/man1/*
  119. %changelog
  120. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  121. - new upstream release
  122. - change BuildRequires: gtk3-devel instead of gtk2-devel
  123. - delete -devel sub package
  124. * Mon Jun 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  125. - add BuildRequires: desktop-file-utils, gnome-keyring-devel
  126. - change category of seahorse.desktop
  127. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  128. - new upstream release
  129. - add BuildRequires: gobejct-introspection-devel
  130. - remove BuildRequires: libglade2-devel
  131. - remove SOURCE1 and SOURCE2
  132. - add Obsoletes: gnome-keyring-manager < 2.21
  133. - add Provides: gnome-keyring-manager < 2.21
  134. - add configure option (--enable-introspection=yes)
  135. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-5
  136. - rebuild with rpm-4.8.1 for pkg-config file
  137. * Sun Aug 15 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-5
  138. - update Source2
  139. - fix URI of Source0
  140. * Tue Aug 03 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-4
  141. - update Source2
  142. * Wed Jun 16 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-3
  143. - add Source1-2 for japanese help.
  144. - add autoconf to BR for japanese help.
  145. * Sat Jun 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  146. - add BuildRequires: openssh-clients
  147. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  148. - new upstream release
  149. * Thu Apr 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  150. - new upstream release
  151. * Mon Mar 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  152. - new upstream release
  153. - add BuildRequires: gnome-doc-utils >= 0.3.2, libSM-devel, docbook-dtds
  154. * Thu Apr 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-1
  155. - new upstream release
  156. - built with openldap-2.4.11
  157. - spec in UTF-8
  158. - made devel subpackage
  159. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  160. - new upstream release
  161. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.2-0vl2
  162. - rebuild with gnutls-1.4.1
  163. * Sat Sep 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.2-0vl1
  164. - new upstream release
  165. - enable LDAP support
  166. - add --disable-update-mime-database option to %%configure
  167. - update Makefile.patch (patch0)
  168. - update dependencies
  169. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8-0vl1
  170. - new upstream release
  171. - drop obsolete gedit.patch (patch1)
  172. - remove unneeded files
  173. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.9-0vl1
  174. - new upstream release
  175. - dropped SOURCE1 (merged into source)
  176. - added Patch1 for building with gedit 2.12
  177. - rebuild with libsoup 2.2.6.1
  178. * Fri May 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.8-0vl2
  179. - add BuildRequires: libsoup >= 2.2 for HKP keyserver support
  180. * Thu May 12 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.8-0vl1
  181. - upstream release
  182. - update ja.po, Makefile.patch
  183. - update files list
  184. * Sun Mar 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.6-0vl1
  185. - initial build for Vine Linux
  186. - update ja.po
  187. * Wed Oct 26 2004 Nate Nielsen <nielsen@memberwebs.com>
  188. - Remove *.a and *.la from RPM_BUILD_ROOT
  189. - Remove updated mime database from RPM_BUILD_ROOT
  190. * Wed Oct 13 2004 Nate Nielsen <nielsen@memberwebs.com>
  191. - Added new mime info
  192. * Tue Oct 12 2004 Nate Nielsen <nielsen@memberwebs.com>
  193. - Added the gedit plugin to the default manifest
  194. * Fri May 02 2003 Yanko Kaneti <yaneti@declera.com>
  195. - Add some new files to the manifest
  196. * Wed Jan 15 2002 Jean Schurger <yshark@schurger.org>
  197. - Scrollkeeper stuff
  198. - locales install by %find_lang
  199. - secure use of rm -rf
  200. * Tue Jan 14 2002 Yanko Kaneti <yaneti@declera.com>
  201. - First spec