tomboy-vl.spec 6.4 KB

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