seahorse-vl.spec 7.8 KB

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