From 7aa205d60289a67b99f0a30a9fb342a0b18db70b Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Sat, 31 Jul 2010 13:06:14 -0400 Subject: [PATCH] Add support for gtksourceview2 (in addition to gtksourceview 1.0) --- ocaml-lablgtk.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ocaml-lablgtk.spec b/ocaml-lablgtk.spec index 996b8d5..c8bcb80 100644 --- a/ocaml-lablgtk.spec +++ b/ocaml-lablgtk.spec @@ -2,7 +2,7 @@ Name: ocaml-lablgtk Version: 2.14.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Objective Caml interface to gtk+ @@ -34,6 +34,7 @@ BuildRequires: ocaml-lablgl-devel >= 1.03 BuildRequires: ocaml-ocamldoc BuildRequires: zlib-devel BuildRequires: gtksourceview-devel +BuildRequires: gtksourceview2-devel %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types @@ -79,6 +80,7 @@ perl -pi -e 's|version="1.3.1"|version="%{version}"|' META %configure --with-gl --enable-debug perl -pi -e "s|-O|$RPM_OPT_FLAGS|" src/Makefile make world +make opt make doc CAMLP4O="camlp4o -I %{_libdir}/ocaml/camlp4/Camlp4Parsers" @@ -152,6 +154,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 27 2010 David A. Wheeler - 2.14.0-5 +- Add support for gtksourceview2 (in addition to gtksourceview 1.0). + * Tue Jan 5 2010 Richard W.M. Jones - 2.14.0-4 - Use upstream RPM 4.8 dependency generator. - -devel package should depend on gtk2-devel, otherwise lablgtk programs