]> git.pld-linux.org Git - packages/grive2.git/blob - grive2.spec
df535bf405bcac371d6145043e4b2341d1abdd78
[packages/grive2.git] / grive2.spec
1 Summary:        An open source Linux client for Google Drive
2 Summary(pl.UTF-8):      Linuksowy, mające otwarte źródła klient Google Drive
3 Name:           grive2
4 Version:        0.5.1
5 Release:        11
6 License:        GPL v2
7 Group:          Applications/Networking
8 #Source0Download: https://github.com/vitalif/grive2/releases
9 Source0:        https://github.com/vitalif/grive2/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  2ffb02ae2ddaba51fc8f31bb322efd93
11 Patch0:         binutils-2.34.patch
12 URL:            https://github.com/vitalif/grive2
13 BuildRequires:  binutils-devel
14 BuildRequires:  boost-devel >= 1.40.0
15 BuildRequires:  cmake >= 2.8
16 BuildRequires:  curl-devel
17 BuildRequires:  expat-devel
18 BuildRequires:  libgcrypt-devel
19 BuildRequires:  libstdc++-devel >= 6:4.7
20 BuildRequires:  openssl-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  yajl-devel
23 Obsoletes:      grive < 0.3.0-1
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The purpose of this project is to provide an independent
28 implementation of Google Drive client. It uses the Google Document
29 List API to talk to the servers in Google.
30
31 %description -l pl.UTF-8
32 Celem tego projektu jest zapewnienie niezależnej implementacji klienta
33 Google Drive. Do komunikacji z serwerami Google'a wykorzystuje API
34 Google Document List.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 install -d build
42 cd build
43 %cmake ..
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} -C build install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README.md
59 %attr(755,root,root) %{_bindir}/grive
60 %dir %{_prefix}/lib/grive
61 %attr(755,root,root) %{_prefix}/lib/grive/grive-sync.sh
62 %{systemduserunitdir}/grive-changes@.service
63 %{systemduserunitdir}/grive-timer@.service
64 %{systemduserunitdir}/grive-timer@.timer
65 %{_mandir}/man1/grive.1*
This page took 0.119579 seconds and 2 git commands to generate.