tomboy-vl.spec 7.3 KB

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