Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:grid
google-drive-ocamlfuse
google-drive-ocamlfuse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File google-drive-ocamlfuse.spec of Package google-drive-ocamlfuse
# # spec file for package google-drive-ocamlfuse # # Copyright (c) 2016-2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2016-2017 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: google-drive-ocamlfuse Version: 0.7.1 Release: 0 %{?ocaml_preserve_bytecode} Summary: FUSE filesystem for Google Drive Group: System/Filesystems License: MIT Url: https://github.com/astrada/google-drive-ocamlfuse Source: %{name}-%{version}.tar.gz BuildRequires: ocaml >= 4.02.3 BuildRequires: ocaml-dune BuildRequires: ocamlfind BuildRequires: ocamlfind(Fuse) BuildRequires: ocamlfind(camlidl) BuildRequires: ocamlfind(gapi-ocaml) BuildRequires: ocamlfind(sqlite3) BuildRequires: ocamlfind(threads) BuildRequires: opam BuildRoot: %{_tmppath}/%{name}-%{version}-build %description google-drive-ocamlfuse is a FUSE-based file system backed by Google Drive, written in OCaml. It lets you mount your Google Drive on Linux. On the first time, just run google-drive-ocamlfuse, which will open a browser for authentication. If that process succeeds, it will print "Access token retrieved correctly.". Now run google-drive-ocamlfuse with an empty directory supplied, which is the mount point for your Google Drive. You can optionally unmount with fusermount -u mount-point. Further documentation is available here: https://github.com/astrada/google-drive-ocamlfuse/wiki %prep %setup -q %build dune build @install %install opam-installer -i \ --prefix=%{buildroot}%{_prefix} \ --docdir=%{buildroot}%{_docdir} \ --libdir=%{buildroot}%{_libdir}/ocaml \ --mandir=%{buildroot}%{_mandir} \ %{name}.install # remove docs: they landed in %{_docdir}/%{origname} rm -rf %{buildroot}%{_docdir} # remove unused opam installation artefacts rm -rf %{buildroot}%{_libdir}/ocaml/%{name}/{META,opam} %files %defattr(-,root,root) %doc LICENSE README.md doc/ %{_bindir}/%{name} %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