]>
Commit | Line | Data |
---|---|---|
33609179 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without gecko # don't build gecko html renderer | |
4 | # | |
d7c9ba01 | 5 | %include /usr/lib/rpm/macros.mono |
611da4dd | 6 | Summary: Mono Tools |
9705a788 | 7 | Summary(pl.UTF-8): Narzędzia do mono |
611da4dd | 8 | Name: mono-tools |
7e3636c6 | 9 | Version: 2.10 |
885ad0b9 | 10 | Release: 2 |
4263a559 | 11 | License: GPL v2+ |
611da4dd | 12 | Group: Development/Tools |
d1e9d66f JB |
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 | |
7e3636c6 | 15 | # Source0-md5: da178df2c119c696c08c09dc9eb01994 |
a7a2c9ff | 16 | Patch0: %{name}-pwd.patch |
54031b74 | 17 | URL: http://www.mono-project.com/ |
611da4dd | 18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
54031b74 | 20 | %{?with_gecko:BuildRequires: dotnet-gecko-sharp2-devel >= 0.12} |
ba1fe6c7 | 21 | BuildRequires: dotnet-gnome-desktop-sharp-devel |
a7a2c9ff MB |
22 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 |
23 | BuildRequires: dotnet-gtk-sharp2-devel | |
ff42207c | 24 | BuildRequires: dotnet-webkit-sharp-devel >= 0.2-1 |
9836dc97 | 25 | BuildRequires: gettext-devel |
49ae1237 | 26 | BuildRequires: glib2-devel |
51668b95 | 27 | BuildRequires: libgdiplus |
0534729d | 28 | BuildRequires: mono-compat-links |
9836dc97 | 29 | BuildRequires: mono-csharp |
7e3636c6 | 30 | BuildRequires: mono-devel >= 2.10 |
31 | BuildRequires: mono-monodoc >= 2.10 | |
611da4dd | 32 | BuildRequires: pkgconfig |
bf6b7251 | 33 | BuildRequires: rpmbuild(monoautodeps) |
c82f0b72 | 34 | BuildRequires: sed >= 4.0 |
7e3636c6 | 35 | Requires: mono >= 2.10 |
49ae1237 | 36 | Requires: mono-tools-html-renderer |
b9d0deca | 37 | ExcludeArch: i386 |
611da4dd | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39 | ||
40 | %description | |
41 | Mono Tools is a collection of development and testing programs and | |
42 | utilities for use with Mono. | |
43 | ||
d41758f3 JR |
44 | %description -l pl.UTF-8 |
45 | Mono Tools jest kolekcją rozwojowych i testowych programów oraz | |
46 | narzędzi do użycia z Mono. | |
611da4dd | 47 | |
931cc38a | 48 | %package gecko |
49 | Summary: Gecko based monodoc HTML renderer | |
9705a788 | 50 | Summary(pl.UTF-8): Oparty na gecko wyświetlacz HTML-a dla monodoc |
931cc38a | 51 | Group: Development/Tools |
52 | Requires: %{name} = %{version}-%{release} | |
0570115f | 53 | Provides: mono-tools-html-renderer |
931cc38a | 54 | |
55 | %description gecko | |
ff42207c | 56 | Gecko based monodoc HTML renderer. |
931cc38a | 57 | |
d41758f3 | 58 | %description gecko -l pl.UTF-8 |
ff42207c | 59 | Oparty na gecko wyświetlacz HTML-a dla monodoc. |
60 | ||
61 | %package webkit | |
62 | Summary: WebKit based monodoc HTML renderer | |
63 | Summary(pl.UTF-8): Oparty na WebKit wyświetlacz HTML-a dla monodoc | |
64 | Group: Development/Tools | |
65 | Requires: %{name} = %{version}-%{release} | |
66 | Provides: mono-tools-html-renderer | |
67 | ||
68 | %description webkit | |
69 | WebKit based monodoc HTML renderer. | |
70 | ||
71 | %description webkit -l pl.UTF-8 | |
72 | Oparty na WebKit wyświetlacz HTML-a dla monodoc. | |
73 | ||
74 | %package monowebbrowser | |
75 | Summary: Mono.WebBrowser based monodoc HTML renderer | |
76 | Summary(pl.UTF-8): Oparty na Mono.WebBrowser wyświetlacz HTML-a dla monodoc | |
77 | Group: Development/Tools | |
78 | Requires: %{name} = %{version}-%{release} | |
79 | Provides: mono-tools-html-renderer | |
80 | ||
81 | %description monowebbrowser | |
82 | Mono.WebBrowser based monodoc HTML renderer. | |
83 | ||
84 | %description monowebbrowser -l pl.UTF-8 | |
85 | Oparty na Mono.WebBrowser wyświetlacz HTML-a dla monodoc. | |
931cc38a | 86 | |
0570115f | 87 | %package gtkhtml |
88 | Summary: GtkHTML based monodoc HTML renderer | |
9705a788 | 89 | Summary(pl.UTF-8): Oparty na GtkHTML wyświetlacz HTML-a dla monodoc |
0570115f | 90 | Group: Development/Tools |
91 | Requires: %{name} = %{version}-%{release} | |
92 | Provides: mono-tools-html-renderer | |
93 | ||
94 | %description gtkhtml | |
62bce0ce | 95 | GtkHTML based monodoc HTML renderer. |
0570115f | 96 | |
d41758f3 JR |
97 | %description gtkhtml -l pl.UTF-8 |
98 | Oparty na GtkHTML wyświetlacz HTML-a dla monodoc. | |
0570115f | 99 | |
677cddc0 | 100 | %package gendarme |
101 | Summary: A tool to find problems in .NET applications and libraries | |
102 | Summary(pl.UTF-8): Narzędzie znajdujące problemy w aplikacjach i bibliotekach .NET | |
103 | Group: Development/Tools | |
7e3636c6 | 104 | Requires: monodoc >= 2.10 |
677cddc0 | 105 | |
106 | %description gendarme | |
107 | Gendarme is a extensible rule-based tool to find problems in .NET | |
108 | applications and libraries. Gendarme inspects programs and libraries | |
109 | that contain code in ECMA CIL format (Mono and .NET) and looks for | |
110 | common problems with the code, problems that compiler do not typically | |
111 | check or have not historically checked. | |
112 | ||
113 | %description gendarme -l pl.UTF-8 | |
114 | Gendarme to rozszerzalne narzędzie oparte o regułki, znajdujące | |
115 | problemy w aplikacjach i bibliotekach .NET. Gendarme przeprowadza | |
116 | inspekcję programów i bibliotek w formacie ECMA CIL (Mono i .NET) | |
117 | szukając typowych problemów, których często kompilator nie sprawdza, | |
118 | lub tych które nie były kiedyś sprawdzane. | |
119 | ||
120 | %package gui-compare | |
121 | Summary: Compares API changes between different assemblies | |
122 | Summary(pl.UTF-8): Porównuje zmiany API między różnymi assembly | |
123 | Group: Development/Tools | |
124 | ||
125 | %description gui-compare | |
126 | Compares API changes between different assemblies. | |
127 | ||
128 | %description gui-compare -l pl.UTF-8 | |
129 | Porównuje zmiany API między różnymi assembly. | |
130 | ||
ff42207c | 131 | %package mprof-decoder |
132 | Summary: Console decoder for the logging profiler output files | |
133 | Summary(pl.UTF-8): Konsolowy dekoder dla plików tworzonych przez logujący profiler | |
134 | Group: Development/Tools | |
135 | ||
136 | %description mprof-decoder | |
137 | Decodes the contents of a logging profiler output file and prints the | |
138 | data on standard output. | |
139 | ||
140 | %description mprof-decoder -l pl.UTF-8 | |
141 | Dekoduje zawartość pliku wynikowego profilera logującego i wypisuje | |
142 | dane na standardowe wyjście. | |
143 | ||
144 | %package mprof-heap-viewer | |
145 | Summary: GUI viewer for the logging profiler heap snapshots | |
146 | Summary(pl.UTF-8): Narzędzie do oglądania migawek sterty profilera logującego | |
147 | Group: Development/Tools | |
148 | ||
149 | %description mprof-heap-viewer | |
a7a2c9ff MB |
150 | This program decodes the contents of a logging profiler output file |
151 | and locates all the heap snapshots inside it. The user can then select | |
152 | each individual snapshot and decide to load it in memory and explore | |
153 | its contents. | |
ff42207c | 154 | |
155 | %description mprof-heap-viewer -l pl.UTF-8 | |
156 | Ten program dekoduje plik wynikowy profilera logującego i lokalizuje | |
157 | wszystkie znajdujące się w nim migawki sterty. Umożliwia wybranie | |
158 | dowolnej migawki i załadowanie jej do pamięci w celu obejrzenia | |
159 | zawartości. | |
160 | ||
611da4dd | 161 | %prep |
162 | %setup -q | |
a7a2c9ff | 163 | %patch0 -p1 |
611da4dd | 164 | |
c82f0b72 | 165 | # as expected by ilcontrast script |
6d110a45 | 166 | %{__sed} -i -e 's,\$(libdir)/ilcontrast,$(prefix)/lib/ilcontrast,' ilcontrast/Makefile.am |
c82f0b72 | 167 | |
4263a559 | 168 | # mono-2.8 path for gasnview.exe |
169 | %{__sed} -i -e 's,mono/1.0,mono/2.0,' asn1view/gtk/Makefile.am | |
170 | ||
611da4dd | 171 | %build |
172 | %{__aclocal} | |
173 | %{__autoconf} | |
174 | %{__automake} | |
175 | %configure | |
a7a2c9ff | 176 | %{__make} -j1 |
611da4dd | 177 | |
178 | %install | |
179 | rm -rf $RPM_BUILD_ROOT | |
611da4dd | 180 | |
181 | %{__make} install \ | |
f85e043d | 182 | DESTDIR=$RPM_BUILD_ROOT \ |
7f9ee98e | 183 | pkglibdir=%{_prefix}/lib/mono-tools \ |
fca1bc30 | 184 | pkgconfigdir=%{_pkgconfigdir} |
611da4dd | 185 | |
186 | %find_lang %{name} | |
187 | ||
188 | %clean | |
189 | rm -rf $RPM_BUILD_ROOT | |
190 | ||
191 | %files -f %{name}.lang | |
192 | %defattr(644,root,root,755) | |
7dc434cc | 193 | %doc AUTHORS ChangeLog README |
4eba6264 | 194 | %attr(755,root,root) %{_bindir}/create-native-map |
a7a2c9ff | 195 | %attr(755,root,root) %{_bindir}/emveepee |
e37cb6a9 | 196 | %attr(755,root,root) %{_bindir}/gasnview |
a7a2c9ff MB |
197 | %attr(755,root,root) %{_bindir}/gsharp |
198 | %attr(755,root,root) %{_bindir}/minvoke | |
199 | %attr(755,root,root) %{_bindir}/monodoc | |
200 | %attr(755,root,root) %{_bindir}/mperfmon | |
201 | %dir %{_prefix}/lib/gsharp | |
202 | %attr(755,root,root) %{_prefix}/lib/gsharp/gsharp.exe | |
203 | %{_prefix}/lib/gsharp/gsharp.exe.config | |
148e8ce7 | 204 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/gasnview.exe |
c82f0b72 | 205 | %{_prefix}/lib/create-native-map |
a7a2c9ff MB |
206 | %dir %{_prefix}/lib/minvoke |
207 | %attr(755,root,root) %{_prefix}/lib/minvoke/minvoke.exe | |
208 | %dir %{_prefix}/lib/mperfmon | |
209 | %{_prefix}/lib/mperfmon/config | |
210 | %attr(755,root,root) %{_prefix}/lib/mperfmon/mperfmon.exe | |
211 | %dir %{_prefix}/lib/mono-tools | |
212 | %{_prefix}/lib/mono-tools/Mono.Profiler.Widgets.dll | |
885ad0b9 | 213 | %exclude %{_prefix}/lib/mono-tools/Mono.Profiler.Widgets.dll.mdb |
a7a2c9ff | 214 | %attr(755,root,root) %{_prefix}/lib/mono-tools/emveepee.exe |
885ad0b9 | 215 | %exclude %{_prefix}/lib/mono-tools/emveepee.exe.mdb |
7f9ee98e MB |
216 | %attr(755,root,root) %{_prefix}/lib/monodoc/browser.exe |
217 | %{_prefix}/lib/monodoc/web | |
a7a2c9ff | 218 | %{_desktopdir}/gsharp.desktop |
54031b74 JB |
219 | %{_desktopdir}/monodoc.desktop |
220 | %{_pixmapsdir}/monodoc.png | |
221 | %{_pkgconfigdir}/create-native-map.pc | |
4eba6264 | 222 | %{_mandir}/man1/create-native-map.1* |
a7a2c9ff | 223 | %{_mandir}/man1/mperfmon.1* |
931cc38a | 224 | |
33609179 | 225 | %if %{with gecko} |
931cc38a | 226 | %files gecko |
227 | %defattr(644,root,root,755) | |
c82f0b72 JB |
228 | %attr(755,root,root) %{_bindir}/ilcontrast |
229 | %{_prefix}/lib/ilcontrast | |
7f9ee98e | 230 | %{_prefix}/lib/monodoc/GeckoHtmlRender.dll |
54031b74 JB |
231 | %{_desktopdir}/ilcontrast.desktop |
232 | %{_pixmapsdir}/ilcontrast.png | |
33609179 | 233 | %endif |
0570115f | 234 | |
ff42207c | 235 | %files webkit |
236 | %defattr(644,root,root,755) | |
7f9ee98e | 237 | %{_prefix}/lib/monodoc/WebKitHtmlRender.dll |
ff42207c | 238 | |
239 | %files monowebbrowser | |
240 | %defattr(644,root,root,755) | |
7f9ee98e | 241 | %{_prefix}/lib/monodoc/MonoWebBrowserHtmlRender.dll |
ff42207c | 242 | |
0570115f | 243 | %files gtkhtml |
244 | %defattr(644,root,root,755) | |
7f9ee98e | 245 | %{_prefix}/lib/monodoc/GtkHtmlHtmlRender.dll |
677cddc0 | 246 | |
247 | %files gendarme | |
248 | %defattr(644,root,root,755) | |
7e3636c6 | 249 | %attr(755,root,root) %{_bindir}/gd2i |
677cddc0 | 250 | %attr(755,root,root) %{_bindir}/gendarme |
ff42207c | 251 | %attr(755,root,root) %{_bindir}/gendarme-wizard |
677cddc0 | 252 | %{_prefix}/lib/gendarme |
7f9ee98e MB |
253 | %{_prefix}/lib/monodoc/sources/Gendarme* |
254 | %{_prefix}/lib/monodoc/sources/gendarme* | |
a7a2c9ff | 255 | %{_desktopdir}/gendarme-wizard.desktop |
677cddc0 | 256 | %{_pkgconfigdir}/gendarme-framework.pc |
a7a2c9ff | 257 | %{_pixmapsdir}/gendarme.svg |
7e3636c6 | 258 | %{_mandir}/man1/gd2i.1* |
677cddc0 | 259 | %{_mandir}/man1/gendarme.1* |
a7a2c9ff | 260 | %{_mandir}/man5/gendarme.5* |
677cddc0 | 261 | |
262 | %files gui-compare | |
263 | %defattr(644,root,root,755) | |
264 | %attr(755,root,root) %{_bindir}/gui-compare | |
265 | %{_prefix}/lib/gui-compare | |
ff42207c | 266 | |
267 | %files mprof-decoder | |
268 | %defattr(644,root,root,755) | |
269 | %attr(755,root,root) %{_bindir}/mprof-decoder | |
270 | %{_prefix}/lib/mono-tools/mprof-decoder-library.* | |
271 | %{_prefix}/lib/mono-tools/mprof-decoder.* | |
272 | %{_mandir}/man1/mprof-decoder.1* | |
273 | ||
274 | %files mprof-heap-viewer | |
275 | %defattr(644,root,root,755) | |
276 | %attr(755,root,root) %{_bindir}/mprof-heap-viewer | |
277 | %{_prefix}/lib/mono-tools/mprof-heap-snapshot-explorer.* | |
278 | %{_prefix}/lib/mono-tools/mprof-heap-viewer.* | |
279 | %{_mandir}/man1/mprof-heap-viewer.1* |