Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Ports
backintime
backintime.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File backintime.spec of Package backintime
# # spec file for package backintime # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: backintime Version: 1.1.6 Release: 0 Summary: Back In Time is a simple backup tool for Linux, inspired by "flyback project" License: GPL-2.0+ Group: Productivity/Archiving/Backup Url: http://backintime.le-web.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Source: https://launchpad.net/%{name}/1.1/%{version}/+download/%{name}-%{version}.tar.gz Source1: %{name}.png Source99: %{name}.rpmlintrc # PATCH-FEATURE-OPENSUSE %%{name}-ssh-agent_only_if_password.patch -- kdupke@suse.com Patch0: %{name}-ssh-agent_only_if_password.patch BuildRequires: fdupes BuildRequires: openssh BuildRequires: python3-devel BuildRequires: sshfs BuildRequires: update-desktop-files Requires: cron Requires: libnotify-tools Requires: openssh Requires: python-notify Requires: python3 Requires: rsync Recommends: encfs Recommends: python-keyring Recommends: sshfs Conflicts: backintime-kde Conflicts: backintime-gnome %description Back In Time is a simple backup tool for Linux, inspired by "flyback project". It provides a command line client 'backintime' and a Qt4 GUI 'backintime-qt4' both written in Python3. You only need to specify 3 things: * where to save snapshots; * what folders to backup; and * backup frequency (manual, every hour, every day, every month). %package doc Summary: Documentation for %{name} Group: Productivity/Archiving/Backup Requires: %{name} = %{version} BuildArch: noarch %description doc Documentation and help files for %{name}. %package qt4 Summary: Back In Time Qt4 GUI Group: Productivity/Archiving/Backup Requires: %{name} = %{version} Requires: polkit Requires: python3-qt4 %description qt4 This package has a Qt4 GUI for %{name}. %lang_package %prep %setup -q -n %{name}-%{version} %patch0 -p1 %build sed -i -e "s|/share/doc/backintime|/share/doc/packages/backintime|g" common/config.py */Makefile.template # Fix icon name. sed -i 's/Icon=document-save/Icon=backintime/g' qt4/backintime-qt4.desktop sed -i 's/Icon=document-save/Icon=backintime/g' qt4/backintime-qt4-root.desktop pushd common ./configure --python3 make %{?_smp_mflags} popd pushd qt4 ./configure --python3 make %{?_smp_mflags} popd %install pushd common %{?make_install} %{!?make_install:%makeinstall} popd pushd qt4 %{?make_install} %{!?make_install:%makeinstall} popd # Fix doc directory. mkdir -p %{buildroot}/%{_docdir}/%{name} cp -rf %{buildroot}/%{_docdir}/%{name}-common/* %{buildroot}/%{_docdir}/%{name}/ # Remove unneeded files. rm -r %{buildroot}%{_datadir}/doc/qt install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/pixmaps/%{name}.png # Fix executable permissions. chmod a+x %{buildroot}%{_datadir}/%{name}/common/askpass.py chmod a+x %{buildroot}%{_datadir}/%{name}/common/create-manpage-backintime-config.py %suse_update_desktop_file %{name}-qt4 System Backup %suse_update_desktop_file %{name}-qt4-root System Backup %find_lang %{name} --without-kde --without-gnome %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/backintime.desktop %{_bindir}/%{name} %{_bindir}/%{name}-askpass %{_datadir}/%{name}/ %{_datadir}/pixmaps/%{name}.png %{_datadir}/bash-completion %{_mandir}/man1/%{name}-askpass.1.gz %{_mandir}/man1/%{name}-config.1.gz %{_mandir}/man1/%{name}.1.gz %{_docdir}/%{name}/AUTHORS %{_docdir}/%{name}/CHANGES %{_docdir}/%{name}/LICENSE %{_docdir}/%{name}/README %{_docdir}/%{name}/VERSION %exclude %{_docdir}/%{name}-*/ %exclude %{_datadir}/%{name}/qt4 %exclude %{_datadir}/%{name}/plugins %files doc %defattr(-,root,root) %exclude %{_docdir}/%{name}/AUTHORS %exclude %{_docdir}/%{name}/CHANGES %exclude %{_docdir}/%{name}/LICENSE %exclude %{_docdir}/%{name}/README %exclude %{_docdir}/%{name}/VERSION %{_docdir}/%{name}/ %files lang -f %{name}.lang %defattr(-,root,root) %if 0%{?suse_version} < 1120 %lang(jv) %dir %{_datadir}/locale/jv %lang(jv) %dir %{_datadir}/locale/jv/LC_MESSAGES %endif %files qt4 %defattr(-,root,root) %{_bindir}/%{name}-qt4 %{_datadir}/applications/%{name}-qt4.desktop %{_datadir}/applications/%{name}-qt4-root.desktop %{_datadir}/%{name}/qt4 %{_datadir}/%{name}/plugins %{_docdir}/%{name}-qt4/ %{_mandir}/man1/%{name}-qt4.1.gz %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/system-services %{_datadir}/dbus-1/system-services/net.launchpad.backintime.serviceHelper.service %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/net.launchpad.backintime.policy %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/system.d %config %{_sysconfdir}/dbus-1/system.d/net.launchpad.backintime.serviceHelper.conf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor