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: binutils-devel
22 BuildRequires: boost-devel
24 BuildRequires: curl-devel
25 BuildRequires: expat-devel
26 BuildRequires: json-c-devel >= 0.11
27 BuildRequires: libgcrypt-devel
28 BuildRequires: libstdc++-devel
29 BuildRequires: openssl-devel
30 BuildRequires: yajl-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 The purpose of this project is to provide an independent
35 implementation of Google Drive client. It uses the Google Document
36 List API to talk to the servers in Google.
38 %description -l pl.UTF-8
39 Celem tego projektu jest zapewnienie niezależnej implementacji klienta
40 Google Drive. Do komunikacji z serwerami Google'a wykorzystuje API
44 Summary: Qt frontend for Grive
45 Summary(pl.UTF-8): Interfejs Qt do Grive
46 Group: Applications/Networking
47 Requires: %{name} = %{version}-%{release}
49 %description -n bgrive
50 GUI frontend for Grive.
52 %description -n bgrive -l pl.UTF-8
53 Graficzny interfejs użytkownika do Grive.
56 %setup -q -n %{name}-%{commit}
68 rm -rf $RPM_BUILD_ROOT
69 %{__make} -C build install \
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/%{name}
79 %{_mandir}/man1/%{name}.1*
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/bgrive