mono-tools-vl.spec 6.2 KB

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