mono-tools-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. %define mono_dir %{_prefix}/lib/mono
  2. %define _libdir %{_prefix}/lib
  3. Name: mono-tools
  4. Version: 3.10
  5. Release: 1%{?_dist_release}
  6. Summary: A collection of tools for mono applications
  7. Summary(ja): Mono アプリケーション用のツール集
  8. # Type Refector and ASN.1 viewer is MIT, Debugger is GPL
  9. License: LGPL, GPL and MIT
  10. Group: Development/Tools
  11. URL: http://www.mono-project.com/Main_Page
  12. Source0: https://github.com/mono/mono-tools/archive/3.10.tar.gz
  13. # Vine patch (based on OpenSUSE)
  14. Patch70: mono-tools-docbrowser.patch
  15. Patch71: mono-tools-replace_gmcs.patch
  16. Patch72: mono-tools-webdocfiles.patch
  17. BuildArch: noarch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: mono-devel mono-nunit-devel monodoc mono-data-oracle
  20. BuildRequires: gtk-sharp2-devel
  21. BuildRequires: gnome-sharp2-devel
  22. BuildRequires: gconf-sharp2
  23. BuildRequires: gnome-print-sharp
  24. BuildRequires: gtkhtml314-sharp
  25. BuildRequires: gecko-sharp2-devel
  26. BuildRequires: webkit-sharp-devel
  27. BuildRequires: libgdiplus-devel
  28. BuildRequires: autoconf automake libtool
  29. Requires: mono-core, monodoc
  30. Requires(post): desktop-file-utils
  31. Requires(postun): desktop-file-utils
  32. Provides: mono-tools-devel = %{version}-%{release}
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. %description
  36. Mono Tools is a collection of development and testing programs and
  37. utilities for use with Mono.
  38. %package doc
  39. Summary: Monodoc documentation of %{name}
  40. Summary: %{name} のドキュメント
  41. Group: Applications/Documentation
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: monodoc
  44. %description doc
  45. Documentation for monotools for use with monodoc
  46. %prep
  47. %setup -q -n %{name}-%{version}
  48. %patch70 -p1 -b .docbrowser
  49. %patch71 -p1 -b .gmcs
  50. %patch72 -p1 -b .webdoc
  51. chmod -x COPYING
  52. %build
  53. ./autogen.sh
  54. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  55. %configure
  56. make
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  60. make install DESTDIR=$RPM_BUILD_ROOT
  61. mkdir $RPM_BUILD_ROOT%{_datadir}/create-native-map
  62. mv $RPM_BUILD_ROOT%{_libdir}/create-native-map/MapAttribute.cs \
  63. $RPM_BUILD_ROOT%{_datadir}/create-native-map
  64. mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig $RPM_BUILD_ROOT%{_datadir}
  65. %find_lang %{name}
  66. %clean
  67. rm -Rf "$RPM_BUILD_ROOT"
  68. %post
  69. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  70. %posttrans
  71. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  72. update-desktop-database -q &> /dev/null ||:
  73. %postun
  74. if [ $1 -eq 0 ] ; then
  75. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  76. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  77. update-desktop-database -q &> /dev/null ||:
  78. fi
  79. %files -f %{name}.lang
  80. %defattr(-, root, root)
  81. %doc AUTHORS COPYING* LICENSE MIT.X11 README
  82. %{_bindir}/create-native-map
  83. %{_bindir}/emveepee
  84. %{_bindir}/gasnview
  85. %{_bindir}/gd2i
  86. %{_bindir}/gendarme
  87. %{_bindir}/gendarme-wizard
  88. %{_bindir}/gsharp
  89. %{_bindir}/gui-compare
  90. %{_bindir}/ilcontrast
  91. %{_bindir}/minvoke
  92. %{_bindir}/monodoc
  93. %{_bindir}/mperfmon
  94. %{_bindir}/mprof-decoder
  95. %{_bindir}/mprof-heap-viewer
  96. %{mono_dir}/1.0/gasnview.exe
  97. %{_libdir}/create-native-map
  98. %{_libdir}/gendarme
  99. %{_libdir}/gsharp/gsharp.exe
  100. %{_libdir}/gsharp/gsharp.exe.config
  101. %{_libdir}/gui-compare
  102. %{_libdir}/ilcontrast
  103. %{_libdir}/minvoke/minvoke.exe
  104. #{_libdir}/monodoc
  105. %{_libdir}/monodoc/browser.exe
  106. %{_libdir}/monodoc/*HtmlRender.dll
  107. %{_libdir}/mperfmon/config
  108. %{_libdir}/mperfmon/mperfmon.exe
  109. %{_libdir}/mono-tools/mprof-decoder-library.dll*
  110. %{_libdir}/mono-tools/mprof-decoder.exe*
  111. %{_libdir}/mono-tools/mprof-heap-snapshot-explorer.dll*
  112. %{_libdir}/mono-tools/mprof-heap-viewer.exe*
  113. %{_libdir}/mono-tools/Mono.Profiler.Widgets.dll
  114. %{_libdir}/mono-tools/Mono.Profiler.Widgets.dll.mdb
  115. %{_libdir}/mono-tools/emveepee.exe
  116. %{_libdir}/mono-tools/emveepee.exe.mdb
  117. %{_datadir}/applications/gendarme-wizard.desktop
  118. %{_datadir}/applications/gsharp.desktop
  119. %{_datadir}/applications/ilcontrast.desktop
  120. %{_datadir}/applications/monodoc.desktop
  121. %{_datadir}/create-native-map
  122. %{_datadir}/pixmaps/ilcontrast.png
  123. %{_datadir}/pixmaps/monodoc.png
  124. %{_datadir}/pkgconfig/create-native-map.pc
  125. %{_datadir}/pkgconfig/gendarme-framework.pc
  126. %{_datadir}/pixmaps/gendarme.svg
  127. %{_datadir}/icons//hicolor/*/apps/monodoc.png
  128. %{_mandir}/man1/gd2i*
  129. %{_mandir}/man1/mperfmon*
  130. %{_mandir}/man1/mprof-decoder*
  131. %{_mandir}/man1/mprof-heap-viewer*
  132. %{_mandir}/man1/create-native-map*
  133. %{_mandir}/man1/gendarme*
  134. %files doc
  135. %defattr(-,root,root,-)
  136. %{_libdir}/monodoc/sources/Gendarme*
  137. %{_libdir}/monodoc/sources/gendarme*
  138. %dir %{_libdir}/monodoc/web
  139. %{_libdir}/monodoc/web/*
  140. %{_mandir}/man5/gendarme*
  141. %changelog
  142. * Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.10-1
  143. - update to 3.10
  144. - added Patch70, 71 and 72 to build with mono 3.12.1
  145. - split document into doc subpackage
  146. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-2
  147. - rebuild with VineSeed environment
  148. - add BuildRequires: gnome-sharp2, gconf-sharp2, gnome-print-sharp, gtkhtml314-sharp, gecko-sharp2, webkit-sharp-devel, libgdiplus-devel
  149. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-1
  150. - updated mono-tools to 2.10
  151. * Fri Oct 08 2010 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1
  152. - updated mono-tools to 2.8
  153. - added BR: gtk-sharp2
  154. - dropt BR: mono-jscript
  155. - dropt BR: gconf-sharp2
  156. - dropt BR: gecko-sharp2
  157. - dropt BR: gtkhtml314-sharp
  158. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.2-2
  159. - rebuilt with rpm-4.8.1 for pkg-config
  160. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.2-1
  161. - updated mono-tools to 2.6.2
  162. * Sun Dec 27 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.1-1
  163. - updated mono-tools to 2.6.1
  164. * Tue Dec 15 2009 Shu KONNO <owa@bg.wakwak.com> 2.4.3-1
  165. - updated to 2.4.3
  166. * Sun Apr 05 2009 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5
  167. - updated to 2.4
  168. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.0-1vl5
  169. - initial build for VineSeed
  170. - updated mono-tools to 2.0
  171. - applied vine versioning policy
  172. - added japanese summary
  173. - spec in utf-8
  174. * Thu Apr 10 2008 wberrier@novell.com
  175. - Update BuildRequires on suse 10.3/11 and fedora8 to use
  176. the new gtkhtml314-sharp
  177. * Wed Mar 26 2008 wberrier@novell.com
  178. - Update to 1.9:
  179. - Includes new tools: gui-compare and Gendarme
  180. - Fix to check for new version of gtkhtml# (3.14)
  181. - Fixed docbrowser to work with gecko# again
  182. [Regression] Monodoc crashes in gtk_moz_embed_append_data
  183. (bnc#341815)
  184. * Tue Feb 26 2008 wberrier@novell.com
  185. - Add patch: mono-tools-fix_build_gnome_sharp.patch
  186. to fix build with new gtk#/gnome#
  187. * Mon Jan 14 2008 wberrier@novell.com
  188. - Update to 1.2.6
  189. - Always uses gtkhtml instead of xulrunner, which crashes
  190. - Various bug fixes
  191. - Patch desktop files: mono-tools-desktop_standards.patch
  192. - use find_lang for translation files
  193. * Wed Jun 6 2007 wberrier@novell.com
  194. - add post script to index documentation
  195. - Update to 1.2.4
  196. - ilcontast: new util
  197. - create-native-map updates
  198. - docbrowser updates
  199. * Wed Apr 11 2007 wberrier@novell.com
  200. - Add mono dep/req for older distros
  201. * Thu Apr 5 2007 wberrier@suse.de
  202. - Adapt for buildservice
  203. - Clean up BuildRequires
  204. * Thu Mar 1 2007 wberrier@suse.de
  205. - Update to 1.2.3
  206. - Adds --remote-mode used in conjuction with MonoDevelop
  207. - More lenient create-native-map
  208. * Sat Dec 2 2006 wberrier@suse.de
  209. - Update to 1.2.1 (Fate #301111)
  210. - New create-native-map tools
  211. - fix for monodoc to work with xulrunner in some cases
  212. * Thu Oct 19 2006 ro@suse.de
  213. - added mono-devel to buildrequires
  214. * Wed Oct 4 2006 wberrier@suse.de
  215. - Update to 1.1.17
  216. - Uses gtk-sharp2 instead of gtk-sharp. Update BuildRequires
  217. accordingly
  218. * Fri Feb 17 2006 gekker@suse.de
  219. - Update .desktop file for UI team
  220. * Wed Feb 1 2006 aj@suse.de
  221. - Fix BuildRequires to build on x86-64 again.
  222. * Wed Jan 25 2006 mls@suse.de
  223. - converted neededforbuild to BuildRequires
  224. * Mon Jan 23 2006 gekker@suse.de
  225. - fixup nfb for changes in gtk-sharp packaging
  226. * Thu Dec 15 2005 wberrier@suse.de
  227. - Update to 1.1.11
  228. * Thu Nov 10 2005 wberrier@suse.de
  229. - Update to 1.1.10, add gecko-sharp dep
  230. * Sun Oct 23 2005 ro@suse.de
  231. - do not obsolete monodoc (already provided and obsoleted
  232. by monodoc-core)
  233. * Tue Oct 11 2005 wberrier@suse.de
  234. - Update to 1.1.9 and enable 2.0
  235. * Fri Aug 26 2005 aj@suse.de
  236. - Fix filelist.
  237. * Fri Aug 26 2005 ro@suse.de
  238. - nfb: monodoc -> monodoc-core
  239. * Tue Aug 23 2005 wberrier@suse.de
  240. - Initial package (Needed for monodoc gtk browser)