new version 2.6.0

This commit is contained in:
Gérard Milmeister 2005-12-31 23:45:56 +00:00
parent b486de98a4
commit 78b785a21a
3 changed files with 42 additions and 15 deletions

View File

@ -1 +1 @@
lablgtk-2.4.0.tar.gz lablgtk-2.6.0.tar.gz

View File

@ -1,26 +1,33 @@
Name: lablgtk Name: lablgtk
Version: 2.4.0 Version: 2.6.0
Release: 6%{?dist} Release: 1%{?dist}
Summary: Objective Caml interface to gtk+ Summary: Objective Caml interface to gtk+
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPL License: LGPL
URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html 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.4.0.tar.gz Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.6.0.tar.gz
Patch0: lablgtk-gcc4.patch #Patch0: lablgtk-gcc4.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ocaml >= 3.08
%{?_with_gl:Requires: lablgl >= 1.00}
BuildRequires: ocaml >= 3.08, camlp4 >= 3.08 BuildRequires: ocaml >= 3.08, camlp4 >= 3.08
# lablgtk can generate quite extensive documentation. # lablgtk can generate quite extensive documentation.
# Probably should enable this and create a subpackage for it. # Probably should enable this and create a subpackage for it.
#BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-ocamldoc
%{?_with_gl:BuildRequires: lablgl >= 1.00, gtkglarea2-devel} BuildRequires: lablgl >= 1.02
BuildRequires: gtkglarea2-devel
BuildRequires: zlib-devel
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
BuildRequires: libglade2-devel BuildRequires: libglade2-devel
BuildRequires: librsvg2-devel BuildRequires: librsvg2-devel
BuildRequires: libgnomeui-devel, libgnomecanvas-devel, gnome-panel-devel BuildRequires: libgnomeui-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: gnome-panel-devel
BuildRequires: gtkspell-devel
Requires: ocaml >= 3.08
Requires: lablgl >= 1.02
%description %description
LablGTK is is an Objective Caml interface to gtk+. LablGTK is is an Objective Caml interface to gtk+.
@ -30,16 +37,28 @@ typed, yet very comfortable, object-oriented interface to gtk+. This
is not that easy if you know the dynamic typing approach taken by is not that easy if you know the dynamic typing approach taken by
gtk+. gtk+.
%package doc
Group: System Environment/Libraries
Summary: Documentation for LablGTK
Requires: lablgtk = %{version}-%{release}
%description doc
Documentation for LablGTK.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .gcc4 #%patch0 -p1 -b .gcc4
# version information in META file is wrong # version information in META file is wrong
perl -pi -e 's|version="1.3.1"|version="2.4.0"|' META perl -pi -e 's|version="1.3.1"|version="2.6.0"|' META
%build %build
%configure %{?_with_gl: --with-gl} %{!?_with_gl: --without-gl} --enable-debug %configure --with-gl --enable-debug
perl -pi -e "s|-O|$RPM_OPT_FLAGS|" src/Makefile perl -pi -e "s|-O|$RPM_OPT_FLAGS|" src/Makefile
make world make world
make doc
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -62,14 +81,22 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%{_bindir}/* %{_bindir}/*
%{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/lablgtk2
%{_libdir}/ocaml/stublibs/* %{_libdir}/ocaml/stublibs/*
%doc README COPYING CHANGES %doc README COPYING CHANGES
%doc examples %doc examples
%files doc
%defattr(-,root,root,-)
%doc doc/html
%changelog %changelog
* Sun Jan 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.6.0-1
- new version 2.6.0
* Sat Sep 10 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.4.0-6 * Sat Sep 10 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.4.0-6
- include META file - include META file

View File

@ -1 +1 @@
faa7b28c3ad97a1a76d983d24f26f567 lablgtk-2.4.0.tar.gz 47319aacbbb761323bdfab67513829df lablgtk-2.6.0.tar.gz