Репозиторий Sisyphus
Последнее обновление: 25 мая 2020 | Пакетов: 17559 | Посещений: 18608426
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: onedrive

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: onedrive
Version: 2.4.0
Release: alt1

Summary: OneDrive Free Client written in D

License: GPLv3
Group: File tools
Url: https://github.com/abraunegg/onedrive

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/abraunegg/onedrive/archive/v%version.tar.gz

Source: %name-%version.tar

BuildRequires(pre): rpm-build-dmd
BuildRequires: rpm-build-intro

BuildRequires: dmd >= 2.083.1

BuildRequires: libcurl-devel
BuildRequires: libnotify-devel
BuildRequires: libsqlite3-devel >= 3.7.15
# for pkg-config --variable=systemdsystemunitdir systemd
BuildRequires: libsystemd-devel

BuildRequires: udev-rules
#Requires(preun): udev-rules

ExclusiveArch: %dmd_arches

%description
Free CLI client for Microsoft OneDrive written in D.

%prep
%setup
# sed -i 's|version ||g' Makefile
# sed -i '/chown/d' Makefile.in
%__subst 's/-o root -g users//g' Makefile.in
%__subst 's/-o root -g root//g' Makefile.in
# sed -i '/git/d' Makefile
%__subst "s|std\.c\.|core\.stdc\.|" src/sqlite.d
echo %version > version

%build
%configure
export DFLAGS="%dmd_optflags"
export PREFIX="%prefix"
%make_build

%install
%makeinstall_std
chmod a-x %buildroot/%_man1dir/%{name}*

#%preun

#systemd_user_preun %name.service
#systemd_preun %name at .service

%files
%doc README.md LICENSE CHANGELOG.md
%_bindir/%name
%_userunitdir/%name.service
%_unitdir/%name at .service
%_man1dir/%name.1.*
%_docdir/%name
%config %_logrotatedir/onedrive

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin