Репозиторий Sisyphus
Последнее обновление: 27 сентября 2021 | Пакетов: 17343 | Посещений: 21960930
en ru br
Репозитории ALT

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

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

Name: luckybackup
Version: 0.5.0
Release: alt3
Summary: A powerful, fast and reliable backup and sync tool

Group: File tools
License: GPL-3.0+
URL: http://luckybackup.sourceforge.net/index.html
Source0: http://downloads.sourceforge.net/project/%{name}/%{version}/source/%{name}-%{version}.tar.gz
Source1: luckybackup_ru.ts
Patch1: luckybackup-remove-missing-translations.patch
Patch2: luckybackup-use-locale.patch

BuildRequires(pre): gcc-c++ qt5-base-devel
BuildRequires: qt5-tools
#BuildRequires: desktop-file-utils
Requires: polkit

%define _pkgdocdir %{_docdir}/%{name}-%{version}

luckyBackup is an application that backs-up and/or synchronizes any
directories with the power of rsync.

It is simple to use, fast (transfers over only changes made and not all data),
safe (keeps your data safe by checking all declared directories before
proceeding in any data manipulation ), reliable and fully customizable.

%setup -q
%patch1 -p2
%patch2 -p2
sed -i 's,/usr/share/doc/luckybackup,%{_pkgdocdir},' luckybackup.pro
sed -i 's,/usr/share/doc/luckybackup/license/gpl.html,%{_pkgdocdir}/license/gpl.html,' src/global.h
sed -i 's,/usr/share/doc/luckybackup/manual/index.html,%{_pkgdocdir}/manual/index.html,' src/global.h
cp -a %SOURCE1 translations/luckybackup_ru.ts
# Remove generated language files
rm -f translations/*.qm

lrelease-qt5 *.pro

%makeinstall_std INSTALL_ROOT=%buildroot

# Install manual

subst 's,data/,/usr/share/doc/luckybackup/manual/data/,g' manual/index.html
mkdir -p %buildroot%_defaultdocdir/%name
cp -a manual %buildroot%_defaultdocdir/%name

# Remove source translation files

rm -f %buildroot%_datadir/%name/translations/*.ts

%doc readme/README readme/changelog
%doc %_defaultdocdir/%name


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

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