grive2/grive2.spec

94 lines
2.9 KiB
RPMSpec

Name: grive2
Version: 0.5.3
Release: 1mamba
Summary: Google Drive client
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/vitalif/grive2
Source: https://github.com/vitalif/grive2.git/v%{version}/grive2-%{version}.tar.bz2
Patch0: grive2-0.5.1-binutils-2.34.patch
Patch1: grive2-0.5.3-grep-3.11.patch
Patch2: grive2-0.5.3-fix-syncer-compilation.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbinutils-devel
BuildRequires: libboost-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libjson-c-devel
BuildRequires: libstdc++6-devel
BuildRequires: libyajl-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: libbinutils-devel >= 2.34
BuildRequires: cmake
%description
Google Drive client with the support for the new Drive REST API and partial sync.
%debug_package
%prep
%setup -q
#%patch0 -p1
%patch 1 -p1 -b .grep-3.11
%patch 2 -p1 -b .fix-syncer-compilation
%build
%cmake -d build \
-DCMAKE_EXE_LINKER_FLAGS="-lzstd -ljson-c -lsframe"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/grive
%{_prefix}/libexec/grive/grive-sync.sh
%{_userunitdir}/grive@.service
%{_userunitdir}/grive-changes@.service
%{_userunitdir}/grive-timer@.service
%{_userunitdir}/grive-timer@.timer
%{_mandir}/man1/grive.1*
%doc COPYING
%changelog
* Fri Sep 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.3-1mamba
- update to 0.5.3
* Sat Feb 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
* Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-7mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba
* Fri Feb 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-6mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.32-1mamba
* Sat Sep 22 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-5mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.31.1-1mamba
* Mon Nov 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-4mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.29.1-1mamba
* Sun Jun 18 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.28-1mamba
* Sat Aug 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.27-1mamba
* Thu Jan 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
- package created using the webbuild interface