%global commit 5fb3c187fef4b257083a6e954d037f157fa9730c
%global commit_date 20151227
%global shortcommit %(c=%{commit};echo ${c:0:7})
Name: grive2
Version: 0.4.2
Release: 0.2.%{commit_date}git%{shortcommit}%{?dist}
Summary: Google Drive client
License: GPLv2
URL: http://yourcmc.ru/wiki/Grive2
Source0: https://github.com/vitalif/%{name}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: curl-devel
BuildRequires: expat-devel
BuildRequires: libgcrypt-devel
BuildRequires: yajl-devel
BuildRequires: zlib-devel
%description
The purpose of this project is to provide an independent open source
implementation of Google Drive client for GNU/Linux. It uses Google Drive
REST API to talk to Google Drive service.
%prep
%setup -q -n %{name}-%{commit}
%build
%cmake .
make %{?_smp_mflags}
%install
%make_install
%files
%license COPYING
%doc README.md
%{_bindir}/grive
%{_mandir}/man1/*
%changelog
* Tue Dec 29 2015 Christian Dersch <lupinix@mailbox.org> - 0.4.2-0.2.20151227git5fb3c18
- Updated to newer git snapshot to include bugfixes
* Fri Dec 11 2015 Christian Dersch <lupinix@mailbox.org> - 0.4.2-0.1.20151208gitcc13b8b
- initial spec