Projects
Eulaceura:Factory
backintime
_service:obs_scm:backintime.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backintime.spec of Package backintime
Name: backintime Version: 1.4.3 Release: 1 Summary: Simple backup tool inspired from the Flyback project and TimeVault License: GPLv2+ URL: https://github.com/bit-team/backintime Source0: https://github.com/bit-team/backintime/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: python-rpm-macros BuildRequires: python%{python3_pkgversion}-devel BuildRequires: systemd Requires: %{name}-common = %{version}-%{release} # we place additional icons Requires: hicolor-icon-theme # # execution of tests # BuildRequires: python%{python3_pkgversion}-pytest # BuildRequires: python%{python3_pkgversion}-dbus # BuildRequires: python%{python3_pkgversion}-qt5-base # BuildRequires: /usr/bin/ssh-agent # BuildRequires: /usr/bin/ps # BuildRequires: rsync # BuildRequires: make %description Back In Time is a simple backup system for Linux inspired from "flyback project" and "TimeVault". The backup is done by taking snapshots of a specified set of directories. %package common Summary: Common files for %{name} Requires: python3 Requires: rsync Requires: crontabs Requires: openssh Requires: python%{python3_pkgversion}-keyring Requires: python%{python3_pkgversion}-dbus Requires: /usr/bin/ssh-agent Requires: /usr/bin/ps # Recommends: fuse-sshfs # Recommends: fuse-encfs %description common Back In Time is a simple backup system for Linux inspired from "flyback project" and "TimeVault". The backup is done by taking snapshots of a specified set of directories. This package contains non GUI files for %{name}. %package plugins Summary: Plugins for %{name} Requires: %{name}-common = %{version}-%{release} %description plugins %summary}. %package qt Summary: Qt frontend for %{name} Requires: %{name}-common = %{version}-%{release} Requires: libnotify Requires: polkit Requires: python%{python3_pkgversion}-PyQt5 Requires: python%{python3_pkgversion}-SecretStorage Requires: python%{python3_pkgversion}-keyring Requires: xdpyinfo # Recommends: meld Recommends: %{name}-plugins %description qt BackInTime is a simple backup system for Linux inspired from "flyback project" and "TimeVault". The backup is done by taking snapshots of a specified set of directories. This package contains the Qt frontend of BackInTime. %prep %setup -q # Fix documentation directories. sed -i -e "s|'%{name}-common'|'%{name}'|g" common/config.py sed -i -e "s|%{name}-common|%{name}|g" common/configure qt/configure %build pushd common %configure popd pushd qt %configure popd %make_build -C common %make_build -C qt %install #Force Python 3 to be used for byte compilation: %global __python %{__python3} %make_install -C common %make_install -C qt # Manually invoke the python byte compile macro for each path that needs byte # compilation. %py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}/qt %find_lang %{name} desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}-qt.desktop desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications/ \ --add-category="Settings;" \ %{buildroot}%{_datadir}/applications/%{name}-qt-root.desktop mkdir -p %{buildroot}%{_sbindir} cp -p %{buildroot}%{_bindir}/%{name}-qt \ %{buildroot}%{_sbindir}/%{name}-qt-root ln -s consolehelper \ %{buildroot}%{_bindir}/%{name}-qt-root mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps/ cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/%{name}-qt-root USER=root PROGRAM=%{_sbindir}/%{name}-qt-root SESSION=true EOF mkdir -p %{buildroot}%{_sysconfdir}/pam.d cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/%{name}-qt-root #%PAM-1.0 auth include config-util account include config-util session include config-util EOF # %check # rm common/test/test_tools.py # make -C common test-v %files common -f %{name}.lang %doc %{_datadir}/doc/%{name}/ %{_sysconfdir}/xdg/autostart/%{name}.desktop %{_bindir}/%{name} %{_bindir}/%{name}-askpass %{_datadir}/%{name}/common/ %{_datadir}/bash-completion/completions/backintime %{_datadir}/dbus-1/system-services/net.launchpad.backintime.serviceHelper.service %{_datadir}/polkit-1/actions/net.launchpad.backintime.policy %{_datadir}/dbus-1/system.d/net.launchpad.backintime.serviceHelper.conf %{_mandir}/man1/%{name}* %files plugins %{_datadir}/%{name}/plugins/ %files qt %doc %{_docdir}/%{name}-qt/ %{_bindir}/%{name}-qt %{_bindir}/%{name}-qt-root %{_bindir}/%{name}-qt_polkit %{_sbindir}/%{name}-qt-root %{_datadir}/applications/%{name}-qt.desktop %{_datadir}/applications/%{name}-qt-root.desktop %{_datadir}/backintime/qt/ %{_datadir}/icons/hicolor/*/actions/*.svg %{_datadir}/bash-completion/completions/backintime-qt #%%{_datadir}/doc/qt/HTML/en/backintime/index.docbook %config(noreplace) %{_sysconfdir}/pam.d/%{name}-qt-root %config %{_sysconfdir}/security/console.apps/%{name}-qt-root %changelog * Mon Mar 04 2024 liweigang <izmirvii@gmail.com> - 1.4.3-1 - update to version 1.4.3 * Tue Nov 14 2023 wangqia <wangqia@uniontech.com> - 1.3.3-1 - Upgrade to 1.3.3 * Wed Mar 2 2022 jiangsonglin2 <songlin@isrc.iscas.ac.cn> - 1.3.1-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2