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