]> git.pld-linux.org Git - packages/google-drive-ocamlfuse.git/blame - google-drive-ocamlfuse.spec
- started update to 0.5.22
[packages/google-drive-ocamlfuse.git] / google-drive-ocamlfuse.spec
CommitLineData
5e332af8
ER
1#
2# Conditional build:
3%bcond_with opt # build opt
4
5Summary: FUSE filesystem over Google Drive
6Name: google-drive-ocamlfuse
45035893 7Version: 0.5.22
5e332af8
ER
8Release: 0.1
9License: BSD
10Group: Applications/Networking
11Source0: https://github.com/astrada/google-drive-ocamlfuse/archive/v%{version}/%{name}-%{version}.tar.gz
45035893 12# Source0-md5: f89dd58e71a8db024b69a449649510f2
5e332af8
ER
13URL: https://github.com/astrada/google-drive-ocamlfuse
14BuildRequires: cppo >= 0.9.3
15BuildRequires: ocaml >= 3.04-7
16BuildRequires: ocaml-biniou-devel >= 1.0.6
19be9f51
JR
17BuildRequires: ocaml-cryptokit-devel >= 1.9
18BuildRequires: ocaml-curl-devel >= 0.6.0
5e332af8
ER
19BuildRequires: ocaml-easy-format-devel >= 1.0.1
20BuildRequires: ocaml-extlib-devel >= 1.5.4
21BuildRequires: ocaml-findlib >= 1.4
45035893
JR
22BuildRequires: ocaml-fuse-devel >= 2.7.1
23BuildRequires: ocaml-gapi-ocaml-devel >= 0.2.10
5e332af8 24BuildRequires: ocaml-idl-devel >= 1.05
19be9f51 25BuildRequires: ocaml-sqlite-devel >= 2.0.4
5e332af8
ER
26BuildRequires: ocaml-xmlm-devel >= 1.1.1
27BuildRequires: ocaml-yojson-devel >= 1.1.6
28%requires_eq ocaml-runtime
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%define debug_package %{nil}
32
33%description
34google-drive-ocamlfuse is a FUSE filesystem backed by Google Drive,
35written in OCaml. It lets you mount your Google Drive on Linux.
36
37Features
38- Full read/write access to ordinary files and folders
39- Read-only access to Google Docs, Sheets, and Slides (exported to
40 configurable formats)
41- Multiple account support
42- Duplicate file handling
43- Access to trash (.Trash directory)
44
45%package devel
46Summary: Google Drive ocamlfuse - development part
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
49%requires_eq ocaml
50
51%description devel
52This package contains files needed to develop OCaml programs using
53this library.
54
55%description devel -l pl.UTF-8
56Pakiet ten zawiera pliki niezbędne do tworzenia programów używających
57tej biblioteki.
58
59%prep
60%setup -q
61
62%build
63ocaml setup.ml -configure \
64 --prefix %{_prefix} \
65 --destdir $RPM_BUILD_ROOT
66ocaml setup.ml -build
67
68%install
69rm -rf $RPM_BUILD_ROOT
70export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
71install -d $OCAMLFIND_DESTDIR
72ocaml setup.ml -install
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
be228390 79%doc doc/*.md README.md
5e332af8 80%attr(755,root,root) %{_bindir}/google-drive-ocamlfuse
This page took 0.112433 seconds and 4 git commands to generate.