From 5169937276a6eab250eef20b81e8c4b48fe2c8d1 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 31 May 2019 09:35:06 -0400 Subject: add onedrive experimental spec --- onedrive/onedrive.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 onedrive/onedrive.spec (limited to 'onedrive/onedrive.spec') diff --git a/onedrive/onedrive.spec b/onedrive/onedrive.spec new file mode 100644 index 0000000..8826dcf --- /dev/null +++ b/onedrive/onedrive.spec @@ -0,0 +1,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 - 2.3.3-1 +- move to abraunegg distrubtion of onedrive client from skillion + +* Sat Feb 10 2018 Patrick Pichon +add config file, and few addition prerequisites + +* Fri Feb 9 2018 Patrick Pichon +ready for Copr + +* Thu Feb 8 2018 Patrick Pichon +initial version -- cgit