SPECS: mono-debugger.spec - dropped -static (libs used only as Dll...

qboosh qboosh at pld-linux.org
Sun Mar 23 14:13:03 CET 2008


Author: qboosh                       Date: Sun Mar 23 13:13:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- dropped -static (libs used only as DllImport)
- updated mono BR
- ghost soname symlinks

---- Files affected:
SPECS:
   mono-debugger.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/mono-debugger.spec
diff -u SPECS/mono-debugger.spec:1.28 SPECS/mono-debugger.spec:1.29
--- SPECS/mono-debugger.spec:1.28	Fri Mar 14 21:10:02 2008
+++ SPECS/mono-debugger.spec	Sun Mar 23 14:12:57 2008
@@ -5,24 +5,24 @@
 Name:		mono-debugger
 Version:	0.60
 Release:	1
-License:	GPL
+# mono-debugger itself on MIT, but BFD libs enforce GPL
+License:	GPL v2+
 Group:		Development/Tools
 #Source0Download: http://go-mono.com/sources-stable/
 Source0:	http://go-mono.com/sources/mono-debugger/%{name}-%{version}.tar.bz2
 # Source0-md5:	5d13af893299af49ad6abf2d76a35df6
-#Source0:	http://primates.ximian.com/~martin/debugger/%{name}-%{version}.tar.gz
 Patch0:		%{name}-termcap.patch
 URL:		http://www.go-mono.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	glib2-devel >= 2.0.0
 BuildRequires:	libtool
-BuildRequires:	mono-csharp >= 1.2.4
+BuildRequires:	mono-csharp >= 1.2.5
 BuildRequires:	mono-jay
 BuildRequires:	monodoc
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
-Requires:	mono >= 1.2.4
+Requires:	mono >= 1.2.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +36,7 @@
 Summary(pl.UTF-8):	Pliki potrzebne programistom korzystającym z bibliotek odpluskiwacza mono
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Obsoletes:	mono-debugger-static
 
 %description devel
 Development files for mono debugger.
@@ -43,18 +44,6 @@
 %description devel -l pl.UTF-8
 Pliki potrzebne programistom korzystającym z bibliotek odpluskwiacza mono.
 
-%package static
-Summary:	Static mono debugger libraries
-Summary(pl.UTF-8):	Statyczne biblioteki odpluskiwacza mono
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static mono debugger libraries.
-
-%description static -l pl.UTF-8
-Statyczne biblioteki odpluskwiacza mono.
-
 %package doc
 Summary:	Documentation for mono debugger
 Summary(pl.UTF-8):	Dokumentacja odpluskiwacza dla mono
@@ -69,7 +58,6 @@
 
 %prep
 %setup -q
-#%patch0 -p1
 %patch0 -p1
 
 %build
@@ -78,7 +66,8 @@
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-%configure
+%configure \
+	--disable-static
 %{__make}
 
 %install
@@ -91,6 +80,9 @@
 #cp doc/debugger.tree $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 #cp doc/debugger.zip $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 
+# these are used just as DllImport in C# code, so no devel part
+rm $RPM_BUILD_ROOT%{_libdir}/libmonodebugger*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -99,22 +91,26 @@
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS README ChangeLog TODO AUTHORS doc/*.t* RELEASE-NOTES-*
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %{_libdir}/lib*.so
+%doc AUTHORS COPYING ChangeLog NEWS README RELEASE-NOTES-* TODO doc/*.txt
+%attr(755,root,root) %{_bindir}/mdb
+%attr(755,root,root) %{_libdir}/libmonodebuggerreadline.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmonodebuggerreadline.so.0
+%attr(755,root,root) %{_libdir}/libmonodebuggerreadline.so
+%attr(755,root,root) %{_libdir}/libmonodebuggerserver.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmonodebuggerserver.so.0
+%attr(755,root,root) %{_libdir}/libmonodebuggerserver.so
 %{_prefix}/lib/mono/1.0/mdb.exe
-%{_prefix}/lib/mono/gac/*
-%{_prefix}/lib/mono/%{name}
+%{_prefix}/lib/mono/gac/Mono.Debugger
+%{_prefix}/lib/mono/gac/Mono.Debugger.Backend
+%{_prefix}/lib/mono/gac/Mono.Debugger.Cecil
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/lib*.la
-%{_pkgconfigdir}/*.pc
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%dir %{_prefix}/lib/mono/%{name}
+%{_prefix}/lib/mono/%{name}/Mono.Debugger.dll
+%{_prefix}/lib/mono/%{name}/Mono.Debugger.Backend.dll
+%{_prefix}/lib/mono/%{name}/Mono.Debugger.Cecil.dll
+%{_pkgconfigdir}/mono-debugger.pc
 
 #%files doc
 #%defattr(644,root,root,755)
@@ -126,6 +122,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2008-03-23 13:12:57  qboosh
+- dropped -static (libs used only as DllImport)
+- updated mono BR
+- ghost soname symlinks
+
 Revision 1.28  2008-03-14 20:10:02  wolf
 - 0.60
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mono-debugger.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list