rpms/mono-basic/devel mono-basic.patch, NONE, 1.1 mono-basic.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Tue Jan 8 09:07:30 UTC 2008


Author: pfj

Update of /cvs/pkgs/rpms/mono-basic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22017/devel

Modified Files:
	.cvsignore sources 
Added Files:
	mono-basic.patch mono-basic.spec 
Log Message:

Initial import 


mono-basic.patch:

--- NEW FILE mono-basic.patch ---
--- mono-basic-1.2.6/configure	2007-11-08 23:57:52.000000000 +0000
+++ mono-basic-1.2.6/configure-new	2007-12-20 11:29:06.000000000 +0000
@@ -18,7 +18,7 @@
 
 echo "prefix=$prefix" > build/config.make
 echo "exec_prefix=\${prefix}" >> build/config.make
-echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
+echo "mono_libdir=\@@LIBDIR@@" >> build/config.make
 echo "MCS_FLAGS=-debug+" >> build/config.make
 echo "RUNTIME=mono" >> build/config.make
 echo "MONO_BASIC_VERSION=$VERSION" >> build/config.make
--- mono-basic-1.2.6/build/config-default.make	2007-04-20 18:25:48.000000000 +0100
+++ mono-basic-1.2.6/build/config-default-new.make	2007-12-20 11:29:58.000000000 +0000
@@ -15,7 +15,7 @@
 CFLAGS = -g -O2
 prefix = /usr/local
 exec_prefix = $(prefix)
-mono_libdir = $(exec_prefix)/lib
+mono_libdir = $(libdir)
 RUNTIME = mono
 TEST_RUNTIME = MONO_PATH="$(prefix)/lib/mono/2.0$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) --debug
 
--- mono-basic-1.2.6/scripts/vbnc.in	2007-11-08 23:57:47.000000000 +0000
+++ mono-basic-1.2.6/scripts/vbnc-new.in	2007-12-20 11:31:17.000000000 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec mono --debug $MONO_OPTIONS @prefix@/lib/mono/2.0/vbnc.exe "$@"
+exec mono --debug $MONO_OPTIONS @@LIBDIR@@/mono/2.0/vbnc.exe "$@"


--- NEW FILE mono-basic.spec ---
Name:		mono-basic
Version:	1.2.6
Release:	3%{?dist}
Summary:        VisualBasic.NET support for mono
Group:          Development/Languages
License:        GPLv2
Patch0:		mono-basic.patch
URL:            http://www.mono-project.com/
Source0:        %{name}-%{version}.tar.bz2	
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  mono-devel >= 1.2.3
Requires: 	mono-winforms

%description
This package contains the Visual Basic .NET compiler and language
runtime. This allows you to compile and run VB.NET application and
assemblies.

%prep
%setup -q
sed -i -e 's!@@LIBDIR@@!%{_libdir}!' %{PATCH0}
sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH0}
%patch0 -p1 -b .original
sed -i -e 's!%{_libdir}!@@LIBDIR@@!' %{PATCH0} 

%build
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make

%install
%{__rm} -rf %{buildroot}
make DESTDIR=%{buildroot} install

%clean
%{__rm} -rf %{buildroot}

%files 
%defattr(-,root,root,-)
%{_bindir}/vbnc
%{_libdir}/mono/2.0/vbnc*
%{_libdir}/mono/2.0/Microsoft.VisualBasic.dll
%{_libdir}/mono/gac/Microsoft.VisualBasic

%changelog
* Thu Jan 03 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.2.6-3
- minor spec file fixes

* Thu Dec 20 2007 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.2.6-2
- bump
- fix for vbnc

* Sun Apr 22 2007 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.2.4-1
- bump

* Sat Feb 17 2007 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.2.3-1
- Initial import for FE


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mono-basic/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Jan 2008 03:09:58 -0000	1.1
+++ .cvsignore	8 Jan 2008 09:06:51 -0000	1.2
@@ -0,0 +1 @@
+mono-basic-1.2.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mono-basic/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Jan 2008 03:09:58 -0000	1.1
+++ sources	8 Jan 2008 09:06:51 -0000	1.2
@@ -0,0 +1 @@
+c33df73a581d38b79e0d20019878f70f  mono-basic-1.2.6.tar.bz2




More information about the fedora-extras-commits mailing list