]> git.pld-linux.org Git - packages/grive2.git/blame - grive.spec
- release 26 (by relup.sh)
[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
47b7a294 5%define rel 26
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
8c26006e 19URL: http://www.lbreda.com/grive/
a1d83065 20BuildRequires: QtCore-devel
8c26006e
AM
21BuildRequires: binutils-devel
22BuildRequires: boost-devel
23BuildRequires: cmake
24BuildRequires: curl-devel
25BuildRequires: expat-devel
a4743560 26BuildRequires: json-c-devel >= 0.11
8c26006e
AM
27BuildRequires: libgcrypt-devel
28BuildRequires: libstdc++-devel
29BuildRequires: openssl-devel
a1d83065 30BuildRequires: yajl-devel
8c26006e
AM
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34The purpose of this project is to provide an independent
35implementation of Google Drive client. It uses the Google Document
a1d83065
ER
36List API to talk to the servers in Google.
37
a5a7ae34
JB
38%description -l pl.UTF-8
39Celem tego projektu jest zapewnienie niezależnej implementacji klienta
40Google Drive. Do komunikacji z serwerami Google'a wykorzystuje API
41Google Document List.
42
a1d83065 43%package -n bgrive
a5a7ae34
JB
44Summary: Qt frontend for Grive
45Summary(pl.UTF-8): Interfejs Qt do Grive
a1d83065
ER
46Group: Applications/Networking
47Requires: %{name} = %{version}-%{release}
48
49%description -n bgrive
a5a7ae34
JB
50GUI frontend for Grive.
51
52%description -n bgrive -l pl.UTF-8
53Graficzny interfejs użytkownika do Grive.
8c26006e
AM
54
55%prep
a1d83065 56%setup -q -n %{name}-%{commit}
a4743560 57%patch0 -p1
a1d83065 58%patch1 -p1
057d5444 59%patch2 -p1
8c26006e
AM
60
61%build
62install -d build
63cd build
64%cmake ..
8c26006e
AM
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
8c26006e
AM
69%{__make} -C build install \
70 DESTDIR=$RPM_BUILD_ROOT
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc README
78%attr(755,root,root) %{_bindir}/%{name}
a1d83065
ER
79%{_mandir}/man1/%{name}.1*
80
81%files -n bgrive
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_bindir}/bgrive
This page took 0.135407 seconds and 4 git commands to generate.