]>
Commit | Line | Data |
---|---|---|
8c26006e AM |
1 | Summary: An open source Linux client for Google Drive |
2 | Name: grive | |
3 | Version: 0.2.0 | |
c240bceb | 4 | Release: 6 |
8c26006e AM |
5 | License: GPL v2 |
6 | Group: Applications/Networking | |
7 | URL: http://www.lbreda.com/grive/ | |
8 | Source0: http://www.lbreda.com/grive/_media/packages/%{version}/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 8260b1e6c0369da35ebcfe8c8f840f2b | |
10 | BuildRequires: binutils-devel | |
11 | BuildRequires: boost-devel | |
12 | BuildRequires: cmake | |
13 | BuildRequires: curl-devel | |
14 | BuildRequires: expat-devel | |
15 | BuildRequires: json-c-devel | |
16 | BuildRequires: libgcrypt-devel | |
17 | BuildRequires: libstdc++-devel | |
18 | BuildRequires: openssl-devel | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The purpose of this project is to provide an independent | |
23 | implementation of Google Drive client. It uses the Google Document | |
24 | List API to talk to the servers in Google. The code is written in | |
25 | standard C++. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | install -d build | |
32 | cd build | |
33 | %cmake .. | |
34 | ||
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} -C build install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc README | |
49 | %attr(755,root,root) %{_bindir}/%{name} | |
50 | %{_mandir}/man1/grive.1* |