1 %define commit 27817e835fe115ebbda5410ec904aa49a2ad01f1
2 # %(c=%{commit}; echo ${c:0:7})
3 %define shortcommit 27817e8
5 Summary: An open source Linux client for Google Drive
8 Release: 0.%{cdate}git%{shortcommit}.5
10 Group: Applications/Networking
11 Source0: https://github.com/Grive/grive/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
12 # Source0-md5: 4f3c3411588f889801bd5b9297e6e2c9
13 # https://github.com/Grive/grive/issues/187
15 Patch1: %{name}-bgrive_cmake_fix.patch
17 URL: http://www.lbreda.com/grive/
18 BuildRequires: QtCore-devel
19 BuildRequires: binutils-devel
20 BuildRequires: boost-devel
22 BuildRequires: curl-devel
23 BuildRequires: expat-devel
24 BuildRequires: json-c-devel >= 0.11
25 BuildRequires: libgcrypt-devel
26 BuildRequires: libstdc++-devel
27 BuildRequires: openssl-devel
28 BuildRequires: yajl-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The purpose of this project is to provide an independent
33 implementation of Google Drive client. It uses the Google Document
34 List API to talk to the servers in Google.
37 Summary: Qt frontend for %{name}
38 Group: Applications/Networking
39 Requires: %{name} = %{version}-%{release}
41 %description -n bgrive
42 GUI frontend for %{name}
45 %setup -q -n %{name}-%{commit}
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} -C build install \
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/%{name}
68 %{_mandir}/man1/%{name}.1*
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/bgrive