Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad:branches
bup
bup.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bup.spec of Package bup
# # spec file for package bup # # Copyright (c) 2023 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 https://bugs.opensuse.org/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines %define with_test 0 Name: bup Version: 0.33.1 Release: 0 Summary: Backup program based on git License: LGPL-2.0-only Group: Productivity/Archiving/Backup URL: https://bup.github.io/ Source0: https://github.com/bup/bup/archive/refs/tags/%{version}.tar.gz BuildRequires: git-core >= 1.5.3.1 %ifnarch %ix86 BuildRequires: pandoc %endif BuildRequires: perl-Time-HiRes %if 0%{?sle_version} >= 150400 BuildRequires: python310-devel %else BuildRequires: python3-devel %endif BuildRequires: python3-fuse BuildRequires: python3-pylibacl BuildRequires: python3-pyxattr BuildRequires: python3-tornado %if %{with_test} BuildRequires: python3-pytest BuildRequires: python3-pytest-xdist BuildRequires: rsync %endif Requires: git-core >= 1.5.3.1 Requires: par2 Requires: python3 Requires: python3-fuse Requires: python3-pylibacl Requires: python3-pyxattr Requires: python3-tornado %description Very efficient backup system based on the git packfile format, providing fast incremental saves and global deduplication (among and within files, including virtual machine images). %prep %autosetup -p1 # rpmlint: fix incorrect-fsf-address find . -type f | xargs sed -i -e 's:59 Temple Place\, Suite 330\, Boston\, MA 02111-1307 USA:51 Franklin Street\, Fifth Floor\, Boston\, MA 02110-1301 USA:g' # fix env-script-interpreter sed -i -e "s|\/usr\/bin\/env bash|\/bin\/bash|g" lib/cmd/bup-import-rdiff-backup # rpmlint find -type f -name ".gitignore" -exec rm {} \; %build # Can't use %%configure macro because it's not a standard autoconf configure script ./configure %make_build %install %if 0%{!?make_install:1} %define make_install make install 'DESTDIR=%{buildroot}' %endif %make_install 'PREFIX=%{_prefix}' 'DOCDIR=%{_docdir}/%{name}' %check %if %{with_test} make check %endif %files %license LICENSE %doc README %{_bindir}/%{name} %dir %{_prefix}/lib/%{name}/ %dir %{_prefix}/lib/%{name}/bup/ %dir %{_prefix}/lib/%{name}/cmd/ %dir %{_prefix}/lib/%{name}/web/ %dir %{_prefix}/lib/%{name}/web/static/ %{_prefix}/lib/%{name}/bup/* %{_prefix}/lib/%{name}/cmd/* %{_prefix}/lib/%{name}/web/* %{_prefix}/lib/%{name}/web/static/* %ifnarch %ix86 %{_docdir}/%{name}/ %{_mandir}/man1/* %endif %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