rpms/mono-debugger/devel mono-debugger.spec, NONE, 1.1 monodebug-configure.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Sat Sep 2 09:30:31 UTC 2006


Author: pfj

Update of /cvs/extras/rpms/mono-debugger/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24191/devel

Modified Files:
	.cvsignore sources 
Added Files:
	mono-debugger.spec monodebug-configure.patch 
Log Message:
auto-import mono-debugger-0.30-4 on branch devel from mono-debugger-0.30-4.src.rpm


--- NEW FILE mono-debugger.spec ---
Summary: A debugger for Mono
Name: mono-debugger
Version: 0.30
Release: 4%{?dist}
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.go-mono.com/sources/mono-debugger
Source0: http://www.go-mono.com/sources/%{name}/%{name}-%{version}.tar.gz
Patch0: monodebug-configure.patch
BuildRequires: pkgconfig, readline-devel, termcap, ncurses-devel
BuildRequires: mono-lib-devel mono-nunit autoconf automake
Group: Development/Tools

%description

A debugger is an important tool for development. The Mono 
Debugger (MDB) can debug both managed and unmanaged applications. 
It provides a reusable library that can be used to add debugger 
functionality to different frontends. The debugger package 
includes a console debugger named "mdb", and MonoDevelop 
provides a GUI interface to the debugger.
	  
%package devel
Summary: Development files for mono-debugger
Requires: %{name} = %{version}-%{release} pkgconfig
Group: Development/Libraries

%description devel
Development package for mono-debugger

%prep
%setup -q
%patch0 -p1
autoreconf

%build
%configure --disable-static --libdir=%{_libdir}
make %{?_smp_mflags}

%install
rm -rf ${RPM_BUILD_ROOT}
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
make DESTDIR=${RPM_BUILD_ROOT} install
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'

%postun -p /sbin/ldconfig

%post -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README README.FreeBSD TODO NEWS RELEASE-NOTES*
%{_bindir}/mdb
%{_libdir}/*.so.*
%{_libdir}/mono/1.0/*.exe
%{_libdir}/mono/mono-debugger/
%{_libdir}/mono/gac/Mono.Debugger/
%{_libdir}/mono/gac/Mono.Debugger.Cecil/

%files devel
%defattr(-,root,root)
%doc README.build
%{_libdir}/pkgconfig/mono-debugger.pc
%{_libdir}/libmono*.so

%changelog
* Mon Aug 28 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.30-4
- added defattr to devel
- removed the disable debug
- fixed source0

* Sun Aug 27 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.30-3
- Added configure.in patch
- Added additional BRs for above patch
- Moved README.build to the devel package

* Wed Aug 23 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.30-2
- Removed the mono hack
- Added pkgconfig for the devel package
- Reverted monodir in spec to libdir
- Added additional BRs to satisfy mock

* Wed Aug 16 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.30-1
- bump to new version
- Added devel package
- added clean
- changed the mono hack
- altered the BR to now use mono-devtools

* Sun Jun 04 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.12-4
- Fixed ownership problems
- Added 64 bit fix
- Added --disable-static to the configure line

* Sun Apr 23 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.12-3
- removed the static libdir
- added exclusivearchs
- added exports to fix the x86_64 problem

* Tue Apr 18 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.12-2
- libdir is now usr-lib irrespective of architecture built on
- spec file fixes and small alterations

* Sun Apr 16 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 0.12-1
- Initial import for FE
- Spec file based roughly on the one from the mono-project guys


monodebug-configure.patch:

--- NEW FILE monodebug-configure.patch ---
--- mono-debugger-0.30/configure.in	2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/configure.in	2006-08-27 10:33:30.000000000 +0100
@@ -153,7 +153,7 @@
    AC_SUBST(WRAPPER_CFLAGS)
    AC_SUBST(WRAPPER_LIBS)
 
-   GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib'
+   GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(libdir) /root $(DESTDIR)$(libdir)'
    AC_PATH_PROG(GACUTIL, gacutil, no)
    if test "x$GACUTIL" = "xno" ; then
       AC_MSG_ERROR([No gacutil tool found])

--- mono-debugger-0.30/mono-debugger.pc.in	2006-07-18 17:59:13.000000000 +0100
+++ mono-debugger-0.30/mono-debugger.pc.in	2006-08-27 10:35:11.000000000 +0100
@@ -1,9 +1,9 @@
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/$(lib)
 
 
 Name: Mono.Debugger
 Description: Debugging API for Mono
 Version: @VERSION@
-Libs: -r:${prefix}/lib/mono/mono-debugger/Mono.Debugger.dll
+Libs: -r:@libdir@/mono/mono-debugger/Mono.Debugger.dll

--- mono-debugger-0.30/build/Makefile.am	2006-07-18 17:59:12.000000000 +0100
+++ mono-debugger-0.30/build/Makefile.am	2006-08-27 10:58:34.000000000 +0100
@@ -1,4 +1,4 @@
-onedir = $(prefix)/lib/mono/1.0
+onedir = $(libdir)/mono/1.0
 
 bin_SCRIPTS = mdb
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mono-debugger/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Sep 2006 09:29:02 -0000	1.1
+++ .cvsignore	2 Sep 2006 09:30:31 -0000	1.2
@@ -0,0 +1 @@
+mono-debugger-0.30.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mono-debugger/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Sep 2006 09:29:02 -0000	1.1
+++ sources	2 Sep 2006 09:30:31 -0000	1.2
@@ -0,0 +1 @@
+b0352d2537eba7ce2c63d6d7ce795d87  mono-debugger-0.30.tar.gz




More information about the scm-commits mailing list