tomboy-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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.14.1
  7. Release: 1%{?_dist_release}
  8. Source0: http://download.gnome.org/sources/%{name}/1.14/%{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. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  127. - new upstream release
  128. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  129. - new upstream release
  130. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  131. - new upstream release
  132. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  133. - change BuildRequires: mono-addins-devel instead of mono-addins
  134. - create %{name}-devel sub package
  135. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  136. - new upstream release
  137. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  138. - new upstream release
  139. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  140. - new upstream release
  141. - remove Patch0
  142. - remove BuildRequires: ndesk-dbus, ndesk-dbus-glib
  143. - add BuildRequires: dbus-sharp-glib-devel
  144. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  145. - new upstream release
  146. * Mon Nov 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1
  147. - new upstream release
  148. - update Patch0 (tomboy-1.8.3-ndesk-dbus.patch)
  149. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  150. - new upstream release
  151. - add Patch0 (tomboy-1.8.0-ndesk-dbus.patch)
  152. - remove BuildRequires: dbus-sharp-glib-devel
  153. - add BuildRequires: ndesk-dbus, ndesk-dbus-glib
  154. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-1
  155. - new upstream release
  156. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.5-1
  157. - new upstream release
  158. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-1
  159. - new upstream release
  160. - drop BuildRequires: gnome-panel-sharp
  161. - add BuildRequires: dbus-sharp-glib-devel
  162. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-3
  163. - rebuilt with mono-2.10.1-3
  164. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.2-2
  165. - rebuilt with mono-2.10.1
  166. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
  167. - new upstream release
  168. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  169. - new upstream release
  170. - add BuildRequires: libSM-devel
  171. - add Requires: gconf-sharp2, gnome-panel-sharp, ndesk-dbus, ndesk-dbus-glib, mono-addins
  172. - add configure option (--enable-panel-applet=yes)
  173. - fix %files
  174. * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2
  175. - rebuilt with mono-addins-0.5
  176. * Sat Apr 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.0-1
  177. - new upstream release
  178. - add --disable-update-mimedb configure option
  179. - run update-mime-database at %%post and %%postun
  180. - add Requires(post/postun): shared-mime-info
  181. - add BuildRequires: gnome-doc-utils, docbook-dtds (<BTS:VineLinux:904>)
  182. * Sat Oct 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.0-1
  183. - new upstream release
  184. * Sat Aug 15 2009 0.14.2-3
  185. - add BuildRequires: mono-devel
  186. - run update-desktop-database and gtk-update-icon-cache as %post & %postun
  187. * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-2
  188. - rebuild with latest rpm to update mono-dependencies
  189. * Tue May 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.2-1
  190. - new upstream release
  191. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.14.1-1
  192. - new upstream release
  193. - add BuildRequires: gnome-panel-sharp >= 2.26.0
  194. - add Packager tag
  195. * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13.6-1
  196. - new upstream release
  197. - remove unneeded Requires:
  198. - add --enable-dbus=yes to configure option
  199. * Fri Jan 30 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.2-1
  200. - new upstream release
  201. * Mon Nov 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.12.0-2
  202. - dropt %%{_libdir}/tomboy/Mono.Addins.* in %%files
  203. - added BuildRequires: mono-addins
  204. - added Requires: mono-addins
  205. - added macro %%pkgconfigdir
  206. * Thu Oct 09 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.0-1
  207. - source update
  208. - add BuildRequires: gnome-sharp2, gconf-sharp2, art-sharp2, gnome-vfs-sharp2
  209. * Tue Apr 22 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.1-1
  210. - source update.
  211. - add BuildRequires:ndesk-dbus, ndesk-dbus-glib
  212. - apply new versioning policy
  213. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  214. - source update.
  215. * Sun Apr 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl1
  216. - source update.
  217. * Wed Oct 04 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl2
  218. - add mono-core in Requires and BuildRequres. <BTS:VineLinux:226>
  219. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.1-0vl1
  220. - source update.
  221. - change Group to User Interface/Desktops.
  222. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
  223. - initial build for Vine Linux