File kup-backup.spec of Package kup-backup

# spec file for package kup-backup
# Copyright (c) 2021 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define rname kup
%bcond_without lang
Name:           kup-backup
Version:        0.9.1
Release:        0
Summary:        Backup scheduler for the Plasma desktop
License:        GPL-2.0-only AND GPL-3.0-only
Group:          System/GUI/KDE
%if %{with lang}
Source2:        %{rname}.keyring
BuildRequires:  extra-cmake-modules
BuildRequires:  libgit2-devel
BuildRequires:  cmake(KF5Config)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5DBusAddons)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5IdleTime)
BuildRequires:  cmake(KF5Init)
BuildRequires:  cmake(KF5JobWidgets)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5Notifications)
BuildRequires:  cmake(KF5Plasma)
BuildRequires:  cmake(KF5Solid)
BuildRequires:  cmake(KF5WidgetsAddons)
BuildRequires:  cmake(Qt5Widgets) >= 5.11.0
Recommends:     bup
Recommends:     rsync

Kup is created for helping people to keep up-to-date backups of their personal files.
Connecting a USB hard drive is the primary supported way to store files, but saving
files to a server over a network connection is also possible for advanced users.

When you plug in your external hard drive Kup will automatically start copying your
latest changes, but of course it will only do so if you have been active on your
computer for some number of hours since the last time you took a backup (and it can
of course ask you first, before copying anything). In general Kup tries to not
disturb you needlessly.


%autosetup -p1 -n %{rname}-%{version}

%cmake_kf5 -d build

%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{rname}

%license LICENSES/*

%if %{with lang}
%files lang -f %{rname}.lang
%license LICENSES/*

openSUSE Build Service is sponsored by