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