1 %define commit 27817e835fe115ebbda5410ec904aa49a2ad01f1
2 # bash: %%(c=%{commit}; echo ${c:0:7})
3 %define shortcommit 27817e8
6 Summary: An open source Linux client for Google Drive
7 Summary(pl.UTF-8): Linuksowy, mające otwarte źródła klient Google Drive
10 Release: 0.%{cdate}git%{shortcommit}.%{rel}
12 Group: Applications/Networking
13 Source0: https://github.com/Grive/grive/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
14 # Source0-md5: 4f3c3411588f889801bd5b9297e6e2c9
15 # https://github.com/Grive/grive/issues/187
17 Patch1: %{name}-bgrive_cmake_fix.patch
19 URL: http://www.lbreda.com/grive/
20 BuildRequires: QtCore-devel
21 BuildRequires: QtGui-devel
22 BuildRequires: binutils-devel
23 BuildRequires: boost-devel
25 BuildRequires: curl-devel
26 BuildRequires: expat-devel
27 BuildRequires: json-c-devel >= 0.11
28 BuildRequires: libgcrypt-devel
29 BuildRequires: libstdc++-devel
30 BuildRequires: openssl-devel
31 BuildRequires: yajl-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The purpose of this project is to provide an independent
36 implementation of Google Drive client. It uses the Google Document
37 List API to talk to the servers in Google.
39 %description -l pl.UTF-8
40 Celem tego projektu jest zapewnienie niezależnej implementacji klienta
41 Google Drive. Do komunikacji z serwerami Google'a wykorzystuje API
45 Summary: Qt frontend for Grive
46 Summary(pl.UTF-8): Interfejs Qt do Grive
47 Group: Applications/Networking
48 Requires: %{name} = %{version}-%{release}
50 %description -n bgrive
51 GUI frontend for Grive.
53 %description -n bgrive -l pl.UTF-8
54 Graficzny interfejs użytkownika do Grive.
57 %setup -q -n %{name}-%{commit}
69 rm -rf $RPM_BUILD_ROOT
70 %{__make} -C build install \
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/%{name}
80 %{_mandir}/man1/%{name}.1*
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/bgrive