Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ocaml-extlib
ocaml-extlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-extlib.spec of Package ocaml-extlib
# # spec file for package ocaml-extlib # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Andrew Psaltis <ampsaltis at gmail dot com> # # 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/ # %{ocaml_preserve_bytecode} Name: ocaml-extlib Version: 1.6.1 Release: 0 Summary: OCaml ExtLib additions to the standard library License: LGPL-2.1+ Group: Development/Libraries Url: http://code.google.com/p/ocaml-extlib/ Source0: http://ocaml-extlib.googlecode.com/files/extlib-%{version}.tar.gz Patch0: extlib-install.patch BuildRequires: dos2unix BuildRequires: gawk BuildRequires: ocaml >= 3.10.1 BuildRequires: ocaml-camlp4-devel BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ExtLib is a project aiming at providing a complete - yet small - standard library for the OCaml programming language. The purpose of this library is to add new functions to OCaml Standard Library modules, to modify some functions in order to get better performances or more safety (tail-recursive) but also to provide new modules which should be useful for the average OCaml programmer. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n extlib-%{version} dos2unix *.mli README.txt LICENSE %patch0 -p1 %build make all %if %{ocaml_native_compiler} make build %endif %install d="$RPM_BUILD_ROOT`ocamlfind printconf destdir`" mkdir -vp $d env \ OCAMLFIND_DESTDIR=$d \ make install %files %defattr(-,root,root,-) %doc README.txt LICENSE %{_libdir}/ocaml/extlib %if %{ocaml_native_compiler} %exclude %{_libdir}/ocaml/extlib/*.a %exclude %{_libdir}/ocaml/extlib/*.cmxa %exclude %{_libdir}/ocaml/extlib/*.cmx %endif %exclude %{_libdir}/ocaml/extlib/*.mli %files devel %defattr(-,root,root,-) %if %{ocaml_native_compiler} %{_libdir}/ocaml/extlib/*.a %{_libdir}/ocaml/extlib/*.cmxa %{_libdir}/ocaml/extlib/*.cmx %endif %{_libdir}/ocaml/extlib/*.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