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