tomboy-vl.spec 7.0 KB

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