]> git.pld-linux.org Git - packages/mono-tools.git/blob - mono-tools.spec
- BR: gettext-devel, mono-csharp
[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.6.2
10 Release:        1
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:  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
36 ExcludeArch:    i386
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Mono Tools is a collection of development and testing programs and
41 utilities for use with Mono.
42
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.
46
47 %package gecko
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
53
54 %description gecko
55 Gecko based monodoc HTML renderer.
56
57 %description gecko -l pl.UTF-8
58 Oparty na gecko wyświetlacz HTML-a dla monodoc.
59
60 %package webkit
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
66
67 %description webkit
68 WebKit based monodoc HTML renderer.
69
70 %description webkit -l pl.UTF-8
71 Oparty na WebKit wyświetlacz HTML-a dla monodoc.
72
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
79
80 %description monowebbrowser
81 Mono.WebBrowser based monodoc HTML renderer.
82
83 %description monowebbrowser -l pl.UTF-8
84 Oparty na Mono.WebBrowser wyświetlacz HTML-a dla monodoc.
85
86 %package gtkhtml
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
92
93 %description gtkhtml
94 GtkHTML based monodoc HTML renderer.
95
96 %description gtkhtml -l pl.UTF-8
97 Oparty na GtkHTML wyświetlacz HTML-a dla monodoc.
98
99 %package gendarme
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
104
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.
111
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.
118
119 %package gui-compare
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
123
124 %description gui-compare
125 Compares API changes between different assemblies.
126
127 %description gui-compare -l pl.UTF-8
128 Porównuje zmiany API między różnymi assembly.
129
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
134
135 %description mprof-decoder
136 Decodes the contents of a logging profiler output file and prints the
137 data on standard output.
138
139 %description mprof-decoder -l pl.UTF-8
140 Dekoduje zawartość pliku wynikowego profilera logującego i wypisuje
141 dane na standardowe wyjście.
142
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
147
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
152 its contents.
153
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
158 zawartości.
159
160 %prep
161 %setup -q
162 %patch0 -p1
163
164 # as expected by ilcontrast script
165 sed -i -e 's,\$(libdir)/ilcontrast,$(prefix)/lib/ilcontrast,' ilcontrast/Makefile.am
166
167 %build
168 %{__aclocal}
169 %{__autoconf}
170 %{__automake}
171 %configure
172 %{__make} -j1
173
174 %install
175 rm -rf $RPM_BUILD_ROOT
176
177 %{__make} install \
178         DESTDIR=$RPM_BUILD_ROOT \
179         pkglibdir=%{_prefix}/lib/mono-tools \
180         pkgconfigdir=%{_pkgconfigdir}
181
182 %find_lang %{name}
183
184 %clean
185 rm -rf $RPM_BUILD_ROOT
186
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*
218
219 %if %{with gecko}
220 %files gecko
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
227 %endif
228
229 %files webkit
230 %defattr(644,root,root,755)
231 %{_prefix}/lib/monodoc/WebKitHtmlRender.dll
232
233 %files monowebbrowser
234 %defattr(644,root,root,755)
235 %{_prefix}/lib/monodoc/MonoWebBrowserHtmlRender.dll
236
237 %files gtkhtml
238 %defattr(644,root,root,755)
239 %{_prefix}/lib/monodoc/GtkHtmlHtmlRender.dll
240
241 %files gendarme
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*
253
254 %files gui-compare
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_bindir}/gui-compare
257 %{_prefix}/lib/gui-compare
258
259 %files mprof-decoder
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*
265
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*
This page took 0.118859 seconds and 3 git commands to generate.