Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
ocaml-lablgtk2
ocaml-lablgtk2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-lablgtk2.spec of Package ocaml-lablgtk2
# # spec file for package ocaml-lablgtk2 # # Copyright (c) 2013 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/ # %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %if !%opt # get rid of /usr/lib/rpm/find-debuginfo.sh # strip kills the bytecode part of ELF binaries # see also NO_BRP_STRIP_DEBUG in install section %undefine _build_create_debug %endif Name: ocaml-lablgtk2 BuildRequires: gtk2-devel BuildRequires: gtksourceview18-devel %if %suse_version >= 1210 BuildRequires: gtksourceview2-devel %endif BuildRequires: gtkspell-devel BuildRequires: libglade2-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnomeui-devel BuildRequires: librsvg-devel BuildRequires: ocaml BuildRequires: ocaml-camlp4-devel BuildRequires: xorg-x11 Requires: ocaml Version: 2.14.2 Release: 0 Source0: lablgtk-%{version}.tar.xz Provides: lablgtk2 = %{version} Obsoletes: lablgtk2 < %{version} Provides: ocaml-lablgtk = %{version} Obsoletes: ocaml-lablgtk < %{version} Url: http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk.html BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: An Objective Caml Interface to gtk2+ License: LGPL-2.1+ Group: Development/Libraries/Other %global __ocaml_requires_opts -i GtkSourceView_types -i GtkSourceView2_types %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 Summary: An Objective Caml interface to gtk2+ Group: Development/Libraries/Other Provides: lablgtk2-devel = %{version} Obsoletes: lablgtk2-devel < %{version} Provides: ocaml-lablgtk-devel = %{version} Obsoletes: ocaml-lablgtk-devel < %{version} Provides: lablgtk2:/usr/lib/ocaml/lablgtk2/glib.cmi Requires: %{name} = %{version} Requires: gtk2-devel Requires: gtksourceview18-devel %if %suse_version >= 1210 Requires: gtksourceview2-devel %endif Requires: libgnomecanvas-devel %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 -q -n lablgtk-%{version} find -name ".cvsignore" | xargs rm -v %build export CFLAGS="$RPM_OPT_FLAGS" make configure %configure --with-gnomecanvas make world %if %opt make opt pushd src make lablgtk.cmxa make lablrsvg.cmxa make gtkInit.cmx popd %endif %install %if !%opt # get rid of /usr/lib/rpm/brp-strip-debug # strip kills the bytecode part of ELF binaries export NO_BRP_STRIP_DEBUG=true %endif %makeinstall %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/* %if %opt %exclude %{_libdir}/ocaml/lablgtk2/*.a %exclude %{_libdir}/ocaml/lablgtk2/*.cmx %exclude %{_libdir}/ocaml/lablgtk2/*.cmxa %endif %exclude %{_libdir}/ocaml/lablgtk2/*.h %exclude %{_libdir}/ocaml/lablgtk2/*.ml %exclude %{_libdir}/ocaml/lablgtk2/*.mli %files devel %defattr(-, root, root) %doc examples %dir %{_libdir}/ocaml/lablgtk2 %{_libdir}/ocaml/stublibs %if %opt %{_libdir}/ocaml/lablgtk2/*.a %{_libdir}/ocaml/lablgtk2/*.cmx %{_libdir}/ocaml/lablgtk2/*.cmxa %endif %{_libdir}/ocaml/lablgtk2/*.h %{_libdir}/ocaml/lablgtk2/*.ml %{_libdir}/ocaml/lablgtk2/*.mli %changelog
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