]> git.pld-linux.org Git - packages/grive2.git/blame - grive.spec
- added json-c-0.14 patch; rel 31
[packages/grive2.git] / grive.spec
CommitLineData
3f7cd1cb 1%define commit 27817e835fe115ebbda5410ec904aa49a2ad01f1
ff0fb5c4 2# bash: %%(c=%{commit}; echo ${c:0:7})
1b21bd2d 3%define shortcommit 27817e8
3f7cd1cb 4%define cdate 20130702
47e89cab 5%define rel 31
8c26006e 6Summary: An open source Linux client for Google Drive
a5a7ae34 7Summary(pl.UTF-8): Linuksowy, mające otwarte źródła klient Google Drive
8c26006e 8Name: grive
a1d83065 9Version: 0.3.0
363ec12a 10Release: 0.%{cdate}git%{shortcommit}.%{rel}
8c26006e
AM
11License: GPL v2
12Group: Applications/Networking
a1d83065 13Source0: https://github.com/Grive/grive/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
3a304ac7 14# Source0-md5: 4f3c3411588f889801bd5b9297e6e2c9
a1d83065 15# https://github.com/Grive/grive/issues/187
a4743560 16Patch0: json-c.patch
a1d83065 17Patch1: %{name}-bgrive_cmake_fix.patch
057d5444 18Patch2: build.patch
5ed4fe43 19Patch3: binutils-2.34.patch
47e89cab
JB
20Patch4: %{name}-json-c-0.14.patch
21URL: https://github.com/Grive/grive
a1d83065 22BuildRequires: QtCore-devel
a8e66de8 23BuildRequires: QtGui-devel
8c26006e
AM
24BuildRequires: binutils-devel
25BuildRequires: boost-devel
26BuildRequires: cmake
27BuildRequires: curl-devel
28BuildRequires: expat-devel
a4743560 29BuildRequires: json-c-devel >= 0.11
8c26006e
AM
30BuildRequires: libgcrypt-devel
31BuildRequires: libstdc++-devel
32BuildRequires: openssl-devel
a1d83065 33BuildRequires: yajl-devel
8c26006e
AM
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37The purpose of this project is to provide an independent
38implementation of Google Drive client. It uses the Google Document
a1d83065
ER
39List API to talk to the servers in Google.
40
a5a7ae34
JB
41%description -l pl.UTF-8
42Celem tego projektu jest zapewnienie niezależnej implementacji klienta
43Google Drive. Do komunikacji z serwerami Google'a wykorzystuje API
44Google Document List.
45
a1d83065 46%package -n bgrive
a5a7ae34
JB
47Summary: Qt frontend for Grive
48Summary(pl.UTF-8): Interfejs Qt do Grive
a1d83065
ER
49Group: Applications/Networking
50Requires: %{name} = %{version}-%{release}
51
52%description -n bgrive
a5a7ae34
JB
53GUI frontend for Grive.
54
55%description -n bgrive -l pl.UTF-8
56Graficzny interfejs użytkownika do Grive.
8c26006e
AM
57
58%prep
a1d83065 59%setup -q -n %{name}-%{commit}
a4743560 60%patch0 -p1
a1d83065 61%patch1 -p1
057d5444 62%patch2 -p1
5ed4fe43 63%patch3 -p1
47e89cab 64%patch4 -p1
8c26006e
AM
65
66%build
67install -d build
68cd build
69%cmake ..
8c26006e
AM
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
47e89cab 74
8c26006e
AM
75%{__make} -C build install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%files
82%defattr(644,root,root,755)
83%doc README
47e89cab
JB
84%attr(755,root,root) %{_bindir}/grive
85%{_mandir}/man1/grive.1*
a1d83065
ER
86
87%files -n bgrive
88%defattr(644,root,root,755)
89%attr(755,root,root) %{_bindir}/bgrive
This page took 0.137844 seconds and 4 git commands to generate.