- New upstream version 2.12.0.
- Patch to include gnome-ui-init.h. - gdk-pixbuf-mlsource was renamed gdk_pixbuf_mlsource (this will probably break things).
This commit is contained in:
parent
f1563e91d2
commit
6dc3365c5d
|
@ -0,0 +1,11 @@
|
|||
diff -ur lablgtk-2.12.0.orig/src/ml_panel.c lablgtk-2.12.0/src/ml_panel.c
|
||||
--- lablgtk-2.12.0.orig/src/ml_panel.c 2007-06-20 08:40:34.000000000 +0100
|
||||
+++ lablgtk-2.12.0/src/ml_panel.c 2009-02-06 11:46:19.000000000 +0000
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <libgnomeui/gnome-client.h>
|
||||
+#include <libgnomeui/gnome-ui-init.h>
|
||||
#include <panel-applet.h>
|
||||
|
||||
#include <caml/mlvalues.h>
|
|
@ -1,15 +1,19 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: ocaml-lablgtk
|
||||
Version: 2.10.1
|
||||
Release: 7%{?dist}
|
||||
Version: 2.12.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: Objective Caml interface to gtk+
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2 with exceptions
|
||||
|
||||
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
||||
Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-%{version}.tar.gz
|
||||
|
||||
Patch0: ocaml-lablgtk-2.12.0-gnome-ui-init-header.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Obsoletes: lablgtk <= 2.6.0-7
|
||||
|
@ -68,6 +72,9 @@ developing applications that use %{name}.
|
|||
|
||||
%prep
|
||||
%setup -q -n lablgtk-%{version}
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
# version information in META file is wrong
|
||||
perl -pi -e 's|version="1.3.1"|version="%{version}"|' META
|
||||
|
||||
|
@ -117,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_libdir}/ocaml/lablgtk2/*.cmi
|
||||
%{_libdir}/ocaml/lablgtk2/*.cma
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
%{_bindir}/gdk-pixbuf-mlsource
|
||||
%{_bindir}/gdk_pixbuf_mlsource
|
||||
%{_bindir}/lablgladecc2
|
||||
%{_bindir}/lablgtk2
|
||||
|
||||
|
@ -148,6 +155,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.12.0-1
|
||||
- New upstream version 2.12.0.
|
||||
- Patch to include gnome-ui-init.h.
|
||||
- gdk-pixbuf-mlsource was renamed gdk_pixbuf_mlsource (this will
|
||||
probably break things).
|
||||
|
||||
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 2.10.1-7
|
||||
- Rebuild for OCaml 3.11.0+rc1.
|
||||
|
||||
|
|
Loading…
Reference in New Issue