Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:grid
ocaml-fuse
ocamlfuse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocamlfuse.spec of Package ocaml-fuse
# # spec file for package ocamlfuse # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, 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/ # Name: ocamlfuse Version: 2.7.1 Release: 0 %{?ocaml_preserve_bytecode} Summary: Ocaml FUSE binding Group: Development/Languages/OCaml License: GPL-2.0 Url: https://github.com/astrada/ocamlfuse Source: %{name}-%{version}.tar.xz Patch0: ocamlfuse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ocaml BuildRequires: ocaml-oasis BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-rpm-macros >= 4.03 BuildRequires: ocamlfind(bigarray) BuildRequires: ocamlfind(camlidl) BuildRequires: ocamlfind(com) BuildRequires: ocamlfind(threads) BuildRequires: ocamlfind(unix) BuildRequires: pkg-config BuildRequires: pkgconfig(fuse) %description This is a binding to fuse for the ocaml programming language, enabling you to write multithreaded filesystems in the ocaml language. It has been designed with simplicity as a goal, as you can see by looking at example/fusexmp.ml. Efficiency has also been a separate goal. The Bigarray library is used for read and writes, allowing the library to do zero-copy in ocaml land. %package devel Summary: Development files for %{name} Group: Development/Languages/OCaml Requires: %{name} = %{version} Requires: pkgconfig(fuse) %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 %build # obs service changes every ^Version line ... sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ OASISFormat: 0.4 Name: ocamlfuse Version: 0 Synopsis: OCaml bindings for FUSE (Filesystem in UserSpacE) Authors: Vincenzo Ciancia LicenseFile: LICENSE License: %{license} BuildTools: ocamlbuild Library Fuse Path: lib BuildDepends: unix, threads, bigarray, camlidl, com FindlibName: Fuse Modules: Fuse, Fuse_bindings, Fuse_lib, Fuse_result, Thread_pool, Unix_util CSources: Fuse_util.c, Unix_util_stubs.c, Fuse_bindings_stubs.c, Fuse_bindings.h CCOpt: %{optflags} -fPIC `pkg-config --cflags fuse` #CCLib: -L`ocamlfind query camlidl` -lcamlidl_stubs `pkg-config --libs fuse` CCLib: -L`ocamlfind query camlidl` -lcamlidl_stubs -lfuse Document "Fuse" Title: API reference for Fuse Type: ocamlbuild BuildTools+: ocamldoc InstallDir: \$htmldir Install: true XOCamlbuildPath: . XOCamlbuildLibraries: Fuse _EOF_ %oasis_setup %ocaml_oasis_configure --enable-docs %ocaml_oasis_build %ocaml_oasis_doc %install %ocaml_oasis_findlib_install # mkdir -vp %{buildroot}/etc/ld.so.conf.d/ tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ %{_libdir}/ocaml/Fuse _EOF_ # %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc LICENSE /etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so %files devel %defattr(-,root,root,-) %{oasis_docdir_html} %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a %if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %endif %{_libdir}/ocaml/*/*.annot %{_libdir}/ocaml/*/*.cma %{_libdir}/ocaml/*/*.cmi %{_libdir}/ocaml/*/*.cmt %{_libdir}/ocaml/*/*.cmti %{_libdir}/ocaml/*/*.ml %{_libdir}/ocaml/*/*.mli %{_libdir}/ocaml/*/META %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