This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
/
mono-tools.spec.in
102 lines (91 loc) · 2.84 KB
/
mono-tools.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Name: mono-tools
Version: @VERSION@
Release: 0
License: GPL v2 only ; LGPL v2.0 only ; MIT License (or similar)
BuildArch: noarch
Url: http://go-mono.org/
Source0: %{name}-%{version}.tar.bz2
Summary: Collection of Tools and Utilities for Mono
Group: Development/Tools/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: mono-devel mono-nunit monodoc-core
BuildRequires: update-desktop-files
BuildRequires: webkit-sharp
BuildRequires: glade-sharp2
%description
Mono Tools is a collection of development and testing programs and
utilities for use with Mono.
%files -f %{name}.lang
%defattr(-, root, root)
%_bindir/create-native-map
%_bindir/emveepee
%_bindir/gendarme
%_bindir/gendarme-wizard
%_bindir/gd2i
%_bindir/gsharp
%_bindir/gui-compare
%_bindir/ilcontrast
%_bindir/minvoke
%_bindir/monodoc
%_bindir/mperfmon
%_bindir/mprof-decoder
%_bindir/mprof-heap-viewer
%_datadir/applications/gendarme-wizard.desktop
%_datadir/applications/gsharp.desktop
%_datadir/applications/ilcontrast.desktop
%_datadir/applications/monodoc.desktop
%_datadir/create-native-map
%_datadir/icons/hicolor/*/apps/monodoc.png
%_datadir/pixmaps/gendarme.svg
%_datadir/pixmaps/ilcontrast.png
%_datadir/pixmaps/monodoc.png
%_datadir/pkgconfig/create-native-map.pc
%_datadir/pkgconfig/gendarme-framework.pc
%_mandir/man1/create-native-map*
%_mandir/man1/gd2i*
%_mandir/man1/gendarme*
%_mandir/man1/mperfmon*
%_mandir/man1/mprof-decoder*
%_mandir/man1/mprof-heap-viewer*
%_mandir/man5/gendarme*
%_prefix/lib/create-native-map
%_prefix/lib/gendarme
%_prefix/lib/gsharp
%_prefix/lib/gui-compare
%_prefix/lib/ilcontrast
%_prefix/lib/minvoke
%_prefix/lib/mono-tools
%_prefix/lib/monodoc/*.dll*
%_prefix/lib/monodoc/*.exe*
%_prefix/lib/monodoc/sources
%_prefix/lib/mperfmon
%package -n monodoc-http
License: X11/MIT
Summary: ASP.NET front-end for displaying Monodoc documentation
Group: Development/Tools/Other
%description -n monodoc-http
Monodoc-http provides an ASP.NET front-end for displaying installed
Monodoc documentation.
%files -n monodoc-http
%defattr(-, root, root)
%_prefix/lib/monodoc/web
%prep
%setup -q
%build
./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib --sysconfdir=%{_sysconfdir} --mandir=%{_mandir}
%install
make install DESTDIR=%{buildroot}
%suse_update_desktop_file monodoc
%suse_update_desktop_file ilcontrast
%suse_update_desktop_file gendarme-wizard
%suse_update_desktop_file gsharp
# Move create-native-map stuff out of lib into share
mkdir $RPM_BUILD_ROOT/%_prefix/share/create-native-map
mv $RPM_BUILD_ROOT/%_prefix/lib/create-native-map/MapAttribute.cs $RPM_BUILD_ROOT/%_prefix/share/create-native-map
mv $RPM_BUILD_ROOT/%_prefix/lib/pkgconfig $RPM_BUILD_ROOT/%_prefix/share
%find_lang %{name}
%clean
rm -Rf %{buildroot}
%post
%{_bindir}/monodoc --make-index
%changelog