]> git.pld-linux.org Git - packages/mono-debugger.git/commitdiff
- dropped -static (libs used only as DllImport)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 23 Mar 2008 13:12:57 +0000 (13:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- updated mono BR
- ghost soname symlinks

Changed files:
    mono-debugger.spec -> 1.29

mono-debugger.spec

index e2b278eb49e7784e26b2aaab60b6cea69d65c798..dc81c6575ffdeb73c31db2c506c1fa8db6a20073 100644 (file)
@@ -4,24 +4,24 @@ Summary(pl.UTF-8):    Odpluskiwacz dla mono
 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
@@ -35,6 +35,7 @@ Summary:      Development files for mono debugger
 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.
@@ -42,18 +43,6 @@ Development files for mono debugger.
 %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
@@ -68,7 +57,6 @@ Dokumentacja odpluskwiacza dla mono.
 
 %prep
 %setup -q
-#%patch0 -p1
 %patch0 -p1
 
 %build
@@ -77,7 +65,8 @@ Dokumentacja odpluskwiacza dla mono.
 %{__autoheader}
 %{__automake}
 %{__autoconf}
-%configure
+%configure \
+       --disable-static
 %{__make}
 
 %install
@@ -90,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 #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
 
@@ -98,22 +90,26 @@ rm -rf $RPM_BUILD_ROOT
 
 %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)
This page took 0.080964 seconds and 4 git commands to generate.