3 %bcond_without gecko # don't build gecko html renderer
5 %include /usr/lib/rpm/macros.mono
7 Summary(pl.UTF-8): Narzędzia do mono
12 Group: Development/Tools
13 # latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/
14 Source0: http://ftp.novell.com/pub/mono/sources/mono-tools/%{name}-%{version}.tar.bz2
15 # Source0-md5: c29f5993ae05d981769d2002a9f65d2a
16 Patch0: %{name}-pwd.patch
17 URL: http://www.mono-project.com/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 %{?with_gecko:BuildRequires: dotnet-gecko-sharp2-devel >= 0.12}
21 BuildRequires: dotnet-gnome-desktop-sharp-devel
22 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
23 BuildRequires: dotnet-gtk-sharp2-devel
24 BuildRequires: dotnet-webkit-sharp-devel >= 0.2-1
25 BuildRequires: gettext-devel
26 BuildRequires: libgdiplus
27 BuildRequires: mono-compat-links
28 BuildRequires: mono-csharp
29 BuildRequires: mono-devel >= 2.6
30 BuildRequires: mono-jscript
31 BuildRequires: mono-monodoc >= 2.6
32 BuildRequires: pkgconfig
33 BuildRequires: rpmbuild(monoautodeps)
34 BuildRequires: sed >= 4.0
35 Requires: mono-tools-html-renderer
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Mono Tools is a collection of development and testing programs and
41 utilities for use with Mono.
43 %description -l pl.UTF-8
44 Mono Tools jest kolekcją rozwojowych i testowych programów oraz
45 narzędzi do użycia z Mono.
48 Summary: Gecko based monodoc HTML renderer
49 Summary(pl.UTF-8): Oparty na gecko wyświetlacz HTML-a dla monodoc
50 Group: Development/Tools
51 Requires: %{name} = %{version}-%{release}
52 Provides: mono-tools-html-renderer
55 Gecko based monodoc HTML renderer.
57 %description gecko -l pl.UTF-8
58 Oparty na gecko wyświetlacz HTML-a dla monodoc.
61 Summary: WebKit based monodoc HTML renderer
62 Summary(pl.UTF-8): Oparty na WebKit wyświetlacz HTML-a dla monodoc
63 Group: Development/Tools
64 Requires: %{name} = %{version}-%{release}
65 Provides: mono-tools-html-renderer
68 WebKit based monodoc HTML renderer.
70 %description webkit -l pl.UTF-8
71 Oparty na WebKit wyświetlacz HTML-a dla monodoc.
73 %package monowebbrowser
74 Summary: Mono.WebBrowser based monodoc HTML renderer
75 Summary(pl.UTF-8): Oparty na Mono.WebBrowser wyświetlacz HTML-a dla monodoc
76 Group: Development/Tools
77 Requires: %{name} = %{version}-%{release}
78 Provides: mono-tools-html-renderer
80 %description monowebbrowser
81 Mono.WebBrowser based monodoc HTML renderer.
83 %description monowebbrowser -l pl.UTF-8
84 Oparty na Mono.WebBrowser wyświetlacz HTML-a dla monodoc.
87 Summary: GtkHTML based monodoc HTML renderer
88 Summary(pl.UTF-8): Oparty na GtkHTML wyświetlacz HTML-a dla monodoc
89 Group: Development/Tools
90 Requires: %{name} = %{version}-%{release}
91 Provides: mono-tools-html-renderer
94 GtkHTML based monodoc HTML renderer.
96 %description gtkhtml -l pl.UTF-8
97 Oparty na GtkHTML wyświetlacz HTML-a dla monodoc.
100 Summary: A tool to find problems in .NET applications and libraries
101 Summary(pl.UTF-8): Narzędzie znajdujące problemy w aplikacjach i bibliotekach .NET
102 Group: Development/Tools
103 Requires: monodoc >= 2.6
105 %description gendarme
106 Gendarme is a extensible rule-based tool to find problems in .NET
107 applications and libraries. Gendarme inspects programs and libraries
108 that contain code in ECMA CIL format (Mono and .NET) and looks for
109 common problems with the code, problems that compiler do not typically
110 check or have not historically checked.
112 %description gendarme -l pl.UTF-8
113 Gendarme to rozszerzalne narzędzie oparte o regułki, znajdujące
114 problemy w aplikacjach i bibliotekach .NET. Gendarme przeprowadza
115 inspekcję programów i bibliotek w formacie ECMA CIL (Mono i .NET)
116 szukając typowych problemów, których często kompilator nie sprawdza,
117 lub tych które nie były kiedyś sprawdzane.
120 Summary: Compares API changes between different assemblies
121 Summary(pl.UTF-8): Porównuje zmiany API między różnymi assembly
122 Group: Development/Tools
124 %description gui-compare
125 Compares API changes between different assemblies.
127 %description gui-compare -l pl.UTF-8
128 Porównuje zmiany API między różnymi assembly.
130 %package mprof-decoder
131 Summary: Console decoder for the logging profiler output files
132 Summary(pl.UTF-8): Konsolowy dekoder dla plików tworzonych przez logujący profiler
133 Group: Development/Tools
135 %description mprof-decoder
136 Decodes the contents of a logging profiler output file and prints the
137 data on standard output.
139 %description mprof-decoder -l pl.UTF-8
140 Dekoduje zawartość pliku wynikowego profilera logującego i wypisuje
141 dane na standardowe wyjście.
143 %package mprof-heap-viewer
144 Summary: GUI viewer for the logging profiler heap snapshots
145 Summary(pl.UTF-8): Narzędzie do oglądania migawek sterty profilera logującego
146 Group: Development/Tools
148 %description mprof-heap-viewer
149 This program decodes the contents of a logging profiler output file
150 and locates all the heap snapshots inside it. The user can then select
151 each individual snapshot and decide to load it in memory and explore
154 %description mprof-heap-viewer -l pl.UTF-8
155 Ten program dekoduje plik wynikowy profilera logującego i lokalizuje
156 wszystkie znajdujące się w nim migawki sterty. Umożliwia wybranie
157 dowolnej migawki i załadowanie jej do pamięci w celu obejrzenia
164 # as expected by ilcontrast script
165 sed -i -e 's,\$(libdir)/ilcontrast,$(prefix)/lib/ilcontrast,' ilcontrast/Makefile.am
175 rm -rf $RPM_BUILD_ROOT
178 DESTDIR=$RPM_BUILD_ROOT \
179 pkglibdir=%{_prefix}/lib/mono-tools \
180 pkgconfigdir=%{_pkgconfigdir}
185 rm -rf $RPM_BUILD_ROOT
187 %files -f %{name}.lang
188 %defattr(644,root,root,755)
189 %doc AUTHORS ChangeLog README
190 %attr(755,root,root) %{_bindir}/create-native-map
191 %attr(755,root,root) %{_bindir}/emveepee
192 %attr(755,root,root) %{_bindir}/gasnview
193 %attr(755,root,root) %{_bindir}/gsharp
194 %attr(755,root,root) %{_bindir}/minvoke
195 %attr(755,root,root) %{_bindir}/monodoc
196 %attr(755,root,root) %{_bindir}/mperfmon
197 %dir %{_prefix}/lib/gsharp
198 %attr(755,root,root) %{_prefix}/lib/gsharp/gsharp.exe
199 %{_prefix}/lib/gsharp/gsharp.exe.config
200 %attr(755,root,root) %{_prefix}/lib/mono/1.0/gasnview.exe
201 %{_prefix}/lib/create-native-map
202 %dir %{_prefix}/lib/minvoke
203 %attr(755,root,root) %{_prefix}/lib/minvoke/minvoke.exe
204 %dir %{_prefix}/lib/mperfmon
205 %{_prefix}/lib/mperfmon/config
206 %attr(755,root,root) %{_prefix}/lib/mperfmon/mperfmon.exe
207 %dir %{_prefix}/lib/mono-tools
208 %{_prefix}/lib/mono-tools/Mono.Profiler.Widgets.dll
209 %attr(755,root,root) %{_prefix}/lib/mono-tools/emveepee.exe
210 %attr(755,root,root) %{_prefix}/lib/monodoc/browser.exe
211 %{_prefix}/lib/monodoc/web
212 %{_desktopdir}/gsharp.desktop
213 %{_desktopdir}/monodoc.desktop
214 %{_pixmapsdir}/monodoc.png
215 %{_pkgconfigdir}/create-native-map.pc
216 %{_mandir}/man1/create-native-map.1*
217 %{_mandir}/man1/mperfmon.1*
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_bindir}/ilcontrast
223 %{_prefix}/lib/ilcontrast
224 %{_prefix}/lib/monodoc/GeckoHtmlRender.dll
225 %{_desktopdir}/ilcontrast.desktop
226 %{_pixmapsdir}/ilcontrast.png
230 %defattr(644,root,root,755)
231 %{_prefix}/lib/monodoc/WebKitHtmlRender.dll
233 %files monowebbrowser
234 %defattr(644,root,root,755)
235 %{_prefix}/lib/monodoc/MonoWebBrowserHtmlRender.dll
238 %defattr(644,root,root,755)
239 %{_prefix}/lib/monodoc/GtkHtmlHtmlRender.dll
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_bindir}/gendarme
244 %attr(755,root,root) %{_bindir}/gendarme-wizard
245 %{_prefix}/lib/gendarme
246 %{_prefix}/lib/monodoc/sources/Gendarme*
247 %{_prefix}/lib/monodoc/sources/gendarme*
248 %{_desktopdir}/gendarme-wizard.desktop
249 %{_pkgconfigdir}/gendarme-framework.pc
250 %{_pixmapsdir}/gendarme.svg
251 %{_mandir}/man1/gendarme.1*
252 %{_mandir}/man5/gendarme.5*
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_bindir}/gui-compare
257 %{_prefix}/lib/gui-compare
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_bindir}/mprof-decoder
262 %{_prefix}/lib/mono-tools/mprof-decoder-library.*
263 %{_prefix}/lib/mono-tools/mprof-decoder.*
264 %{_mandir}/man1/mprof-decoder.1*
266 %files mprof-heap-viewer
267 %defattr(644,root,root,755)
268 %attr(755,root,root) %{_bindir}/mprof-heap-viewer
269 %{_prefix}/lib/mono-tools/mprof-heap-snapshot-explorer.*
270 %{_prefix}/lib/mono-tools/mprof-heap-viewer.*
271 %{_mandir}/man1/mprof-heap-viewer.1*