Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
lablgtk2
lablgtk2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lablgtk2.spec of Package lablgtk2
# # spec file for package lablgtk2 (Version 2.12.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: lablgtk2 BuildRequires: gtk2-devel librsvg-devel ocaml xorg-x11 %if 0%{?suse_version} >= 1010 BuildRequires: camlp4 %endif License: LGPL v2.1 or later Group: Development/Libraries/Other Requires: ocaml AutoReqProv: on Version: 2.12.0 Release: 1 Source0: lablgtk-%{version}.tar.bz2 Source1: rpmlintrc Url: http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: An Objective Caml Interface to gtk2+ %description LablGTK2 uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to GTK2+. Objective Caml threads are supported, including for the top level, which allows the interactive use of the library. Authors: -------- Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp> Benjamin Monate <monate@lix.polytechnique.fr> Olivier Andrieu <oandrieu@nerim.net> Jun Furuse <Jun.Furuse@inria.fr> Hubert Fauque <hubert.fauque@wanadoo.fr> Koji Kagawa <kagawa@eng.kagawa-u.ac.jp> %package devel License: LGPL v2.1 or later Summary: An Objective Caml interface to gtk2+ Group: Development/Libraries/Other Provides: lablgtk2:/usr/lib/ocaml/lablgtk2/glib.cmi Requires: lablgtk2 = %{version} AutoReqProv: on %description devel LablGTK2 uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to GTK2+. Objective Caml threads are supported, including for the top level, which allows for interactive use of the library. Authors: -------- Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp> Benjamin Monate <monate@lix.polytechnique.fr> Olivier Andrieu <oandrieu@nerim.net> Jun Furuse <Jun.Furuse@inria.fr> Hubert Fauque <hubert.fauque@wanadoo.fr> Koji Kagawa <kagawa@eng.kagawa-u.ac.jp> %prep %setup -n lablgtk-%{version} find -name ".cvsignore" | xargs rm -v %build export CFLAGS="$RPM_OPT_FLAGS" make configure %configure make world opt %ifnarch ppc64 s390 s390x cd src make lablgtk.cmxa make lablrsvg.cmxa make gtkInit.cmx cd .. %endif %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 make INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2\ BINDIR=$RPM_BUILD_ROOT%{_bindir} install %clean # Clear up the mess rm -rf $RPM_BUILD_ROOT; %files %defattr(-, root, root) %doc CHANGES COPYING README examples %{_bindir}/* %dir %{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/lablgtk2/* %exclude %{_libdir}/ocaml/lablgtk2/*.cmi %exclude %{_libdir}/ocaml/lablgtk2/*.h %files devel %defattr(-, root, root) %doc examples %{_libdir}/ocaml/lablgtk2/*.cmi %{_libdir}/ocaml/lablgtk2/*.h %changelog * Wed Feb 25 2009 seife@suse.de - update to version 2.12.0 - please see the changelog for details * Thu Feb 19 2009 radomir.cernoch@gmail.com - 'make' changed to 'make world' to build additional libraries - 'configure' changed to '%%configure' * Mon Apr 21 2008 seife@suse.de - update to version 2.10.1 - fix wrong type in GContainer.mli (could not compile with 3.10.2) - revert to setting LC_NUMERIC to C (ocaml still uses strtod) - Fix Val_GType/GType_val (use Val_addr/Addr_val) - add ui_manager#as_ui_manager - Fix examples. * Tue Jan 29 2008 seife@suse.de - update to version 2.10.0 - uses features of newer Gtk versions - some small bugfixes * Wed Nov 07 2007 ro@suse.de - added rpmlintrc * Fri Jun 15 2007 ro@suse.de - added rsvg bindings - handle ppc64 like s390 (no ocamlopt) * Tue Jun 05 2007 ro@suse.de - added ocamlp4 to buildreq - silence a compiler warning * Fri May 25 2007 ro@suse.de - branch off devel package * Thu Sep 21 2006 seife@suse.de - initial submission (cloned specfile from lablgtk)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor