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