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