Add support for gtksourceview2 (in addition to gtksourceview 1.0)

This commit is contained in:
David A. Wheeler 2010-07-31 13:08:38 -04:00
parent e09866cfa5
commit 98468958df
1 changed files with 6 additions and 1 deletions

View File

@ -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@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@redhat.com> - 2.14.0-4
- Use upstream RPM 4.8 dependency generator.
- -devel package should depend on gtk2-devel, otherwise lablgtk programs