Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:auxsvr
ocamlfuse
ocamlfuse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocamlfuse.spec of Package ocamlfuse
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) Name: ocamlfuse Version: 2.7.1 Summary: Ocaml FUSE binding License: GPL-2.0 Release: 1 URL: https://forge.ocamlcore.org/projects/gdfuse/ Source: https://forge.ocamlcore.org/frs/download.php/1369/%{name}-%{version}_cvs2.tar.gz BuildRequires: ocaml BuildRequires: ocaml-ocamldoc BuildRequires: perl BuildRequires: ocaml-camlidl ocaml-camlidl-devel BuildRequires: fuse-devel BuildRequires: ocaml-findlib %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. %prep %setup -q -n %{name}-%{version}_cvs2 %build cd lib #Disable warnings to avoid spurious message about 64 bit compatibility #due to a missing cast in a macro make CFLAGS="-w -D_FILE_OFFSET_BITS=64 -fPIC" all %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/Fuse mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/caml mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/stublibs mkdir -p $RPM_BUILD_ROOT/%{_bindir} cd lib make OCAMLLIB=$RPM_BUILD_ROOT/%{_libdir}/ocaml\ OCAMLFIND_INSTFLAGS="-destdir $RPM_BUILD_ROOT/%{_libdir}/ocaml"\ BINDIR=$RPM_BUILD_ROOT/%{_bindir} \ install %files %defattr(-,root,root,-) %doc LICENSE %{_libdir}/ocaml/Fuse %{_libdir}/ocaml/Fuse/* %{_libdir}/ocaml/stublibs/* %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