rpms/libgda/devel libgda-1.9.100-sharp.patch, NONE, 1.1 libgda.spec, 1.7, 1.8

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Jan 16 22:04:11 UTC 2006


Author: jwrdegoede

Update of /cvs/extras/rpms/libgda/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13880

Modified Files:
	libgda.spec 
Added Files:
	libgda-1.9.100-sharp.patch 
Log Message:
* Mon Jan 16 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1:1.9.100-2
- Remove unneeded requires (.so reqs are automaticly picked up by rpm).
- Add BuildRequires for building libgda-sharp


libgda-1.9.100-sharp.patch:

--- NEW FILE libgda-1.9.100-sharp.patch ---
--- libgda-1.9.100/gda-sharp/gda-sharp.dll.config.in.sharp	2006-01-16 22:59:40.000000000 +0100
+++ libgda-1.9.100/gda-sharp/gda-sharp.dll.config.in	2006-01-16 23:00:11.000000000 +0100
@@ -1,3 +1,3 @@
 <configuration>
-  <dllmap dll="gda-3" target="libgda-2 at LIB_PREFIX@.1 at LIB_SUFFIX@"/>
+  <dllmap dll="gda-3" target="libgda-3 at LIB_PREFIX@.3 at LIB_SUFFIX@"/>
 </configuration>


Index: libgda.spec
===================================================================
RCS file: /cvs/extras/rpms/libgda/devel/libgda.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- libgda.spec	28 Nov 2005 16:07:38 -0000	1.7
+++ libgda.spec	16 Jan 2006 22:04:11 -0000	1.8
@@ -35,7 +35,7 @@
 Summary:          Library for writing gnome database programs
 Name:             libgda
 Version:          1.9.100
-Release: 	  1
+Release: 	  2
 Epoch:		  1
 Source:           %{name}-%{version}.tar.bz2
 URL:              http://www.gnome-db.org/
@@ -43,19 +43,10 @@
 License:          LGPL
 BuildRoot:        %{_tmppath}/%{name}-%{version}-root
 BuildRequires:    pkgconfig >= 0.8
-Requires:         glib2 >= 2.0.0
-Requires:         libxml2
-Requires:         libxslt >= 1.0.9
-Requires:	  ncurses
 BuildRequires:    glib2-devel >= 2.0.0
-BuildRequires:    libxml2-devel
 BuildRequires:    libxslt-devel >= 1.0.9
-BuildRequires:    ncurses-devel
-BuildRequires:    scrollkeeper
-BuildRequires:    groff
-BuildRequires:    readline-devel
-BuildRequires:    db4-devel
-BuildRequires:    gtk-doc
+BuildRequires:    libxml2-devel ncurses-devel scrollkeeper groff readline-devel
+BuildRequires:    db4-devel gtk-doc mono-devel gtk-sharp2 gtk-sharp2-gapi
 
 %if %{FREETDS}
 BuildRequires:    freetds-devel
@@ -82,6 +73,7 @@
 %endif
 
 Patch0: libgda-1.9.100-configure.patch
+Patch1: libgda-1.9.100-sharp.patch
 
 %description
 libgda is a library that eases the task of writing
@@ -89,18 +81,27 @@
 
 
 %package devel
-Summary:          Development libraries and header files for libgda.
+Summary:          Development libraries and header files for libgda
 Group:            Development/Libraries
 Requires:         glib2-devel >= 2.0.0
-Requires:         libxml2-devel
 Requires:         libxslt-devel >= 1.0.9
-Requires:         db4-devel
+Requires:         db4-devel libxml2-devel
 Requires:	  %{name} = %{epoch}:%{version}-%{release}
 
 %description devel
 This package contains the header files and libraries needed to write
 or compile programs that use libgda.
 
+
+%package sharp
+Summary:          Mono bindings for libgda
+Group:            System Environment/Libraries
+
+%description sharp
+This package contains the dll files needed to run (and compile) Mono
+applications which use libgda.
+
+
 %if %{FREETDS}
 %package freetds
 Summary:	libgda FreeTDS Provider
@@ -194,6 +195,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .configure
+%patch1 -p1 -b .sharp
 
 %build
 aclocal
@@ -253,7 +255,7 @@
 CONFIG="$CONFIG --without-ldap"
 %endif
 
-%configure $CONFIG --disable-gtk-doc
+%configure $CONFIG
 make
 
 %install
@@ -302,7 +304,12 @@
 %{_includedir}/*
 %{_libdir}/*.a
 %{_libdir}/*.so
-%{_libdir}/pkgconfig/*
+%{_libdir}/pkgconfig/libgda-2.0.pc
+
+%files sharp
+%defattr(-,root,root)
+%{_libdir}/libgda
+%{_libdir}/pkgconfig/gda-sharp-2.0.pc
 
 %if %{FREETDS}
 %files freetds
@@ -360,6 +367,10 @@
 
 
 %changelog
+* Mon Jan 16 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1:1.9.100-2
+- Remove unneeded requires (.so reqs are automaticly picked up by rpm).
+- Add BuildRequires for building libgda-sharp
+
 * Sun Nov 27 2005 Hans de Goede <j.w.r.degoede at hhs.nl> 1:1.9.100-1
 - New upstream version
 - Drop 4 intergrated patches




More information about the fedora-extras-commits mailing list