seahorse-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. Summary: A GNOME2 frontend for GnuPG
  2. Summary(ja): GnuPG の GNOME2 フロントエンド
  3. Name: seahorse
  4. Version: 2.30.1
  5. Release: 5%{?_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.30/%{name}-%{version}.tar.bz2
  10. # Remove next line when upstream adopt Source1
  11. Source1: seahorse.help.Makefile.am
  12. # Remove next line when upstream adopt Source2
  13. Source2: seahorse.help.master.ja.po
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libgnome-devel >= 2.30.0
  16. BuildRequires: libgnomeui-devel
  17. BuildRequires: GConf2-devel
  18. BuildRequires: libglade2-devel
  19. BuildRequires: gtk2-devel >= 2.10.0
  20. BuildRequires: gnupg >= 1.2.4
  21. BuildRequires: gpgme-devel >= 1.0.0
  22. BuildRequires: openldap-devel
  23. BuildRequires: libsoup-devel >= 2.30.0
  24. BuildRequires: nautilus >= 2.9.0
  25. BuildRequires: libgnome-keyring-devel >= 2.30.0
  26. BuildRequires: avahi-glib-devel >= 0.6
  27. BuildRequires: dbus-glib-devel >= 0.35
  28. BuildRequires: libnotify-devel
  29. BuildRequires: openssh
  30. BuildRequires: openssh-clients
  31. BuildRequires: gnome-doc-utils >= 0.3.2
  32. BuildRequires: libSM-devel
  33. BuildRequires: docbook-dtds
  34. Requires(post): GConf2, scrollkeeper
  35. Requires(pre): GConf2
  36. Requires(preun): GConf2
  37. Requires(postun): scrollkeeper
  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. # Remove next line when upstream adopt Source1
  63. cp -f %{SOURCE1} help/Makefile.am
  64. # Remove next 2 lines when upstream adopt Source2
  65. mkdir help/ja
  66. cp -f %{SOURCE2} help/ja/ja.po
  67. %build
  68. # Remove next line when upstream adopt Source2
  69. autoreconf
  70. %configure \
  71. --disable-schemas-install \
  72. --disable-update-mime-database \
  73. --disable-static
  74. make %{?_smp_mflags}
  75. %install
  76. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  77. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  78. make install DESTDIR=$RPM_BUILD_ROOT
  79. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  80. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  81. %find_lang %{name}
  82. %clean
  83. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  84. %post
  85. /sbin/ldconfig
  86. %{_bindir}/scrollkeeper-update -q ||:
  87. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  88. gconftool-2 --makefile-install-rule \
  89. %{_sysconfdir}/gconf/schemas/seahorse.schemas > /dev/null ||:
  90. %pre
  91. if [ "$1" -gt 1 ]; then
  92. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  93. gconftool-2 --makefile-uninstall-rule \
  94. %{_sysconfdir}/gconf/schemas/seahorse.schemas > /dev/null ||:
  95. fi
  96. %preun
  97. if [ "$1" -eq 0 ]; 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. %postun
  103. /sbin/ldconfig
  104. %{_bindir}/scrollkeeper-update -q ||:
  105. %files -f %{name}.lang
  106. %defattr(-,root,root)
  107. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  108. ## %{_sysconfdir}/xdg/autostart/*.desktop
  109. %{_sysconfdir}/gconf/schemas/*
  110. %{_bindir}/seahorse
  111. %{_bindir}/seahorse-daemon
  112. %{_libdir}/lib*.so.*
  113. %{_libdir}/seahorse
  114. %{_datadir}/applications/*.desktop
  115. %{_datadir}/dbus-1/services/*
  116. %{_datadir}/gnome/help/*
  117. %{_datadir}/omf/*
  118. %{_datadir}/icons/*
  119. %{_datadir}/seahorse
  120. %{_datadir}/pixmaps/*
  121. %{_mandir}/man1/*
  122. %files devel
  123. %defattr(-,root,root)
  124. %{_includedir}/libcryptui
  125. %{_libdir}/lib*.so
  126. %{_libdir}/pkgconfig/*.pc
  127. %{_datadir}/gtk-doc/html/libcryptui
  128. %{_datadir}/gtk-doc/html/libseahorse
  129. %changelog
  130. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-5
  131. - rebuild with rpm-4.8.1 for pkg-config file
  132. * Tue Aug 03 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-4
  133. - update Source2
  134. * Wed Jun 16 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.30.1-3
  135. - add Source1-2 for japanese help.
  136. - add autoconf to BR for japanese help.
  137. * Sat Jun 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  138. - add BuildRequires: openssh-clients
  139. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  140. - new upstream release
  141. * Thu Apr 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  142. - new upstream release
  143. * Mon Mar 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
  144. - new upstream release
  145. - add BuildRequires: gnome-doc-utils >= 0.3.2, libSM-devel, docbook-dtds
  146. * Thu Apr 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-1
  147. - new upstream release
  148. - built with openldap-2.4.11
  149. - spec in UTF-8
  150. - made devel subpackage
  151. * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  152. - new upstream release
  153. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.2-0vl2
  154. - rebuild with gnutls-1.4.1
  155. * Sat Sep 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8.2-0vl1
  156. - new upstream release
  157. - enable LDAP support
  158. - add --disable-update-mime-database option to %%configure
  159. - update Makefile.patch (patch0)
  160. - update dependencies
  161. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8-0vl1
  162. - new upstream release
  163. - drop obsolete gedit.patch (patch1)
  164. - remove unneeded files
  165. * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.9-0vl1
  166. - new upstream release
  167. - dropped SOURCE1 (merged into source)
  168. - added Patch1 for building with gedit 2.12
  169. - rebuild with libsoup 2.2.6.1
  170. * Fri May 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.8-0vl2
  171. - add BuildRequires: libsoup >= 2.2 for HKP keyserver support
  172. * Thu May 12 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.8-0vl1
  173. - upstream release
  174. - update ja.po, Makefile.patch
  175. - update files list
  176. * Sun Mar 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.7.6-0vl1
  177. - initial build for Vine Linux
  178. - update ja.po
  179. * Wed Oct 26 2004 Nate Nielsen <nielsen@memberwebs.com>
  180. - Remove *.a and *.la from RPM_BUILD_ROOT
  181. - Remove updated mime database from RPM_BUILD_ROOT
  182. * Wed Oct 13 2004 Nate Nielsen <nielsen@memberwebs.com>
  183. - Added new mime info
  184. * Tue Oct 12 2004 Nate Nielsen <nielsen@memberwebs.com>
  185. - Added the gedit plugin to the default manifest
  186. * Fri May 02 2003 Yanko Kaneti <yaneti@declera.com>
  187. - Add some new files to the manifest
  188. * Wed Jan 15 2002 Jean Schurger <yshark@schurger.org>
  189. - Scrollkeeper stuff
  190. - locales install by %find_lang
  191. - secure use of rm -rf
  192. * Tue Jan 14 2002 Yanko Kaneti <yaneti@declera.com>
  193. - First spec