blob: 8826dcf94bff2f397986c35aec96837ef9b8881f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
%define debug_package %{nil}
Summary: A complete tool to interact with OneDrive on Linux. Built following the UNIX philosophy.
Name: onedrive
Version: 2.3.3
Release: 1
Source: https://github.com/abraunegg/%{name}/archive/v%{version}.tar.gz
License: GPL-3
Group: System Environment/Daemons
# on el7, get ldc from copr://harbottle/main
BuildRequires: ldc
BuildRequires: gcc
BuildRequires: sqlite-devel
BuildRequires: libcurl-devel
Requires: libcurl
Requires: sqlite
Requires(post): systemd
Requires(preun): systemd
%description
A complete tool to interact with OneDrive on Linux. Built following the UNIX philosophy.
%prep
%setup
#%patch0 -p0
%build
make DC=ldc2 PREFIX=/usr/ DESTDIR=$RPM_BUILD_ROOT all
%install
mkdir -p %{buildroot}/usr/bin
install -D onedrive %{buildroot}/usr/bin/onedrive
install -D -m 644 onedrive.service %{buildroot}/usr/lib/systemd/user/onedrive.service
%files
%doc CHANGELOG.md README.md config
%license LICENSE
%defattr(-,root,root)
%attr(0555,bin,bin) /usr/bin/onedrive
%attr(0555,bin,bin) /usr/lib/systemd/user/onedrive.service
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri May 31 2019 B Stack <bgstack15@gmail.com> - 2.3.3-1
- move to abraunegg distrubtion of onedrive client from skillion
* Sat Feb 10 2018 Patrick Pichon <patrick@pichon.me>
add config file, and few addition prerequisites
* Fri Feb 9 2018 Patrick Pichon <patrick@pichon.me>
ready for Copr
* Thu Feb 8 2018 Patrick Pichon <patrick@pichon.me>
initial version
|