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