tomboy-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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.6.0
  7. Release: 1%{?_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}/mime/packages/%{name}.xml
  107. %{_mandir}/man1/tomboy.1.gz
  108. %{_sysconfdir}/gconf/schemas/tomboy.schemas
  109. %{pkgconfigdir}/tomboy-addins.pc
  110. %changelog
  111. * Thu May 05 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6.0-1
  112. - new upstream release
  113. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-3
  114. - rebuilt with mono-2.10.1-3
  115. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-2
  116. - rebuilt with mono-2.10.1
  117. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  118. - new upstream release
  119. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  120. - new upstream release
  121. - add BuildRequires: libSM-devel
  122. - add Requires: gconf-sharp2, gnome-panel-sharp, ndesk-dbus, ndesk-dbus-glib, mono-addins
  123. - add configure option (--enable-panel-applet=yes)
  124. - fix %files
  125. * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2
  126. - rebuilt with mono-addins-0.5
  127. * Sat Apr 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.0-1
  128. - new upstream release
  129. - add --disable-update-mimedb configure option
  130. - run update-mime-database at %%post and %%postun
  131. - add Requires(post/postun): shared-mime-info
  132. - add BuildRequires: gnome-doc-utils, docbook-dtds (<BTS:VineLinux:904>)
  133. * Sat Oct 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  134. - new upstream release
  135. * Sat Aug 15 2009 0.14.2-3
  136. - add BuildRequires: mono-devel
  137. - run update-desktop-database and gtk-update-icon-cache as %post & %postun
  138. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-2
  139. - rebuild with latest rpm to update mono-dependencies
  140. * Tue May 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-1
  141. - new upstream release
  142. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-1
  143. - new upstream release
  144. - add BuildRequires: gnome-panel-sharp >= 2.26.0
  145. - add Packager tag
  146. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13.6-1
  147. - new upstream release
  148. - remove unneeded Requires:
  149. - add --enable-dbus=yes to configure option
  150. * Fri Jan 30 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.2-1
  151. - new upstream release
  152. * Mon Nov 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  153. - dropt %%{_libdir}/tomboy/Mono.Addins.* in %%files
  154. - added BuildRequires: mono-addins
  155. - added Requires: mono-addins
  156. - added macro %%pkgconfigdir
  157. * Thu Oct 09 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.0-1
  158. - source update
  159. - add BuildRequires: gnome-sharp2, gconf-sharp2, art-sharp2, gnome-vfs-sharp2
  160. * Tue Apr 22 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.1-1
  161. - source update.
  162. - add BuildRequires:ndesk-dbus, ndesk-dbus-glib
  163. - apply new versioning policy
  164. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  165. - source update.
  166. * Sun Apr 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl1
  167. - source update.
  168. * Wed Oct 04 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl2
  169. - add mono-core in Requires and BuildRequres. <BTS:VineLinux:226>
  170. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl1
  171. - source update.
  172. - change Group to User Interface/Desktops.
  173. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
  174. - initial build for Vine Linux