tomboy-vl.spec 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. %define tomboy_dir %{_prefix}/lib
  2. %define pkgconfigdir %{_datadir}/pkgconfig
  3. Summary: Tomboy is a desktop note-taking application for Linux and Unix.
  4. Summary(ja): Linux 向けのデスクトップ用ノートテーカー(メモ)アプリケーション
  5. Name: tomboy
  6. Version: 1.10.1
  7. Release: 1%{?_dist_release}
  8. Source0: http://download.gnome.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz
  9. Patch0: tomboy-1.8.3-ndesk-dbus.patch
  10. License: LGPL
  11. Group: User Interface/Desktops
  12. URL: http://www.gnome.org/projects/tomboy/
  13. Requires: gtkspell
  14. Requires: gconf-sharp2
  15. # Requires: gnome-panel-sharp
  16. Requires: ndesk-dbus
  17. Requires: ndesk-dbus-glib
  18. Requires: mono-addins
  19. BuildRequires: gtk3-devel >= 3.0.0
  20. BuildRequires: atk-devel >= 1.2.4
  21. BuildRequires: gtkspell-devel
  22. BuildRequires: gtk-sharp2, dbus-devel
  23. BuildRequires: mono-core, ndesk-dbus, ndesk-dbus-glib
  24. BuildRequires: mono-addins, mono-devel
  25. BuildRequires: gnome-sharp2, gconf-sharp2
  26. BuildRequires: ndesk-dbus
  27. BuildRequires: ndesk-dbus-glib
  28. BuildRequires: art-sharp2, gnome-vfs-sharp2
  29. BuildRequires: gnome-doc-utils >= 0.3.2, docbook-dtds
  30. BuildRequires: libSM-devel
  31. Requires(post): shared-mime-info
  32. Requires(postun): shared-mime-info
  33. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. Packager: kazutaka
  37. %description
  38. Tomboy is a desktop note-taking application for Linux and Unix. Simple and easy
  39. to use, but with potential to help you organize the ideas and information you
  40. deal with every day. The key to Tomboy's usefulness lies in the ability to
  41. relate notes and ideas together. Using a WikiWiki-like linking system,
  42. organizing ideas is as simple as typing a name. Branching an idea off is easy
  43. as pressing the Link button. And links between your ideas won't break, even when
  44. renaming and reorganizing them.
  45. %description -l ja
  46. Tomboy は Linux と Unix 向けのデスクトップ用ノートテーカー(メモ)アプリ
  47. ケーションです。シンプルで使い易いですが、あなたが毎日扱うアイディアや
  48. 情報を整理するのに役に立つ能力を持っています。Tomboy の使い易さのキー
  49. ポイントは、ノートとアイディアを関連付ける点です。WikiWiki ライクなリン
  50. クシステムを使うことで、アイデアは名前を入力するだけで整理され、リンク
  51. ボタンを押すだけでアイデア同士をつなげることができます。また名前を変え
  52. たり整理し直してもアイデア間のリンクが切れることはありません。
  53. %prep
  54. %setup -q
  55. %patch0 -p1 -b .ndesk
  56. %build
  57. %configure \
  58. --disable-scrollkeeper \
  59. --disable-evolution \
  60. --disable-galago \
  61. --disable-update-mimedb \
  62. --libdir=%{_prefix}/lib
  63. # --enable-panel-applet=yes \
  64. %{__make}
  65. %install
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  68. %{__make} install \
  69. DESTDIR=${RPM_BUILD_ROOT} \
  70. pkgdatadir=%{_datadir} \
  71. libdir=%{tomboy_dir} \
  72. pkgconfigdir=%{pkgconfigdir}
  73. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  74. %find_lang %{name}
  75. %post
  76. update-desktop-database &>/dev/null || :
  77. update-mime-database >&/dev/null || :
  78. scrollkeeper-update > /dev/null 2>&1 || :
  79. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  80. gconftool-2 --makefile-install-rule \
  81. %{_sysconfdir}/gconf/schemas/tomboy.schemas > /dev/null
  82. touch --no-create %{_datadir}/icons/hicolor
  83. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  84. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  85. fi
  86. %preun
  87. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  88. gconftool-2 --makefile-uninstall-rule \
  89. %{_sysconfdir}/gconf/schemas/tomboy.schemas >/dev/null;
  90. %postun
  91. update-desktop-database &>/dev/null || :
  92. update-mime-database >&/dev/null || :
  93. scrollkeeper-update > /dev/null 2>&1 || :
  94. %clean
  95. %__rm -rf ${RPM_BUILD_ROOT}
  96. %files -f %{name}.lang
  97. %defattr(-,root,root)
  98. %doc AUTHORS COPYING ChangeLog NEWS README
  99. %{_bindir}/tomboy
  100. #%{_bindir}/tomboy-panel
  101. %dir %{tomboy_dir}/tomboy
  102. %dir %{tomboy_dir}/tomboy/addins
  103. %{tomboy_dir}/tomboy/Tomboy.*
  104. %{tomboy_dir}/tomboy/libtomboy.*
  105. %{tomboy_dir}/tomboy/addins/*
  106. #%{tomboy_dir}/bonobo/servers/GNOME_TomboyApplet.server
  107. %{_datadir}/dbus-1/services/org.gnome.Tomboy.service
  108. %{_datadir}/applications/tomboy.desktop
  109. %{_datadir}/gnome/help/tomboy
  110. %{_datadir}/icons/hicolor/
  111. %{_datadir}/mime/packages/%{name}.xml
  112. %{_mandir}/man1/tomboy.1.gz
  113. %{_sysconfdir}/gconf/schemas/tomboy.schemas
  114. %{pkgconfigdir}/tomboy-addins.pc
  115. %changelog
  116. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  117. - new upstream release
  118. * Mon Nov 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1
  119. - new upstream release
  120. - update Patch0 (tomboy-1.8.3-ndesk-dbus.patch)
  121. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  122. - new upstream release
  123. - add Patch0 (tomboy-1.8.0-ndesk-dbus.patch)
  124. - remove BuildRequires: dbus-sharp-glib-devel
  125. - add BuildRequires: ndesk-dbus, ndesk-dbus-glib
  126. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-1
  127. - new upstream release
  128. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.5-1
  129. - new upstream release
  130. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-1
  131. - new upstream release
  132. - drop BuildRequires: gnome-panel-sharp
  133. - add BuildRequires: dbus-sharp-glib-devel
  134. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-3
  135. - rebuilt with mono-2.10.1-3
  136. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-2
  137. - rebuilt with mono-2.10.1
  138. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  139. - new upstream release
  140. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  141. - new upstream release
  142. - add BuildRequires: libSM-devel
  143. - add Requires: gconf-sharp2, gnome-panel-sharp, ndesk-dbus, ndesk-dbus-glib, mono-addins
  144. - add configure option (--enable-panel-applet=yes)
  145. - fix %files
  146. * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2
  147. - rebuilt with mono-addins-0.5
  148. * Sat Apr 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.0-1
  149. - new upstream release
  150. - add --disable-update-mimedb configure option
  151. - run update-mime-database at %%post and %%postun
  152. - add Requires(post/postun): shared-mime-info
  153. - add BuildRequires: gnome-doc-utils, docbook-dtds (<BTS:VineLinux:904>)
  154. * Sat Oct 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  155. - new upstream release
  156. * Sat Aug 15 2009 0.14.2-3
  157. - add BuildRequires: mono-devel
  158. - run update-desktop-database and gtk-update-icon-cache as %post & %postun
  159. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-2
  160. - rebuild with latest rpm to update mono-dependencies
  161. * Tue May 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-1
  162. - new upstream release
  163. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-1
  164. - new upstream release
  165. - add BuildRequires: gnome-panel-sharp >= 2.26.0
  166. - add Packager tag
  167. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13.6-1
  168. - new upstream release
  169. - remove unneeded Requires:
  170. - add --enable-dbus=yes to configure option
  171. * Fri Jan 30 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.2-1
  172. - new upstream release
  173. * Mon Nov 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  174. - dropt %%{_libdir}/tomboy/Mono.Addins.* in %%files
  175. - added BuildRequires: mono-addins
  176. - added Requires: mono-addins
  177. - added macro %%pkgconfigdir
  178. * Thu Oct 09 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.0-1
  179. - source update
  180. - add BuildRequires: gnome-sharp2, gconf-sharp2, art-sharp2, gnome-vfs-sharp2
  181. * Tue Apr 22 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.1-1
  182. - source update.
  183. - add BuildRequires:ndesk-dbus, ndesk-dbus-glib
  184. - apply new versioning policy
  185. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  186. - source update.
  187. * Sun Apr 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl1
  188. - source update.
  189. * Wed Oct 04 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl2
  190. - add mono-core in Requires and BuildRequres. <BTS:VineLinux:226>
  191. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl1
  192. - source update.
  193. - change Group to User Interface/Desktops.
  194. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
  195. - initial build for Vine Linux