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