]> git.pld-linux.org Git - packages/grive2.git/blame - grive.spec
- build with json-c 0.11
[packages/grive2.git] / grive.spec
CommitLineData
3f7cd1cb 1%define commit 27817e835fe115ebbda5410ec904aa49a2ad01f1
1b21bd2d
JR
2# %(c=%{commit}; echo ${c:0:7})
3%define shortcommit 27817e8
3f7cd1cb 4%define cdate 20130702
8c26006e
AM
5Summary: An open source Linux client for Google Drive
6Name: grive
a1d83065 7Version: 0.3.0
3f7cd1cb 8Release: 0.%{cdate}git%{shortcommit}.1
8c26006e
AM
9License: GPL v2
10Group: Applications/Networking
a1d83065 11Source0: https://github.com/Grive/grive/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
3a304ac7 12# Source0-md5: 4f3c3411588f889801bd5b9297e6e2c9
a1d83065 13# https://github.com/Grive/grive/issues/187
a4743560 14Patch0: json-c.patch
a1d83065 15Patch1: %{name}-bgrive_cmake_fix.patch
8c26006e 16URL: http://www.lbreda.com/grive/
a1d83065 17BuildRequires: QtCore-devel
8c26006e
AM
18BuildRequires: binutils-devel
19BuildRequires: boost-devel
20BuildRequires: cmake
21BuildRequires: curl-devel
22BuildRequires: expat-devel
a4743560 23BuildRequires: json-c-devel >= 0.11
8c26006e
AM
24BuildRequires: libgcrypt-devel
25BuildRequires: libstdc++-devel
26BuildRequires: openssl-devel
a1d83065 27BuildRequires: yajl-devel
8c26006e
AM
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31The purpose of this project is to provide an independent
32implementation of Google Drive client. It uses the Google Document
a1d83065
ER
33List API to talk to the servers in Google.
34
35%package -n bgrive
36Summary: Qt frontend for %{name}
37Group: Applications/Networking
38Requires: %{name} = %{version}-%{release}
39
40%description -n bgrive
41GUI frontend for %{name}
8c26006e
AM
42
43%prep
a1d83065 44%setup -q -n %{name}-%{commit}
a4743560 45%patch0 -p1
a1d83065 46%patch1 -p1
8c26006e
AM
47
48%build
49install -d build
50cd build
51%cmake ..
8c26006e
AM
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
8c26006e
AM
56%{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc README
65%attr(755,root,root) %{_bindir}/%{name}
a1d83065
ER
66%{_mandir}/man1/%{name}.1*
67
68%files -n bgrive
69%defattr(644,root,root,755)
70%attr(755,root,root) %{_bindir}/bgrive
This page took 0.177798 seconds and 4 git commands to generate.