From 724af80d66b07e3c96ecc2a14de537ce5f63dc0d Mon Sep 17 00:00:00 2001 From: cvsextras Date: Nov 08 2004 04:40:06 +0000 Subject: auto-import changelog data from lablgtk-2.2.0-0.fdr.4.1.src.rpm 2.2.0-0.fdr.4 - Compile with debug 2.2.0-0.fdr.3 - Make GL support optional using --with gl switch 2.2.0-0.fdr.2 - Added dependency on libcroco - Honor RPM_OPT_FLAGS 2.2.0-0.fdr.1 - First Fedora release Mon Oct 13 2003 Axel Thimm - Update to 2.2.0. Sun Aug 17 2003 Axel Thimm - Provide ocaml-lablgtk (reported by bishop@platypus.bc.ca). Wed Apr 09 2003 Axel Thimm - Rebuilt for Red Hat 9. Tue Nov 26 2002 Axel Thimm - Initial build --- diff --git a/.cvsignore b/.cvsignore index e69de29..84e55dd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lablgtk-2.2.0.tar.gz diff --git a/lablgtk.spec b/lablgtk.spec new file mode 100644 index 0000000..1ff92bc --- /dev/null +++ b/lablgtk.spec @@ -0,0 +1,82 @@ +Name: lablgtk +Version: 2.2.0 +Release: 0.fdr.4.1 +Epoch: 0 +Summary: An Objective Caml interface to gtk+ + +Group: System Environment/Libraries +License: LGPL +URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html +Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.2.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: ocaml >= 0:3.07 +%{?_with_gl:Requires: lablgl >= 0:1.00} +BuildRequires: ocaml >= 0:3.07, camlp4 >= 0:3.07 +%{?_with_gl:BuildRequires: lablgl >= 0:1.00, gtkglarea2-devel} +BuildRequires: gtk2-devel, libglade-devel, gdk-pixbuf-devel +BuildRequires: librsvg2-devel, libcroco-devel +BuildRequires: libbonobo-devel, bonobo-activation-devel, GConf2-devel +BuildRequires: libgnomeui-devel, libgnomecanvas-devel, gnome-panel + +%description +LablGTK is is an Objective Caml interface to gtk+. + +It uses the rich type system of Objective Caml 3 to provide a strongly +typed, yet very comfortable, object-oriented interface to gtk+. This +is not that easy if you know the dynamic typing approach taken by +gtk+. + +%prep +%setup -q + +%build +%configure %{?_with_gl: --with-gl} %{!?_with_gl: --without-gl} --enable-debug +perl -pi -e "s|-O|$RPM_OPT_FLAGS|" src/Makefile +make %{?_smp_mflags} world + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs +make install BINDIR=$RPM_BUILD_ROOT%{_bindir} LIBDIR=$RPM_BUILD_ROOT%{_libdir} INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 DLLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_libdir}/ocaml/lablgtk2 +%{_libdir}/ocaml/stublibs/* +%doc README COPYING CHANGES +%doc examples + +%changelog +* Wed Apr 28 2004 Gerard Milmeister - 0:2.2.0-0.fdr.4 +- Compile with debug + +* Tue Dec 2 2003 Gerard Milmeister - 0:2.2.0-0.fdr.3 +- Make GL support optional using --with gl switch + +* Fri Nov 28 2003 Gerard Milmeister - 0:2.2.0-0.fdr.2 +- Added dependency on libcroco +- Honor RPM_OPT_FLAGS + +* Fri Oct 31 2003 Gerard Milmeister - 0:2.2.0-0.fdr.1 +- First Fedora release + +* Mon Oct 13 2003 Axel Thimm +- Update to 2.2.0. + +* Sun Aug 17 2003 Axel Thimm +- Provide ocaml-lablgtk (reported by bishop@platypus.bc.ca). + +* Wed Apr 9 2003 Axel Thimm +- Rebuilt for Red Hat 9. + +* Tue Nov 26 2002 Axel Thimm +- Initial build diff --git a/sources b/sources index e69de29..580949d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +88206d11c197cb103adb3a3dd6bfb2dd lablgtk-2.2.0.tar.gz