the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libole2
Version: 0.2.4
Revision: 5
Maintainer: None
BuildDepends: glib, gtk-doc, fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Source: mirror:gnome:sources/%n/0.2/%n-%v.tar.gz
PatchFile: %n.patch
PatchFile-MD5: 2771487a0e422d4af790bcb91dcc7413
PatchScript: <<
%{default_script}
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' libole2.m4
<<
InstallScript: make install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Depends: glib-shlibs
Replaces: %N (<= 0.2.4-1)
Files: lib/libgnomeole2.*.dylib
Shlibs: %p/lib/libgnomeole2.0.dylib 1.0.0 %n (>= 0.2.4-2)
DocFiles: README COPYING AUTHORS NEWS
<<
DocFiles: README COPYING AUTHORS NEWS
Description: Library for the OLE2 file format
DescPort: <<
Uses libtool 1.4. The -flat_namespace patch is now supplied upstream.
<<
License: GPL
Homepage: http://www.gnome.org/
Source-MD5: 87efa01f3e9887ff63497b6616295397
diff -Nurd -x'*~' libole2-0.2.4.orig/doc/Makefile.in libole2-0.2.4/doc/Makefile.in
--- libole2-0.2.4.orig/doc/Makefile.in 2001-11-04 01:05:36.000000000 -0500
+++ libole2-0.2.4/doc/Makefile.in 2005-12-29 02:59:28.000000000 -0500
@@ -276,10 +276,8 @@
echo '-- Installing '$$i ; \
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
done; \
- echo '-- Installing $(srcdir)/html/index.sgml' ; \
- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
echo '-- Fixing Crossreferences' ; \
- gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)|| true; \
+ gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) --module-dir=$(DESTDIR)$(HTML_DIR)/$(DOC_MODULE) || true; \
fi)
dist-hook:
diff -uNr libole2-0.2.4/libole2/ms-ole.h libole2-0.2.4-new/libole2/ms-ole.h
--- libole2-0.2.4/libole2/ms-ole.h 2001-01-22 20:50:24.000000000 -0500
+++ libole2-0.2.4-new/libole2/ms-ole.h 2005-03-12 18:05:48.000000000 -0500
@@ -13,6 +13,7 @@
/* This should be done in glib */
#ifndef _WIN32
+# include
# include
#else
typedef unsigned long mode_t;