!1 init packages for openEuler
From: @tanyulong2021 Reviewed-by: @pei-jiankang, @dou33 Signed-off-by: @dou33, @pei-jiankang
This commit is contained in:
commit
d4cf0b8b63
BIN
kbackup-21.12.1.tar.xz
Normal file
BIN
kbackup-21.12.1.tar.xz
Normal file
Binary file not shown.
97
kbackup.spec
Normal file
97
kbackup.spec
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
|
||||||
|
Name: kbackup
|
||||||
|
Version: 21.12.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Back up your data in a simple, user friendly way
|
||||||
|
Summary(fr): Sauvegarder vos données de manière simple et conviviale
|
||||||
|
Summary(ru): Простое, дружественное к пользователю резервное копирование
|
||||||
|
|
||||||
|
License: GPLv2+
|
||||||
|
Url: https://github.com/KDE/kbackup
|
||||||
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: cmake(KF5Notifications)
|
||||||
|
BuildRequires: cmake(KF5I18n)
|
||||||
|
BuildRequires: cmake(KF5KIO)
|
||||||
|
BuildRequires: cmake(KF5DocTools)
|
||||||
|
BuildRequires: cmake(KF5XmlGui)
|
||||||
|
BuildRequires: cmake(KF5IconThemes)
|
||||||
|
BuildRequires: cmake(KF5Archive)
|
||||||
|
BuildRequires: cmake(KF5WidgetsAddons)
|
||||||
|
BuildRequires: cmake(KF5GuiAddons)
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: kf5-kio-devel
|
||||||
|
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
|
%description
|
||||||
|
KBackup is a program that lets you back up any directories or files,
|
||||||
|
whereby it uses an easy to use directory tree to select the things to back up.
|
||||||
|
The program was designed to be very simple in its use
|
||||||
|
so that it can be used by non-computer experts.
|
||||||
|
The storage format is the well known TAR format, whereby the data
|
||||||
|
is still stored in compressed format (bzip2 or gzip).
|
||||||
|
|
||||||
|
%description -l fr
|
||||||
|
KBackup est un programme qui vous permet de sauvegarder n'importe quels
|
||||||
|
fichiers ou répertoires que vous pouvez sélectionner dans une arborescence.
|
||||||
|
Il a été conçu pour être facile d'utilisation et est donc à la portée des
|
||||||
|
non-initiés à l'informatique.
|
||||||
|
Le format de stockage est le très connu format TAR, où les données sont
|
||||||
|
stockées compressées (bzip2 ou gzip).
|
||||||
|
|
||||||
|
%description -l ru
|
||||||
|
KBackup позволяет делать резервное копирование любых каталогов и файлов,
|
||||||
|
используя простое представление в виде дерева каталогов для выбора элементов
|
||||||
|
копирования.
|
||||||
|
Программа спроектирована очень простой в использовании даже не экспертами в
|
||||||
|
области компьютеров.
|
||||||
|
Формат хранения архивов - хорошо известный TAR, форматы сжатия bzip2 или gzip.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir build
|
||||||
|
pushd build
|
||||||
|
%cmake_kf5 ..
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
pushd build
|
||||||
|
%make_install
|
||||||
|
popd
|
||||||
|
|
||||||
|
%find_lang %{name} --with-html --all-name
|
||||||
|
|
||||||
|
%check
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.kde.%{name}.appdata.xml
|
||||||
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.%{name}.desktop
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog README TODO
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/metainfo/org.kde.%{name}.appdata.xml
|
||||||
|
%{_datadir}/applications/org.kde.%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/*.png
|
||||||
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
||||||
|
%{_datadir}/kxmlgui5/%{name}
|
||||||
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
%{_mandir}/*/man1/%{name}.1.*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Feb 18 2022 tanyulong <tanyulong@kylinos.cn> - 21.12.1-1
|
||||||
|
- init for openEuler
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user