tomboy-vl.spec 5.7 KB

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