]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # NOTE: Makefiles are broken, build could stop long time after first fatal error | |
3 | # TODO: | |
4 | # /usr/lib/mono-source-libs/Options.cs | |
5 | # /usr/lib/mono-source-libs/getline.cs | |
6 | # /usr/lib64/pkgconfig/mono-lineeditor.pc | |
7 | # /usr/lib64/pkgconfig/mono-options.pc | |
8 | # /usr/lib64/pkgconfig/mono.web.pc | |
9 | # /usr/lib64/pkgconfig/system.web.extensions.design_1.0.pc | |
10 | # /usr/lib64/pkgconfig/system.web.extensions_1.0.pc | |
11 | # /usr/lib64/pkgconfig/wcf.pc | |
12 | # - x86_64 searches .dll from %{_libdir}, not %{_prefix}/lib: | |
13 | # The assembly mscorlib.dll was not found or could not be loaded. | |
14 | # It should have been installed in the `/usr/lib64/mono/2.0/mscorlib.dll' directory. | |
15 | # | |
16 | # Conditional build: | |
17 | %bcond_without tls # don't use TLS (which requires recent 2.4.x or 2.6 kernel) | |
18 | %bcond_without static_libs # don't build static libraries | |
19 | %bcond_with bootstrap # don't require mono-devel to find req/prov | |
20 | %bcond_with mint # build mint instead of mono VM (JIT) [broken] | |
21 | # | |
22 | %ifnarch %{ix86} %{x8664} alpha arm ia64 ppc s390 s390x sparc sparcv9 sparc64 | |
23 | # JIT not supported on hppa | |
24 | %define with_mint 1 | |
25 | %endif | |
26 | %define glib_ver 1:2.4 | |
27 | # | |
28 | Summary: Common Language Infrastructure implementation | |
29 | Summary(pl.UTF-8): Implementacja Common Language Infrastructure | |
30 | Name: mono | |
31 | Version: 2.4.2.3 | |
32 | Release: 0.4 | |
33 | License: LGPL (VM), GPL (C# compilers), MIT X11 with GPL additions (classes, tools) | |
34 | Group: Development/Languages | |
35 | # latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/ | |
36 | Source0: http://ftp.novell.com/pub/mono/sources/mono/%{name}-%{version}.tar.bz2 | |
37 | # Source0-md5: 696f25afc8453cd0d1c78de6e905dcf2 | |
38 | Patch0: %{name}-alpha-float.patch | |
39 | Patch1: %{name}-mint.patch | |
40 | Patch2: %{name}-sonames.patch | |
41 | Patch3: %{name}-awk.patch | |
42 | Patch4: %{name}-console-no-utf8-bom.patch | |
43 | Patch5: %{name}-pc.patch | |
44 | Patch6: %{name}-ARG_MAX.patch | |
45 | Patch7: %{name}-metadata-makefile.patch | |
46 | URL: http://www.mono-project.com/ | |
47 | %if %(test -r /dev/random; echo $?) | |
48 | BuildRequires: ACCESSIBLE_/dev/random | |
49 | %endif | |
50 | BuildRequires: autoconf | |
51 | BuildRequires: automake | |
52 | BuildRequires: bison | |
53 | BuildRequires: gettext-devel | |
54 | BuildRequires: glib2-devel >= %{glib_ver} | |
55 | BuildRequires: libtool | |
56 | %{!?with_bootstrap:BuildRequires: mono-devel >= 1.1.8.3-2} | |
57 | BuildRequires: pkgconfig | |
58 | BuildRequires: rpmbuild(macros) >= 1.213 | |
59 | BuildRequires: rpmbuild(monoautodeps) | |
60 | Suggests: binfmt-detector | |
61 | # for System.Drawing | |
62 | Suggests: libgdiplus >= 2.0 | |
63 | ExclusiveArch: %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9 | |
64 | # plain i386 is not supported; mono uses cmpxchg/xadd which require i486 | |
65 | ExcludeArch: i386 | |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
67 | ||
68 | %define _rpmlibdir /usr/lib/rpm | |
69 | ||
70 | # debugger doesn't work with stripped mono | |
71 | %define _noautostrip .*/mono | |
72 | ||
73 | %if %{without bootstrap} | |
74 | %define __mono_provides %{_rpmlibdir}/mono-find-provides | |
75 | %define __mono_requires %{_rpmlibdir}/mono-find-requires | |
76 | %endif | |
77 | ||
78 | %description | |
79 | The Common Language Infrastructure platform. Microsoft has created a | |
80 | new development platform. The highlights of this new development | |
81 | platform are: | |
82 | - A runtime environment that provides garbage collection, threading | |
83 | and a virtual machine specification (The Virtual Execution System, | |
84 | VES), | |
85 | - A comprehensive class library, | |
86 | - A new language, C#. Very similar to Java, C# allows programmers to | |
87 | use all the features available on the .NET runtime, | |
88 | - A language specification that compilers can follow if they want to | |
89 | generate classes and code that can interoperate with other programming | |
90 | languages (The Common Language Specification: CLS). | |
91 | ||
92 | %{?with_tls:This version was built with TLS __thread.} | |
93 | ||
94 | %description -l pl.UTF-8 | |
95 | Platforma CLI (Common Language Infrastructure). Microsoft stworzył | |
96 | nową platformę developerską. Zalety tej platformy to: | |
97 | - środowisko, które dostarcza garbage collector, wątki oraz | |
98 | specyfikację maszyny wirtualnej (The Virtual Execution System, VES), | |
99 | - bibliotekę klas, | |
100 | - nowy język, C#. Bardzo podobny do Javy, C# pozwala programistom na | |
101 | używanie wszystkich możliwości dostarczanych przez platformę .NET, | |
102 | - specyfikacja dla kompilatorów, które chcą generować kod | |
103 | współpracujący z innymi językami programowania (The Common Language | |
104 | Specification: CLS). | |
105 | ||
106 | %{?with_tls:Ta wersja została zbudowana z TLS __thread.} | |
107 | ||
108 | %package devel | |
109 | Summary: Development resources for mono | |
110 | Summary(pl.UTF-8): Zasoby programisty do mono | |
111 | License: LGPL (VM), MIT X11 with GPL additions (classes, tools) | |
112 | Group: Development/Libraries | |
113 | Requires: %{name} = %{version}-%{release} | |
114 | Requires: glib2-devel >= %{glib_ver} | |
115 | ||
116 | %description devel | |
117 | Development resources for mono. | |
118 | ||
119 | %description devel -l pl.UTF-8 | |
120 | Zasoby programisty dla mono. | |
121 | ||
122 | %package debug | |
123 | Summary: Mono libraries debugging resources | |
124 | Summary(pl.UTF-8): Pliki umożliwiające debugowanie bibliotek mono | |
125 | Group: Development/Libraries | |
126 | Requires: %{name} = %{version}-%{release} | |
127 | ||
128 | %description debug | |
129 | Mono libraries debugging resources. | |
130 | ||
131 | %description debug -l pl.UTF-8 | |
132 | Pliki umożliwiające debugowanie bibliotek mono. | |
133 | ||
134 | %package csharp | |
135 | Summary: C# compiler for mono | |
136 | Summary(pl.UTF-8): Kompilator C# dla mono | |
137 | License: GPL | |
138 | Group: Development/Languages | |
139 | Requires: %{name}-devel = %{version}-%{release} | |
140 | ||
141 | %description csharp | |
142 | C# compiler for mono. | |
143 | ||
144 | %description csharp -l pl.UTF-8 | |
145 | Kompilator C# dla mono. | |
146 | ||
147 | %package ilasm | |
148 | Summary: ILasm compiler for mono | |
149 | Summary(pl.UTF-8): Kompilator ILasm dla mono | |
150 | # implied | |
151 | License: MIT X11 | |
152 | Group: Development/Languages | |
153 | Requires: %{name}-devel = %{version}-%{release} | |
154 | Provides: ilasm | |
155 | Obsoletes: pnet-compiler-ilasm | |
156 | ||
157 | %description ilasm | |
158 | ILasm compiler for mono. | |
159 | ||
160 | %description ilasm -l pl.UTF-8 | |
161 | Kompilator ILasm dla mono. | |
162 | ||
163 | %package jscript | |
164 | Summary: jscript compiler for mono | |
165 | Summary(pl.UTF-8): Kompilator jscript dla mono | |
166 | License: MIT X11 | |
167 | Group: Development/Languages | |
168 | Requires: %{name}-devel = %{version}-%{release} | |
169 | ||
170 | %description jscript | |
171 | jscript compiler for mono. | |
172 | ||
173 | %description jscript -l pl.UTF-8 | |
174 | Kompilator jscript dla mono. | |
175 | ||
176 | %package monodoc | |
177 | Summary: Documentation for Mono class libraries and tools to produce and edit the documentation | |
178 | Summary(pl.UTF-8): Dokumentacja klas Mono wraz z narzędziami do jej generowania i przeglądania | |
179 | License: LGPL | |
180 | Group: Development/Libraries | |
181 | Requires: %{name}-devel = %{version}-%{release} | |
182 | Provides: monodoc = %{version}-%{release} | |
183 | Obsoletes: monodoc | |
184 | ||
185 | %description monodoc | |
186 | This package contains the documentation for the Mono class libraries, | |
187 | tools to produce and edit the documentation, and a documentation | |
188 | browser. | |
189 | ||
190 | %description monodoc -l pl.UTF-8 | |
191 | Ten pakiet zawiera dokumentację klas Mono wraz z narzędziami do jej | |
192 | generowania i przeglądania. | |
193 | ||
194 | %package static | |
195 | Summary: Static mono library | |
196 | Summary(pl.UTF-8): Statyczna biblioteka mono | |
197 | License: LGPL | |
198 | Group: Development/Libraries | |
199 | Requires: %{name}-devel = %{version}-%{release} | |
200 | ||
201 | %description static | |
202 | Static mono library. | |
203 | ||
204 | %description static -l pl.UTF-8 | |
205 | Statyczna biblioteka mono. | |
206 | ||
207 | %package jay | |
208 | Summary: Yacc-like parser generator for Java and C# | |
209 | Summary(pl.UTF-8): Podobny do Yacca generator parserów dla Javy i C# | |
210 | License: BSD | |
211 | Group: Development/Tools | |
212 | ||
213 | %description jay | |
214 | Yacc-like parser generator for Java and C#. | |
215 | ||
216 | %description jay -l pl.UTF-8 | |
217 | Podobny do Yacca generator parserów dla Javy i C#. | |
218 | ||
219 | %package compat-links | |
220 | Summary: Mono compatibility links | |
221 | Summary(pl.UTF-8): Dowiązania dla kompatybilności | |
222 | # resgen license | |
223 | License: MIT X11 | |
224 | Group: Development/Languages | |
225 | Requires: %{name}-devel = %{version}-%{release} | |
226 | ||
227 | %description compat-links | |
228 | This package contains links to binaries with names used in .NET and | |
229 | dotGNU. | |
230 | ||
231 | %description compat-links -l pl.UTF-8 | |
232 | Pakiet ten zawiera dowiązania do programów o nazwach używanych w .NET | |
233 | oraz dotGNU. | |
234 | ||
235 | %prep | |
236 | %setup -q | |
237 | %patch0 -p1 | |
238 | %patch1 -p1 | |
239 | %patch2 -p1 | |
240 | %patch3 -p1 | |
241 | %patch4 -p1 | |
242 | #%patch5 -p1 | |
243 | %patch6 -p1 | |
244 | %patch7 -p1 | |
245 | ||
246 | # for jay | |
247 | cat >>mcs/build/config-default.make <<EOF | |
248 | CC = %{__cc} | |
249 | CFLAGS = %{rpmcflags} | |
250 | EOF | |
251 | ||
252 | %build | |
253 | cp -f /usr/share/automake/config.sub . | |
254 | cp -f /usr/share/automake/config.sub libgc | |
255 | %{__libtoolize} | |
256 | %{__aclocal} | |
257 | %{__autoheader} | |
258 | %{__autoconf} | |
259 | %{__automake} | |
260 | cd libgc | |
261 | %{__libtoolize} | |
262 | %{__aclocal} | |
263 | %{__autoconf} | |
264 | %{__automake} | |
265 | cd .. | |
266 | ||
267 | # -DUSE_COMPILER_TLS is passed to libgc by main configure, but our | |
268 | # CPPFLAGS override that CPPFLAGS | |
269 | CPPFLAGS="-DUSE_LIBC_PRIVATE_SYMBOLS -DUSE_COMPILER_TLS" | |
270 | %configure \ | |
271 | %{!?with_static_libs:--disable-static} \ | |
272 | --enable-fast-install \ | |
273 | --with-gc=included \ | |
274 | --with-icu=no \ | |
275 | --with-interp=%{?with_mint:yes}%{!?with_mint:no} \ | |
276 | --with-jit=%{?with_mint:no}%{!?with_mint:yes} \ | |
277 | --with-preview=yes \ | |
278 | --with-tls=%{?with_tls:__thread}%{!?with_tls:pthread} | |
279 | ||
280 | # mint uses heap to make trampolines, which need to be executable | |
281 | # there is mprotect(...,PROT_EXEC) for ppc/s390, but not used | |
282 | # (ifdef NEED_MPROTECT, which is never defined) | |
283 | # in fact the flag should be "-Wl,-z,execheap" for libmint, but: | |
284 | # -z execheap doesn't seem to do anything currently | |
285 | # -z execstack for library makes only stack executable, but not heap | |
286 | %{__make} -j1 \ | |
287 | mint_LDFLAGS="-Wl,-z,execheap -Wl,-z,execstack" | |
288 | ||
289 | %install | |
290 | rm -rf $RPM_BUILD_ROOT | |
291 | install -d $RPM_BUILD_ROOT%{_rpmlibdir} | |
292 | ||
293 | %{__make} -j1 install \ | |
294 | DESTDIR=$RPM_BUILD_ROOT | |
295 | ||
296 | strip --strip-debug $RPM_BUILD_ROOT%{_bindir}/mono | |
297 | ||
298 | rm -f $RPM_BUILD_ROOT%{_datadir}/jay/[A-Z]* | |
299 | ||
300 | # this way we can run rpmbuild -bi several times, and directories | |
301 | # have more meaningful name. | |
302 | rm -rf pld-doc | |
303 | install -d pld-doc/{webpage,notes} | |
304 | cp -a web/* pld-doc/webpage | |
305 | cp -a docs/* pld-doc/notes | |
306 | rm -f pld-doc/*/Makefile* | |
307 | ||
308 | rm -rf $RPM_BUILD_ROOT%{_datadir}/libgc-mono | |
309 | ||
310 | mv -f $RPM_BUILD_ROOT%{_bindir}/mono-find-* $RPM_BUILD_ROOT%{_rpmlibdir} | |
311 | ||
312 | # loadable modules | |
313 | rm $RPM_BUILD_ROOT%{_libdir}/lib{MonoPosixHelper,MonoSupportW,ikvm-native}.la | |
314 | %if %{with static_libs} | |
315 | rm $RPM_BUILD_ROOT%{_libdir}/lib{MonoPosixHelper,MonoSupportW,ikvm-native}.a | |
316 | %endif | |
317 | ||
318 | %clean | |
319 | rm -rf $RPM_BUILD_ROOT | |
320 | ||
321 | %post -p /sbin/ldconfig | |
322 | %postun -p /sbin/ldconfig | |
323 | ||
324 | %files | |
325 | %defattr(644,root,root,755) | |
326 | %doc AUTHORS ChangeLog NEWS README pld-doc/* | |
327 | %if %{with mint} | |
328 | %attr(755,root,root) %{_bindir}/mint | |
329 | %else | |
330 | %attr(755,root,root) %{_bindir}/mono | |
331 | %endif | |
332 | %attr(755,root,root) %{_bindir}/caspol | |
333 | %attr(755,root,root) %{_bindir}/cert2spc | |
334 | %attr(755,root,root) %{_bindir}/certmgr | |
335 | %attr(755,root,root) %{_bindir}/chktrust | |
336 | %attr(755,root,root) %{_bindir}/dtd2rng | |
337 | %attr(755,root,root) %{_bindir}/gacutil1 | |
338 | %attr(755,root,root) %{_bindir}/gacutil | |
339 | %attr(755,root,root) %{_bindir}/gacutil2 | |
340 | %attr(755,root,root) %{_bindir}/httpcfg | |
341 | %attr(755,root,root) %{_bindir}/installvst | |
342 | %attr(755,root,root) %{_bindir}/makecert | |
343 | %attr(755,root,root) %{_bindir}/mconfig | |
344 | %attr(755,root,root) %{_bindir}/mkbundle | |
345 | %attr(755,root,root) %{_bindir}/mkbundle1 | |
346 | %attr(755,root,root) %{_bindir}/mkbundle2 | |
347 | %attr(755,root,root) %{_bindir}/mono-service | |
348 | %attr(755,root,root) %{_bindir}/mono-service2 | |
349 | %attr(755,root,root) %{_bindir}/mono-test-install | |
350 | %attr(755,root,root) %{_bindir}/mono-xmltool | |
351 | %attr(755,root,root) %{_bindir}/mozroots | |
352 | %attr(755,root,root) %{_bindir}/secutil | |
353 | %attr(755,root,root) %{_bindir}/setreg | |
354 | %attr(755,root,root) %{_bindir}/sgen | |
355 | %attr(755,root,root) %{_bindir}/signcode | |
356 | %attr(755,root,root) %{_bindir}/sn | |
357 | %if %{with mint} | |
358 | %attr(755,root,root) %{_libdir}/libmint.so.*.*.* | |
359 | %attr(755,root,root) %ghost %{_libdir}/libmint.so.0 | |
360 | %else | |
361 | %attr(755,root,root) %{_libdir}/libmono.so.*.*.* | |
362 | %attr(755,root,root) %ghost %{_libdir}/libmono.so.0 | |
363 | %attr(755,root,root) %{_libdir}/libmono-profiler-aot.so.*.*.* | |
364 | %attr(755,root,root) %ghost %{_libdir}/libmono-profiler-aot.so.0 | |
365 | %attr(755,root,root) %{_libdir}/libmono-profiler-cov.so.*.*.* | |
366 | %attr(755,root,root) %ghost %{_libdir}/libmono-profiler-cov.so.0 | |
367 | %attr(755,root,root) %{_libdir}/libmono-profiler-logging.so.*.*.* | |
368 | %attr(755,root,root) %ghost %{_libdir}/libmono-profiler-logging.so.0 | |
369 | %endif | |
370 | %attr(755,root,root) %{_libdir}/libMonoPosixHelper.so | |
371 | %attr(755,root,root) %{_libdir}/libMonoSupportW.so | |
372 | %attr(755,root,root) %{_libdir}/libikvm-native.so | |
373 | %dir %{_prefix}/lib/mono | |
374 | %dir %{_prefix}/lib/mono/1.0 | |
375 | %{_prefix}/lib/mono/1.0/*.dll | |
376 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/caspol.exe | |
377 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/cert2spc.exe | |
378 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/certmgr.exe | |
379 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/chktrust.exe | |
380 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/culevel.exe | |
381 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/gacutil.exe | |
382 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/installutil.exe | |
383 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/installvst.exe | |
384 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mkbundle.exe | |
385 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mono-service.exe | |
386 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mozroots.exe | |
387 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/secutil.exe | |
388 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/setreg.exe | |
389 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/signcode.exe | |
390 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/sn.exe | |
391 | %dir %{_prefix}/lib/mono/2.0 | |
392 | %{_prefix}/lib/mono/2.0/*.dll | |
393 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/gacutil.exe | |
394 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/httpcfg.exe | |
395 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/installutil.exe | |
396 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mconfig.exe | |
397 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mkbundle.exe | |
398 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mono-service.exe | |
399 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/sgen.exe | |
400 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/xsd.exe | |
401 | %dir %{_prefix}/lib/mono/2.1 | |
402 | %{_prefix}/lib/mono/2.1/*.dll | |
403 | %attr(755,root,root) %{_prefix}/lib/mono/2.1/smcs.exe | |
404 | %dir %{_prefix}/lib/mono/3.5 | |
405 | %{_prefix}/lib/mono/3.5/*.dll | |
406 | %dir %{_prefix}/lib/mono/compat-1.0 | |
407 | %{_prefix}/lib/mono/compat-1.0/*.dll | |
408 | %dir %{_prefix}/lib/mono/compat-2.0 | |
409 | %{_prefix}/lib/mono/compat-2.0/*.dll | |
410 | %{_prefix}/lib/mono/gac | |
411 | %exclude %{_prefix}/lib/mono/gac/*/*/*.mdb | |
412 | %{_mandir}/man1/cert2spc.1* | |
413 | %{_mandir}/man1/certmgr.1* | |
414 | %{_mandir}/man1/chktrust.1* | |
415 | %{_mandir}/man1/gacutil.1* | |
416 | %{_mandir}/man1/httpcfg.1* | |
417 | %{_mandir}/man1/makecert.1* | |
418 | %{_mandir}/man1/mconfig.1* | |
419 | %{_mandir}/man1/mkbundle.1* | |
420 | %{_mandir}/man1/mint.1* | |
421 | %{_mandir}/man1/mono.1* | |
422 | %{_mandir}/man1/mono-service.1* | |
423 | %{_mandir}/man1/mozroots.1* | |
424 | %{_mandir}/man1/secutil.1* | |
425 | %{_mandir}/man1/setreg.1* | |
426 | %{_mandir}/man1/sgen.1* | |
427 | %{_mandir}/man1/signcode.1* | |
428 | %{_mandir}/man1/sn.1* | |
429 | %{_mandir}/man5/mono-config.5* | |
430 | %dir %{_sysconfdir}/mono | |
431 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/browscap.ini | |
432 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/config | |
433 | %dir %{_sysconfdir}/mono/mconfig | |
434 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/mconfig/config.xml | |
435 | %dir %{_sysconfdir}/mono/1.0 | |
436 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/1.0/DefaultWsdlHelpGenerator.aspx | |
437 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/1.0/machine.config | |
438 | %dir %{_sysconfdir}/mono/2.0 | |
439 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/2.0/DefaultWsdlHelpGenerator.aspx | |
440 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/2.0/machine.config | |
441 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/2.0/settings.map | |
442 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/2.0/web.config | |
443 | %dir %{_sysconfdir}/mono/2.0/Browsers | |
444 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mono/2.0/Browsers/Compat.browser | |
445 | ||
446 | %exclude %{_prefix}/lib/mono/gac/Microsoft.JScript | |
447 | %exclude %{_prefix}/lib/mono/1.0/Microsoft.JScript.dll | |
448 | %exclude %{_prefix}/lib/mono/2.0/Microsoft.JScript.dll | |
449 | %exclude %{_prefix}/lib/mono/gac/monodoc | |
450 | ||
451 | %files jay | |
452 | %defattr(644,root,root,755) | |
453 | %doc mcs/jay/{ACKNOWLEDGEMENTS,ChangeLog,NEW_FEATURES,NOTES,README,README.jay} | |
454 | %attr(755,root,root) %{_bindir}/jay | |
455 | %dir %{_datadir}/jay | |
456 | %{_datadir}/jay/skeleton* | |
457 | %{_mandir}/man1/jay.1* | |
458 | ||
459 | %files jscript | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_bindir}/mjs | |
462 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mjs.exe | |
463 | %{_prefix}/lib/mono/gac/Microsoft.JScript | |
464 | %{_prefix}/lib/mono/1.0/Microsoft.JScript.dll | |
465 | %{_prefix}/lib/mono/2.0/Microsoft.JScript.dll | |
466 | %exclude %{_prefix}/lib/mono/gac/*/*/*.mdb | |
467 | ||
468 | %files compat-links | |
469 | %defattr(644,root,root,755) | |
470 | %attr(755,root,root) %{_bindir}/resgen | |
471 | %attr(755,root,root) %{_bindir}/resgen1 | |
472 | %attr(755,root,root) %{_bindir}/resgen2 | |
473 | ||
474 | %files devel | |
475 | %defattr(644,root,root,755) | |
476 | %attr(755,root,root) %{_bindir}/al | |
477 | %attr(755,root,root) %{_bindir}/al1 | |
478 | %attr(755,root,root) %{_bindir}/al2 | |
479 | %attr(755,root,root) %{_bindir}/cilc | |
480 | %attr(755,root,root) %{_bindir}/disco | |
481 | %attr(755,root,root) %{_bindir}/dtd2xsd | |
482 | %attr(755,root,root) %{_bindir}/genxs | |
483 | %attr(755,root,root) %{_bindir}/genxs1 | |
484 | %attr(755,root,root) %{_bindir}/macpack | |
485 | %attr(755,root,root) %{_bindir}/mono-api-info | |
486 | %attr(755,root,root) %{_bindir}/mono-cil-strip | |
487 | %attr(755,root,root) %{_bindir}/monodis | |
488 | %attr(755,root,root) %{_bindir}/monograph | |
489 | %attr(755,root,root) %{_bindir}/monolinker | |
490 | %attr(755,root,root) %{_bindir}/monop | |
491 | %attr(755,root,root) %{_bindir}/monop1 | |
492 | %attr(755,root,root) %{_bindir}/monop2 | |
493 | %attr(755,root,root) %{_bindir}/mono-shlib-cop | |
494 | %attr(755,root,root) %{_bindir}/nunit-console | |
495 | %attr(755,root,root) %{_bindir}/nunit-console2 | |
496 | %attr(755,root,root) %{_bindir}/pedump | |
497 | %attr(755,root,root) %{_bindir}/permview | |
498 | %attr(755,root,root) %{_bindir}/prj2make | |
499 | %attr(755,root,root) %{_bindir}/smcs | |
500 | %attr(755,root,root) %{_bindir}/soapsuds | |
501 | %attr(755,root,root) %{_bindir}/sqlsharp | |
502 | %attr(755,root,root) %{_bindir}/wsdl | |
503 | %attr(755,root,root) %{_bindir}/wsdl1 | |
504 | %attr(755,root,root) %{_bindir}/wsdl2 | |
505 | %attr(755,root,root) %{_bindir}/xbuild | |
506 | %attr(755,root,root) %{_bindir}/xsd | |
507 | %attr(755,root,root) %{_bindir}/xsd2 | |
508 | %if %{with mint} | |
509 | %attr(755,root,root) %{_libdir}/libmint.so | |
510 | %{_libdir}/libmint.la | |
511 | %else | |
512 | %attr(755,root,root) %{_libdir}/libmono.so | |
513 | %attr(755,root,root) %{_libdir}/libmono-profiler-aot.so | |
514 | %attr(755,root,root) %{_libdir}/libmono-profiler-cov.so | |
515 | %attr(755,root,root) %{_libdir}/libmono-profiler-logging.so | |
516 | %{_libdir}/libmono.la | |
517 | %{_libdir}/libmono-profiler-aot.la | |
518 | %{_libdir}/libmono-profiler-cov.la | |
519 | %{_libdir}/libmono-profiler-logging.la | |
520 | %endif | |
521 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/al.exe | |
522 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/browsercaps-updater.exe | |
523 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/cilc.exe | |
524 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/disco.exe | |
525 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/dtd2rng.exe | |
526 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/dtd2xsd.exe | |
527 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/genxs.exe | |
528 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/ictool.exe | |
529 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/macpack.exe | |
530 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/makecert.exe | |
531 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mono-cil-strip.exe | |
532 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mono-xmltool.exe | |
533 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/monolinker.exe | |
534 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/monop.exe | |
535 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/nunit-console.exe | |
536 | %{_prefix}/lib/mono/1.0/nunit-console.exe.config | |
537 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/permview.exe | |
538 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/prj2make.exe | |
539 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/resgen.exe | |
540 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/soapsuds.exe | |
541 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/wsdl.exe | |
542 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/xsd.exe | |
543 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/al.exe | |
544 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mono-api-info.exe | |
545 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mono-shlib-cop.exe | |
546 | %{_prefix}/lib/mono/2.0/mono-shlib-cop.exe.config | |
547 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/monop.exe | |
548 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/nunit-console.exe | |
549 | %{_prefix}/lib/mono/2.0/nunit-console.exe.config | |
550 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/resgen.exe | |
551 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/sqlsharp.exe | |
552 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/wsdl.exe | |
553 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/xbuild.exe | |
554 | %{_prefix}/lib/mono/2.0/xbuild.rsp | |
555 | %{_prefix}/lib/mono/2.0/MSBuild | |
556 | %{_prefix}/lib/mono/2.0/Microsoft.Build.xsd | |
557 | %{_prefix}/lib/mono/2.0/Microsoft.CSharp.targets | |
558 | %{_prefix}/lib/mono/2.0/Microsoft.Common.targets | |
559 | %{_prefix}/lib/mono/2.0/Microsoft.VisualBasic.targets | |
560 | %{_prefix}/lib/mono/2.0/Microsoft.Common.tasks | |
561 | %attr(755,root,root) %{_rpmlibdir}/mono-find-provides | |
562 | %attr(755,root,root) %{_rpmlibdir}/mono-find-requires | |
563 | %{_datadir}/%{name}-1.0 | |
564 | %{_pkgconfigdir}/cecil.pc | |
565 | %{_pkgconfigdir}/dotnet.pc | |
566 | %{_pkgconfigdir}/dotnet35.pc | |
567 | %{_pkgconfigdir}/mono-cairo.pc | |
568 | %{_pkgconfigdir}/mono-nunit.pc | |
569 | %if %{with mint} | |
570 | %{_pkgconfigdir}/mint.pc | |
571 | %else | |
572 | %{_pkgconfigdir}/mono.pc | |
573 | %endif | |
574 | %{_pkgconfigdir}/smcs.pc | |
575 | %{_includedir}/%{name}-1.0 | |
576 | %{_mandir}/man1/al.1* | |
577 | %{_mandir}/man1/cilc.1* | |
578 | %{_mandir}/man1/disco.1* | |
579 | %{_mandir}/man1/dtd2xsd.1* | |
580 | %{_mandir}/man1/genxs.1* | |
581 | %{_mandir}/man1/macpack.1* | |
582 | %{_mandir}/man1/monodis.1* | |
583 | %{_mandir}/man1/monolinker.1* | |
584 | %{_mandir}/man1/monop.1* | |
585 | %{_mandir}/man1/mono-cil-strip.1* | |
586 | %{_mandir}/man1/mono-shlib-cop.1* | |
587 | %{_mandir}/man1/monostyle.1* | |
588 | %{_mandir}/man1/mono-xmltool.1* | |
589 | %{_mandir}/man1/oldmono.1* | |
590 | %{_mandir}/man1/permview.1* | |
591 | %{_mandir}/man1/prj2make.1* | |
592 | %{_mandir}/man1/resgen.1* | |
593 | %{_mandir}/man1/soapsuds.1* | |
594 | %{_mandir}/man1/sqlsharp.1* | |
595 | %{_mandir}/man1/wsdl.1* | |
596 | %{_mandir}/man1/xsd.1* | |
597 | ||
598 | %files debug | |
599 | %defattr(644,root,root,755) | |
600 | %{_prefix}/lib/mono/1.0/*.mdb | |
601 | %{_prefix}/lib/mono/2.0/*.mdb | |
602 | %{_prefix}/lib/mono/2.1/*.mdb | |
603 | %{_prefix}/lib/mono/gac/*/*/*.mdb | |
604 | ||
605 | %files csharp | |
606 | %defattr(644,root,root,755) | |
607 | %attr(755,root,root) %{_bindir}/csharp | |
608 | %attr(755,root,root) %{_bindir}/mcs | |
609 | %attr(755,root,root) %{_bindir}/mcs1 | |
610 | %attr(755,root,root) %{_bindir}/gmcs | |
611 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mcs.exe | |
612 | %{_prefix}/lib/mono/1.0/mcs.exe.config | |
613 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/gmcs.exe | |
614 | %{_prefix}/lib/mono/2.0/gmcs.exe.config | |
615 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/csharp.exe | |
616 | %{_mandir}/man1/mcs.1* | |
617 | %{_mandir}/man1/csharp.1* | |
618 | ||
619 | %files ilasm | |
620 | %defattr(644,root,root,755) | |
621 | %attr(755,root,root) %{_bindir}/ilasm | |
622 | %attr(755,root,root) %{_bindir}/ilasm1 | |
623 | %attr(755,root,root) %{_bindir}/ilasm2 | |
624 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/ilasm.exe | |
625 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/ilasm.exe | |
626 | %{_mandir}/man1/ilasm.1* | |
627 | ||
628 | %files monodoc | |
629 | %defattr(644,root,root,755) | |
630 | %attr(755,root,root) %{_bindir}/mdassembler | |
631 | %attr(755,root,root) %{_bindir}/mdoc* | |
632 | %attr(755,root,root) %{_bindir}/mod | |
633 | %attr(755,root,root) %{_bindir}/monodocer | |
634 | %attr(755,root,root) %{_bindir}/monodocs2html | |
635 | %attr(755,root,root) %{_bindir}/monodocs2slashdoc | |
636 | %attr(755,root,root) %{_bindir}/mdvalidater | |
637 | %attr(755,root,root) %{_prefix}/lib/mono/1.0/mod.exe | |
638 | %attr(755,root,root) %{_prefix}/lib/mono/2.0/mdoc.exe | |
639 | %attr(755,root,root) %{_prefix}/lib/mono/monodoc/monodoc.dll | |
640 | %{_prefix}/lib/mono/gac/monodoc | |
641 | %dir %{_prefix}/lib/mono/monodoc | |
642 | %dir %{_prefix}/lib/monodoc | |
643 | %{_prefix}/lib/monodoc/* | |
644 | %{_pkgconfigdir}/monodoc.pc | |
645 | %{_mandir}/man1/mdassembler.1* | |
646 | %{_mandir}/man1/mdoc*.1* | |
647 | %{_mandir}/man1/monodocer.1* | |
648 | %{_mandir}/man1/monodocs2html.1* | |
649 | %{_mandir}/man1/mdvalidater.1* | |
650 | %{_mandir}/man5/mdoc.5* | |
651 | ||
652 | %if %{with static_libs} | |
653 | %files static | |
654 | %defattr(644,root,root,755) | |
655 | %if %{with mint} | |
656 | %{_libdir}/libmint.a | |
657 | %else | |
658 | %{_libdir}/libmono.a | |
659 | %{_libdir}/libmono-profiler-aot.a | |
660 | %{_libdir}/libmono-profiler-cov.a | |
661 | %{_libdir}/libmono-profiler-logging.a | |
662 | %endif | |
663 | %endif |