File grive2.spec of Package grive2

Name:           grive2
Version:        0.4.1
Release:        0
Summary:        Open source Linux client for Google Drive

Group:          Applications/Internet
License:        GPL-2.0
URL:            http://mastersoft24.github.io/Grive2/
Source0:        %{name}-%{version}.zip

BuildRequires:  cmake
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(json-c)
BuildRequires:  libgcrypt-devel
BuildRequires:  boost-devel
BuildRequires:  binutils-devel
BuildRequires:	qt-devel
BuildRequires:	libyajl-devel >= 2.1.0

%description
The purpose of this project is to provide an independent 
open source implementation of Google Drive client for 
GNU/Linux. The code is written in standard C++. This project 
was forked from grive project. The main difference from the 
original grive project, possibility of selective downloading
files from Google drive to your computer.

%prep
%setup -q -n %{name}-%{version}

%build
cmake . -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=%{_prefix}

%__make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/grive
%{_mandir}/man1/grive.1.gz

%changelog
* Mon Nov 30 2015 Simone Sclavi <darkhado@gmail.com> 0.4.1
- 0.4.1 release

* Sun Jun 14 2015 Simone Sclavi <darkhado@gmail.com> 0.4.0
- Initial build
openSUSE Build Service is sponsored by