From 887e12b9fbfae58f33d8c3a3ceb71cf9ba78241a Mon Sep 17 00:00:00 2001 From: Paul F. Johnson Date: Feb 11 2007 13:14:54 +0000 Subject: auto-import boo-0.7.6.2237-12 on branch devel from boo-0.7.6.2237-12.src.rpm --- diff --git a/boo-libdir.patch b/boo-libdir.patch new file mode 100644 index 0000000..440a04c --- /dev/null +++ b/boo-libdir.patch @@ -0,0 +1,85 @@ +--- boo-0.7.6.2237/configure.in.in 2005-08-12 18:43:59.000000000 +0100 ++++ boo-0.7.6.2237/configure-new.in.in 2006-09-06 22:14:52.000000000 +0100 +@@ -14,7 +14,7 @@ + + AC_PATH_PROG(GACUTIL, gacutil, no) + +-GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)/$(prefix)/lib' ++GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(DESTDIR)/$(libdir)' + AC_SUBST(GACUTIL_FLAGS) + + AC_OUTPUT([ +--- boo-0.7.6.2237/bin/Makefile.am 2006-04-04 22:45:36.000000000 +0100 ++++ boo-0.7.6.2237/bin/Makefile-new.am 2006-09-06 22:16:36.000000000 +0100 +@@ -1,4 +1,4 @@ +-boodir = $(prefix)/lib/boo ++boodir = ${libdir}/boo + boo_DATA = booc.exe booi.exe booish.exe booc.rsp booc.exe.config booi.exe.config booish.exe.config + + BOO_GAC_DLLS = Boo.Lang.dll \ +--- boo-0.7.6.2237/extras/boo.pc.in 2005-08-12 18:43:45.000000000 +0100 ++++ boo-0.7.6.2237/extras/boo-new.pc.in 2006-09-06 22:18:20.000000000 +0100 +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=${prefix} +-libdir=${prefix}/lib ++libdir=${libdir} + + + Name: Boo +--- boo-0.7.6.2237/extras/Makefile.am 2005-08-12 18:43:45.000000000 +0100 ++++ boo-0.7.6.2237/extras/Makefile-new.am 2006-09-06 22:19:03.000000000 +0100 +@@ -1,4 +1,4 @@ +-pkgconfigdir = $(prefix)/lib/pkgconfig ++pkgconfigdir = ${libdir}/pkgconfig + pkgconfig_DATA = boo.pc + + gtksourceviewdir = $(GTKSOURCEVIEW_PREFIX)/share/gtksourceview-1.0/language-specs/ +--- boo-0.7.6.2237/extras/booish.in 2005-08-12 18:43:45.000000000 +0100 ++++ boo-0.7.6.2237/extras/booish-new.in 2006-09-06 22:19:57.000000000 +0100 +@@ -1,2 +1,2 @@ + #!/bin/sh +-env @RUNTIME@ @prefix@/lib/boo/booish.exe "$@" ++env @RUNTIME@ ${libdir}/boo/booish.exe "$@" +--- boo-0.7.6.2237/extras/booc.in 2005-08-12 18:43:45.000000000 +0100 ++++ boo-0.7.6.2237/extras/booc-new.in 2006-09-06 22:20:45.000000000 +0100 +@@ -1,2 +1,2 @@ + #!/bin/sh +-env @RUNTIME@ @prefix@/lib/boo/booc.exe "$@" ++env @RUNTIME@ ${libdir}/boo/booc.exe "$@" +--- boo-0.7.6.2237/extras/booi.in 2005-08-12 18:43:45.000000000 +0100 ++++ boo-0.7.6.2237/extras/booi-new.in 2006-09-06 22:21:16.000000000 +0100 +@@ -1,2 +1,2 @@ + #!/bin/sh +-env @RUNTIME@ @prefix@/lib/boo/booi.exe "$@" ++env @RUNTIME@ ${libdir}/boo/booi.exe "$@" +--- boo-0.7.6.2237/default.build.libdir 2007-02-11 10:40:57.000000000 +0100 ++++ boo-0.7.6.2237/default.build 2007-02-11 10:43:46.000000000 +0100 +@@ -108,7 +108,7 @@ + + + +- ++ + + + +@@ -142,7 +142,7 @@ + + + +- ++ + + + +@@ -230,7 +230,7 @@ + + + +- ++ + + + + diff --git a/boo.spec b/boo.spec index 06058fc..f8bf3c5 100644 --- a/boo.spec +++ b/boo.spec @@ -7,12 +7,13 @@ Summary: Boo is an OO statically typed language for CLI Name: boo Version: 0.7.6.2237 -Release: 11%{?dist} +Release: 12%{?dist} License: MIT Group: Development/Languages BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://boo.codehaus.org Source0: http://dist.codehaus.org/boo/distributions/%{name}-%{version}-src.tar.bz2 +Patch0: boo-libdir.patch BuildRequires: mono-devel, gtksourceview-devel, shared-mime-info, pkgconfig, nant %description @@ -30,6 +31,9 @@ Development files for boo %prep %setup -q +%if "%{?fedora}" > "5" +%patch0 -p1 -b .original +%endif %build nant -D:install.prefix=%{_prefix} -D:install.libdir=%{monodir}