Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Archiving:Backup
flexbackup
flexbackup.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flexbackup.spec of Package flexbackup
# # spec file for package flexbackup # # 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: flexbackup Version: 1.2.1 Release: 0 Summary: Flexible backup script License: GPL-2.0 Group: Applications/Archiving Url: http://www.flexbackup.org Source0: http://sourceforge.net/projects/flexbackup/files/flexbackup%20%28stable%29/%{version}/%{name}-%{version}.tar.gz ## ## Patches below are taken as-they-are from Gentoo ebuild ## # Patch from upstream adds optional lzma compression mode. Patch0: flexbackup-1.2.1-lzma.patch # Fix bug #116510: cannot back up remote machines after patch CAN-2005-2965 Patch1: flexbackup-1.2.1-secure-tempfile.patch # Fix bug #96334: incorrectly determines bash 3.x to be bash 1.x Patch2: flexbackup-1.2.1-bash.patch # Fix bug #171205: specifies wrong command line option for mbuffer / other small enhancements Patch3: flexbackup-1.2.1-mbuffer-switch.patch # Fix bug #173672: remote host buffer test is broken Patch4: flexbackup-1.2.1-remote-bufftest.patch # Fix bug #178126: subtle subtree pruning issue / other small issues Patch5: flexbackup-1.2.1-prune.patch # Fix bug #184560: fails to back up targets with spaces in their names in some modes Patch6: flexbackup-1.2.1-spaces-in-filenames.patch # Fix bug #190357: fails on very large files with afio back end Patch7: flexbackup-1.2.1-afio-large-files.patch # Fix bug #235416: prevent normal status message during conf file read from going to stderr Patch8: flexbackup-1.2.1-quieten.patch # Fix bug #331673: perl 5.12 deprecation warnings. Patch9: flexbackup-1.2.1-perl-5.12-deprecation-warning.patch # Fix bug #495232: perl 5.16 deprecation warnings. Patch10: flexbackup-1.2.1-perl-5.16-deprecation-warning.patch Requires: fileutils Requires: findutils Requires: gzip Requires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description A flexible backup tool Features: o Easy to configure o Uses dump, afio, GNU tar, cpio, star, pax, or zip archivers o Full and numbered levels of incremental backup (acts like "dump") o Compression and buffering options for all backup types o Does remote filesystems (over rsh/ssh; no special service) o Can backup only files not owned by rpm, or changed from rpm version o Writes to tapes, on-disk archive files, or on-disk directory trees o Keeps a table of contents so you know archives are on each tape o Nice log files %prep %setup -q %global %patch0 %patch1 -p1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 %patch7 %patch8 %patch9 %patch10 %build make %{?_smp_mflags} all PREFIX=%{_prefix} CONFFILE=%{_sysconfdir}/flexbackup.conf %install mkdir %{buildroot}/etc mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man5 mkdir -p %{buildroot}%{_localstatedir}/lib/flexbackup mkdir -p %{buildroot}%{_localstatedir}/log/flexbackup rm INSTALL make install PREFIX=%{buildroot}/usr CONFFILE=%{buildroot}%{_sysconfdir}/flexbackup.conf sed -i \ -e '/^\$type = /s:afio:tar:' \ -e "/^\$buffer = /s:'buffer':'false':" \ %{buildroot}%{_sysconfdir}/flexbackup.conf %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/flexbackup.conf %{_bindir}/* %{_mandir}/*/* %dir %{_localstatedir}/lib/flexbackup %dir %{_localstatedir}/log/flexbackup %doc CHANGES COPYING TODO README CREDITS faq.html %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