tomboy-vl.spec 8.9 KB

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