]>
Commit | Line | Data |
---|---|---|
aae2b8b6 | 1 | %include /usr/lib/rpm/macros.mono |
6f8d869f | 2 | Summary: Debugger for mono |
269bb0dc | 3 | Summary(pl.UTF-8): Odpluskiwacz dla mono |
6f8d869f | 4 | Name: mono-debugger |
91ae81ac | 5 | Version: 0.31 |
6 | Release: 1 | |
6f8d869f | 7 | License: GPL |
7852e67b | 8 | Group: Development/Tools |
592453a3 | 9 | Source0: http://go-mono.com/sources/mono-debugger/%{name}-%{version}.tar.gz |
91ae81ac | 10 | # Source0-md5: 6ad73b85380b85d2be7feffcefe26a5f |
592453a3 | 11 | #Source0: http://primates.ximian.com/~martin/debugger/%{name}-%{version}.tar.gz |
7c99e865 | 12 | Patch0: %{name}-build-doc.patch |
91ae81ac | 13 | Patch1: %{name}-termcap.patch |
6f8d869f MM |
14 | URL: http://www.go-mono.com/ |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
aae2b8b6 | 17 | BuildRequires: glib2-devel |
125d5d64 | 18 | BuildRequires: libtool |
1e144fc5 | 19 | BuildRequires: mono-csharp >= 1.1.16 |
20dac992 | 20 | BuildRequires: mono-jay |
6abb504f | 21 | BuildRequires: monodoc |
20dac992 | 22 | BuildRequires: pkgconfig |
6f8d869f | 23 | BuildRequires: readline-devel |
fa26baf3 | 24 | Requires: mono >= 1.2.1 |
6f8d869f MM |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Debugger for mono. | |
29 | ||
269bb0dc | 30 | %description -l pl.UTF-8 |
254ebf22 | 31 | Odpluskwiacz dla mono. |
6f8d869f | 32 | |
20dac992 | 33 | %package devel |
34 | Summary: Development files for mono debugger | |
269bb0dc | 35 | Summary(pl.UTF-8): Pliki potrzebne programistom korzystającym z bibliotek odpluskiwacza mono |
20dac992 | 36 | Group: Development/Libraries |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Development files for mono debugger. | |
41 | ||
269bb0dc JR |
42 | %description devel -l pl.UTF-8 |
43 | Pliki potrzebne programistom korzystającym z bibliotek odpluskwiacza mono. | |
20dac992 | 44 | |
45 | %package static | |
46 | Summary: Static mono debugger libraries | |
269bb0dc | 47 | Summary(pl.UTF-8): Statyczne biblioteki odpluskiwacza mono |
20dac992 | 48 | Group: Development/Libraries |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static mono debugger libraries. | |
53 | ||
269bb0dc | 54 | %description static -l pl.UTF-8 |
254ebf22 | 55 | Statyczne biblioteki odpluskwiacza mono. |
20dac992 | 56 | |
57 | %package doc | |
58 | Summary: Documentation for mono debugger | |
269bb0dc | 59 | Summary(pl.UTF-8): Dokumentacja odpluskiwacza dla mono |
20dac992 | 60 | Group: Documentation |
61 | Requires: monodoc | |
62 | ||
63 | %description doc | |
64 | Documentation for mono debugger. | |
65 | ||
269bb0dc | 66 | %description doc -l pl.UTF-8 |
254ebf22 | 67 | Dokumentacja odpluskwiacza dla mono. |
20dac992 | 68 | |
6f8d869f | 69 | %prep |
52b53e64 | 70 | %setup -q |
aae2b8b6 | 71 | #%patch0 -p1 |
91ae81ac | 72 | %patch1 -p1 |
6f8d869f MM |
73 | |
74 | %build | |
75 | %{__libtoolize} | |
76 | %{__aclocal} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
79 | %{__autoconf} | |
80 | %configure | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
125d5d64 JB |
85 | |
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
6f8d869f | 88 | |
aae2b8b6 | 89 | #cp doc/debugger.source $RPM_BUILD_ROOT%{_libdir}/monodoc/sources |
90 | #cp doc/debugger.tree $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
91 | #cp doc/debugger.zip $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
7c99e865 | 92 | |
125d5d64 JB |
93 | %clean |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
20dac992 | 96 | %post -p /sbin/ldconfig |
97 | %postun -p /sbin/ldconfig | |
98 | ||
6f8d869f MM |
99 | %files |
100 | %defattr(644,root,root,755) | |
52b53e64 | 101 | %doc NEWS README ChangeLog TODO AUTHORS doc/*.t* RELEASE-NOTES-* |
6f8d869f | 102 | %attr(755,root,root) %{_bindir}/* |
cb8db9fd JB |
103 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
104 | %attr(755,root,root) %{_libdir}/lib*.so | |
2f94765e | 105 | %{_prefix}/lib/mono/1.0/mdb.exe |
106 | %{_prefix}/lib/mono/gac/* | |
107 | %{_prefix}/lib/mono/%{name} | |
20dac992 | 108 | |
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
20dac992 | 111 | %{_libdir}/lib*.la |
9880f797 | 112 | %{_pkgconfigdir}/*.pc |
20dac992 | 113 | |
114 | %files static | |
115 | %defattr(644,root,root,755) | |
116 | %{_libdir}/lib*.a | |
117 | ||
aae2b8b6 | 118 | #%files doc |
119 | #%defattr(644,root,root,755) | |
120 | #%{_libdir}/monodoc/sources/* |