[ocaml-lablgtk/f13/master] Add support for gtksourceview2 (in addition to gtksourceview 1.0)

David A. Wheeler dwheeler at fedoraproject.org
Sat Jul 31 17:09:55 UTC 2010


commit ef3db3c944b2b0131433a7c8578d312fbaaecd2f
Author: David A. Wheeler <dwheeler at dwheeler.com>
Date:   Sat Jul 31 13:09:49 2010 -0400

    Add support for gtksourceview2 (in addition to gtksourceview 1.0)

 ocaml-lablgtk.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
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 <dwheeler at dwheeler.com> - 2.14.0-5
+- Add support for gtksourceview2 (in addition to gtksourceview 1.0).
+
 * Tue Jan  5 2010 Richard W.M. Jones <rjones at redhat.com> - 2.14.0-4
 - Use upstream RPM 4.8 dependency generator.
 - -devel package should depend on gtk2-devel, otherwise lablgtk programs


More information about the scm-commits mailing list