rpms/gtk-sharp2/devel gtk-sharp-2.8.2-docfix.patch, NONE, 1.1 gtk-sharp2.spec, 1.18, 1.19

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Sep 12 08:30:39 UTC 2006


Author: alexl

Update of /cvs/dist/rpms/gtk-sharp2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28143

Modified Files:
	gtk-sharp2.spec 
Added Files:
	gtk-sharp-2.8.2-docfix.patch 
Log Message:
* Tue Sep 12 2006 Alexander Larsson <alexl at redhat.com> - 2.10.0-3
- Add -doc subpackage with the monodoc docs (#205561)



gtk-sharp-2.8.2-docfix.patch:
 en/index.xml          |    6 ------
 gtk-sharp-docs.source |    2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

--- NEW FILE gtk-sharp-2.8.2-docfix.patch ---
--- gtk-sharp-2.8.2/doc/en/index.xml.docfix	2006-02-28 19:15:21.000000000 +0100
+++ gtk-sharp-2.8.2/doc/en/index.xml	2006-09-11 13:54:08.000000000 +0200
@@ -1238,9 +1238,6 @@
       <Type Name="MimeEquivalence" />
       <Type Name="ModuleCallbackFullAuthenticationOutFlags" />
     </Namespace>
-    <Namespace Name="GtkSharp.GnomeVfsSharp">
-      <Type Name="ObjectManager" />
-    </Namespace>
     <Namespace Name="Art">
       <Type Name="Affine" />
       <Type Name="AlphaGamma" />
@@ -1470,9 +1467,6 @@
       <Type Name="Authentication" />
       <Type Name="PrintSvg" />
     </Namespace>
-    <Namespace Name="GtkSharp.GnomeSharp">
-      <Type Name="ObjectManager" />
-    </Namespace>
     <Namespace Name="GConf">
       <Type Name="ClientBase" />
       <Type Name="Client" />
--- gtk-sharp-2.8.2/doc/gtk-sharp-docs.source.docfix	2003-04-15 00:58:01.000000000 +0200
+++ gtk-sharp-2.8.2/doc/gtk-sharp-docs.source	2006-09-11 13:53:35.000000000 +0200
@@ -1,4 +1,4 @@
 <?xml version="1.0"?>
 <monodoc>
-  <source provider="ecma" basefile="gtk-sharp-docs" path="classlib-gnome"/>
+  <source provider="ecma-uncompiled" basefile="gtk-sharp-docs" path="classlib-gnome"/>
 </monodoc>


Index: gtk-sharp2.spec
===================================================================
RCS file: /cvs/dist/rpms/gtk-sharp2/devel/gtk-sharp2.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gtk-sharp2.spec	11 Sep 2006 08:35:45 -0000	1.18
+++ gtk-sharp2.spec	12 Sep 2006 08:30:37 -0000	1.19
@@ -1,6 +1,6 @@
 Name:           gtk-sharp2
 Version:        2.10.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GTK+ and GNOME bindings for Mono
 
 Group:          System Environment/Libraries
@@ -11,6 +11,7 @@
 
 Patch1: gtk-sharp-2.9.0-monodir.patch
 Patch2: gtk-sharp-2.10.0-libdir.patch
+Patch3: gtk-sharp-2.8.2-docfix.patch
 
 BuildRequires:  mono-devel gtk2-devel libglade2-devel
 BuildRequires:  automake, libtool
@@ -38,8 +39,8 @@
 the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk.
 
 %package devel
-Summary: files needed for developing with gtk-sharp2
-Group: Development/Libraries
+Summary:      files needed for developing with gtk-sharp2
+Group:        Development/Libraries
 Requires: %{name} = %{version}-%{release}
 Requires: pkgconfig
 
@@ -47,10 +48,19 @@
 This package provides the necessary development libraries and headers
 for writing gtk-sharp2 applications.
 
+%package doc
+Group:        Documentation
+Summary:      Gtk# documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+This package provides the Gtk# documentation for monodoc.
+
 %prep
 %setup -n gtk-sharp-%{version}
 %patch1 -p1 -b .monodir
 %patch2 -p1 -b .libdir
+%patch3 -p1 -b .docfix
 
 %build
 autoreconf --force --install
@@ -65,6 +75,10 @@
 make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp-2.0 /gacdir %{_libdir} /root ${RPM_BUILD_ROOT}%{_libdir}"
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.*a
 
+install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources/
+install -m 755 doc/gtk-sharp-docs.source $RPM_BUILD_ROOT%{_prefix}/lib/monodoc/sources/
+cp -R doc/en $RPM_BUILD_ROOT%{_libdir}/monodoc/sources/gtk-sharp-docs
+
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
 
@@ -97,7 +111,14 @@
 %{_libdir}/pkgconfig/*-sharp-2.0.pc
 %{_libdir}/pkgconfig/gtk-dotnet-2.0.pc
 
+%files doc
+%defattr(-,root,root,-)
+%{_prefix}/lib/monodoc
+
 %changelog
+* Tue Sep 12 2006 Alexander Larsson <alexl at redhat.com> - 2.10.0-3
+- Add -doc subpackage with the monodoc docs (#205561)
+
 * Mon Sep 11 2006 Alexander Larsson <alexl at redhat.com> - 2.10.0-2
 - Fix pc files for gapidir (#205979)
 




More information about the fedora-cvs-commits mailing list