mono-tools-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. %define mono_dir %(/usr/bin/monodir)
  2. %define _libdir %{_prefix}/lib
  3. Name: mono-tools
  4. Version: 2.10
  5. Release: 1%{?_dist_release}
  6. Summary: Collection of Tools and Utilities for Mono
  7. Summary(ja): Mono 用 ツールコレクション
  8. Group: Development/Tools
  9. License: GNU General Public License (GPL)
  10. URL: http://go-mono.org/
  11. Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{name}-%{version}.tar.bz2
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: mono-devel mono-nunit monodoc mono-data-oracle
  15. BuildRequires: gtk-sharp2
  16. %description
  17. Mono Tools is a collection of development and testing programs and
  18. utilities for use with Mono.
  19. %prep
  20. %setup -q -n %{name}-%{version}
  21. %build
  22. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  23. ./configure \
  24. --prefix=%{_prefix} \
  25. --libdir=%{_libdir} \
  26. --sysconfdir=%{_sysconfdir} \
  27. --mandir=%{_mandir} \
  28. --infodir=%{_infodir} \
  29. --localstatedir=%{_localstatedir}
  30. make
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. mkdir $RPM_BUILD_ROOT%{_datadir}/create-native-map
  36. mv $RPM_BUILD_ROOT%{_libdir}/create-native-map/MapAttribute.cs \
  37. $RPM_BUILD_ROOT%{_datadir}/create-native-map
  38. mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig $RPM_BUILD_ROOT%{_datadir}
  39. %find_lang %{name}
  40. %clean
  41. rm -Rf "$RPM_BUILD_ROOT"
  42. %post
  43. monodoc --make-index
  44. %files -f %{name}.lang
  45. %defattr(-, root, root)
  46. %{_bindir}/create-native-map
  47. %{_bindir}/emveepee
  48. %{_bindir}/gasnview
  49. %{_bindir}/gd2i
  50. %{_bindir}/gendarme
  51. %{_bindir}/gendarme-wizard
  52. %{_bindir}/gsharp
  53. %{_bindir}/gui-compare
  54. %{_bindir}/ilcontrast
  55. %{_bindir}/minvoke
  56. %{_bindir}/monodoc
  57. %{_bindir}/mperfmon
  58. %{_bindir}/mprof-decoder
  59. %{_bindir}/mprof-heap-viewer
  60. %{_prefix}/lib//mono/1.0/gasnview.exe
  61. %{_libdir}/create-native-map
  62. %{_libdir}/gendarme
  63. %{_libdir}/gsharp/gsharp.exe
  64. %{_libdir}/gsharp/gsharp.exe.config
  65. %{_libdir}/gui-compare
  66. %{_libdir}/ilcontrast
  67. %{_libdir}/minvoke/minvoke.exe
  68. %{_libdir}/monodoc
  69. %{_libdir}/mperfmon/config
  70. %{_libdir}/mperfmon/mperfmon.exe
  71. %{_libdir}/mono-tools/mprof-decoder-library.dll*
  72. %{_libdir}/mono-tools/mprof-decoder.exe*
  73. %{_libdir}/mono-tools/mprof-heap-snapshot-explorer.dll*
  74. %{_libdir}/mono-tools/mprof-heap-viewer.exe*
  75. %{_libdir}/mono-tools/Mono.Profiler.Widgets.dll
  76. %{_libdir}/mono-tools/Mono.Profiler.Widgets.dll.mdb
  77. %{_libdir}/mono-tools/emveepee.exe
  78. %{_libdir}/mono-tools/emveepee.exe.mdb
  79. %{_datadir}/applications/gendarme-wizard.desktop
  80. %{_datadir}/applications/gsharp.desktop
  81. %{_datadir}/applications/ilcontrast.desktop
  82. %{_datadir}/applications/monodoc.desktop
  83. %{_datadir}/create-native-map
  84. %{_datadir}/pixmaps/ilcontrast.png
  85. %{_datadir}/pixmaps/monodoc.png
  86. %{_datadir}/pkgconfig/create-native-map.pc
  87. %{_datadir}/pkgconfig/gendarme-framework.pc
  88. %{_datadir}/pixmaps/gendarme.svg
  89. %{_iconsdir}/hicolor/*/apps/monodoc.png
  90. %{_mandir}/man1/gd2i*
  91. %{_mandir}/man1/mperfmon*
  92. %{_mandir}/man1/mprof-decoder*
  93. %{_mandir}/man1/mprof-heap-viewer*
  94. %{_mandir}/man1/create-native-map*
  95. %{_mandir}/man1/gendarme*
  96. %{_mandir}/man5/gendarme.5.gz
  97. %changelog
  98. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.10-1
  99. - updated mono-tools to 2.10
  100. * Fri Oct 08 2010 2010 Shu KONNO <owa@bg.wakwak.com> 2.8-1
  101. - updated mono-tools to 2.8
  102. - added BR: gtk-sharp2
  103. - dropt BR: mono-jscript
  104. - dropt BR: gconf-sharp2
  105. - dropt BR: gecko-sharp2
  106. - dropt BR: gtkhtml314-sharp
  107. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.2-2
  108. - rebuilt with rpm-4.8.1 for pkg-config
  109. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.2-1
  110. - updated mono-tools to 2.6.2
  111. * Sun Dec 27 2009 Shu KONNO <owa@bg.wakwak.com> 2.6.1-1
  112. - updated mono-tools to 2.6.1
  113. * Tue Dec 15 2009 Shu KONNO <owa@bg.wakwak.com> 2.4.3-1
  114. - updated to 2.4.3
  115. * Sun Apr 05 2009 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5
  116. - updated to 2.4
  117. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.0-1vl5
  118. - initial build for VineSeed
  119. - updated mono-tools to 2.0
  120. - applied vine versioning policy
  121. - added japanese summary
  122. - spec in utf-8
  123. * Thu Apr 10 2008 wberrier@novell.com
  124. - Update BuildRequires on suse 10.3/11 and fedora8 to use
  125. the new gtkhtml314-sharp
  126. * Wed Mar 26 2008 wberrier@novell.com
  127. - Update to 1.9:
  128. - Includes new tools: gui-compare and Gendarme
  129. - Fix to check for new version of gtkhtml# (3.14)
  130. - Fixed docbrowser to work with gecko# again
  131. [Regression] Monodoc crashes in gtk_moz_embed_append_data
  132. (bnc#341815)
  133. * Tue Feb 26 2008 wberrier@novell.com
  134. - Add patch: mono-tools-fix_build_gnome_sharp.patch
  135. to fix build with new gtk#/gnome#
  136. * Mon Jan 14 2008 wberrier@novell.com
  137. - Update to 1.2.6
  138. - Always uses gtkhtml instead of xulrunner, which crashes
  139. - Various bug fixes
  140. - Patch desktop files: mono-tools-desktop_standards.patch
  141. - use find_lang for translation files
  142. * Wed Jun 6 2007 wberrier@novell.com
  143. - add post script to index documentation
  144. - Update to 1.2.4
  145. - ilcontast: new util
  146. - create-native-map updates
  147. - docbrowser updates
  148. * Wed Apr 11 2007 wberrier@novell.com
  149. - Add mono dep/req for older distros
  150. * Thu Apr 5 2007 wberrier@suse.de
  151. - Adapt for buildservice
  152. - Clean up BuildRequires
  153. * Thu Mar 1 2007 wberrier@suse.de
  154. - Update to 1.2.3
  155. - Adds --remote-mode used in conjuction with MonoDevelop
  156. - More lenient create-native-map
  157. * Sat Dec 2 2006 wberrier@suse.de
  158. - Update to 1.2.1 (Fate #301111)
  159. - New create-native-map tools
  160. - fix for monodoc to work with xulrunner in some cases
  161. * Thu Oct 19 2006 ro@suse.de
  162. - added mono-devel to buildrequires
  163. * Wed Oct 4 2006 wberrier@suse.de
  164. - Update to 1.1.17
  165. - Uses gtk-sharp2 instead of gtk-sharp. Update BuildRequires
  166. accordingly
  167. * Fri Feb 17 2006 gekker@suse.de
  168. - Update .desktop file for UI team
  169. * Wed Feb 1 2006 aj@suse.de
  170. - Fix BuildRequires to build on x86-64 again.
  171. * Wed Jan 25 2006 mls@suse.de
  172. - converted neededforbuild to BuildRequires
  173. * Mon Jan 23 2006 gekker@suse.de
  174. - fixup nfb for changes in gtk-sharp packaging
  175. * Thu Dec 15 2005 wberrier@suse.de
  176. - Update to 1.1.11
  177. * Thu Nov 10 2005 wberrier@suse.de
  178. - Update to 1.1.10, add gecko-sharp dep
  179. * Sun Oct 23 2005 ro@suse.de
  180. - do not obsolete monodoc (already provided and obsoleted
  181. by monodoc-core)
  182. * Tue Oct 11 2005 wberrier@suse.de
  183. - Update to 1.1.9 and enable 2.0
  184. * Fri Aug 26 2005 aj@suse.de
  185. - Fix filelist.
  186. * Fri Aug 26 2005 ro@suse.de
  187. - nfb: monodoc -> monodoc-core
  188. * Tue Aug 23 2005 wberrier@suse.de
  189. - Initial package (Needed for monodoc gtk browser)