]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.mono | |
2 | Summary: Debugger for mono | |
3 | Summary(pl.UTF-8): Odpluskiwacz dla mono | |
4 | Name: mono-debugger | |
5 | Version: 2.6 | |
6 | Release: 1 | |
7 | # mono-debugger itself on MIT, but BFD libs enforce GPL | |
8 | License: GPL v2+ | |
9 | Group: Development/Tools | |
10 | # latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/ | |
11 | Source0: http://ftp.novell.com/pub/mono/sources/mono-debugger/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: a6cac2d8dc8f788a7b2b35cd3f7204dc | |
13 | Patch0: %{name}-termcap.patch | |
14 | URL: http://www.mono-project.com/ | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: glib2-devel >= 1:2.0.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: mono-csharp >= 2.0 | |
20 | BuildRequires: monodoc | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: readline-devel | |
23 | Requires: mono >= 2.0 | |
24 | ExclusiveArch: %{ix86} %{x8664} | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Debugger for mono. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Odpluskwiacz dla mono. | |
32 | ||
33 | %package devel | |
34 | Summary: Development files for mono debugger | |
35 | Summary(pl.UTF-8): Pliki potrzebne programistom korzystajÄ…cym z bibliotek odpluskiwacza mono | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Obsoletes: mono-debugger-static | |
39 | ||
40 | %description devel | |
41 | Development files for mono debugger. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki potrzebne programistom korzystajÄ…cym z bibliotek odpluskwiacza | |
45 | mono. | |
46 | ||
47 | %package doc | |
48 | Summary: Documentation for mono debugger | |
49 | Summary(pl.UTF-8): Dokumentacja odpluskiwacza dla mono | |
50 | Group: Documentation | |
51 | Requires: monodoc | |
52 | ||
53 | %description doc | |
54 | Documentation for mono debugger. | |
55 | ||
56 | %description doc -l pl.UTF-8 | |
57 | Dokumentacja odpluskwiacza dla mono. | |
58 | ||
59 | %prep | |
60 | %setup -q | |
61 | %patch0 -p1 | |
62 | ||
63 | %build | |
64 | %{__libtoolize} | |
65 | %{__aclocal} | |
66 | %{__autoheader} | |
67 | %{__automake} | |
68 | %{__autoconf} | |
69 | %configure \ | |
70 | --disable-static | |
71 | %{__make} -j1 | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
79 | #cp doc/debugger.source $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
80 | #cp doc/debugger.tree $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
81 | #cp doc/debugger.zip $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
82 | ||
83 | # these are used just as DllImport in C# code, so no devel part | |
84 | rm $RPM_BUILD_ROOT%{_libdir}/libmonodebugger*.la | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc AUTHORS COPYING ChangeLog NEWS README doc/*.txt | |
95 | %attr(755,root,root) %{_bindir}/mdb | |
96 | %attr(755,root,root) %{_bindir}/mdb-symbolreader | |
97 | %attr(755,root,root) %{_libdir}/libmonodebuggerreadline.so.*.*.* | |
98 | %attr(755,root,root) %ghost %{_libdir}/libmonodebuggerreadline.so.0 | |
99 | %attr(755,root,root) %{_libdir}/libmonodebuggerreadline.so | |
100 | %attr(755,root,root) %{_libdir}/libmonodebuggerserver.so.*.*.* | |
101 | %attr(755,root,root) %ghost %{_libdir}/libmonodebuggerserver.so.0 | |
102 | %attr(755,root,root) %{_libdir}/libmonodebuggerserver.so | |
103 | %{_prefix}/lib/mono/2.0/mdb-symbolreader.exe | |
104 | %{_prefix}/lib/mono/2.0/mdb.exe | |
105 | %{_prefix}/lib/mono/gac/Mono.Debugger | |
106 | %{_prefix}/lib/mono/gac/Mono.Debugger.SymbolWriter | |
107 | %{_libdir}/mono/gac/Mono.Debugger.Frontend | |
108 | ||
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
111 | %dir %{_prefix}/lib/mono/%{name} | |
112 | %{_prefix}/lib/mono/%{name}/Mono.Debugger.dll | |
113 | %{_prefix}/lib/mono/%{name}/Mono.Debugger.SymbolWriter.dll | |
114 | %{_libdir}/mono/mono-debugger/Mono.Debugger.Frontend.dll | |
115 | %{_pkgconfigdir}/mono-debugger.pc | |
116 | %{_pkgconfigdir}/mono-debugger-frontend.pc | |
117 | ||
118 | #%files doc | |
119 | #%defattr(644,root,root,755) | |
120 | #%{_libdir}/monodoc/sources/* |