tomboy-vl.spec 9.8 KB

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