xfsdump/xfsdump.spec

93 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xfsdump
#
# Copyright (c) 2012 SUSE LINUX Products 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: xfsdump
BuildRequires: e2fsprogs-devel
BuildRequires: libattr-devel
BuildRequires: ncurses-devel
BuildRequires: xfsprogs-devel
Accepting request 74186 from home:michal-m:branches:filesystems - updated to 3.0.5 - Release tags will now be digitally signed - Quota files will now be dumped, regardless of the maxsize setting - The new "-s sessid" flag allows inventory sessions to be pruned by their session ID. - Fixed a bug in handling long dump filenames, and dropped (undocumented) support for encoding certain parameters within the dump filename - NODECHK is now off by default, meaning xfsrestore will now support 16 times more directory entries (4 billion) - nrh_t is now 64 bits wide, allowing xfsrestore to support dumps with up to 4 billion directory entries - nix_t is no longer useful, and has been eliminated - Memory use in xfsrestore is better managed now. Segments of nodes are now power-of-2 sized, and allocated nodes are no longer needlessly zeroed and linked into the free list. - Pathname resolution in xfsrestore has a number of performance improvements - Better checking has been implemented for compatibility when resuming a cumulative restore - Build system output has been cleaned up considerably - Dead "namreg" code has been removed - Build dependencies are now determined automatically - Other miscellaneous build system improvements, as well bug fixes thanks to Mike Frysinger and Arkadiusz Miśkiewicz. - Improve xfsinvutil man page and argument processing. - Fix timestamp handling on 64-bit architectures in xfsinvutil. - Various build system improvements. OBS-URL: https://build.opensuse.org/request/show/74186 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=7
2011-06-20 13:12:11 +00:00
Version: 3.0.5
Release: 0
Url: http://oss.sgi.com/projects/xfs/
Summary: Administrative Utilities for the XFS File System
License: GPL-2.0+
Group: System/Filesystems
Accepting request 74186 from home:michal-m:branches:filesystems - updated to 3.0.5 - Release tags will now be digitally signed - Quota files will now be dumped, regardless of the maxsize setting - The new "-s sessid" flag allows inventory sessions to be pruned by their session ID. - Fixed a bug in handling long dump filenames, and dropped (undocumented) support for encoding certain parameters within the dump filename - NODECHK is now off by default, meaning xfsrestore will now support 16 times more directory entries (4 billion) - nrh_t is now 64 bits wide, allowing xfsrestore to support dumps with up to 4 billion directory entries - nix_t is no longer useful, and has been eliminated - Memory use in xfsrestore is better managed now. Segments of nodes are now power-of-2 sized, and allocated nodes are no longer needlessly zeroed and linked into the free list. - Pathname resolution in xfsrestore has a number of performance improvements - Better checking has been implemented for compatibility when resuming a cumulative restore - Build system output has been cleaned up considerably - Dead "namreg" code has been removed - Build dependencies are now determined automatically - Other miscellaneous build system improvements, as well bug fixes thanks to Mike Frysinger and Arkadiusz Miśkiewicz. - Improve xfsinvutil man page and argument processing. - Fix timestamp handling on 64-bit architectures in xfsinvutil. - Various build system improvements. OBS-URL: https://build.opensuse.org/request/show/74186 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=7
2011-06-20 13:12:11 +00:00
Source0: xfsdump-%version.tar.gz
Patch0: xfsdump-docdir.diff
Accepting request 74186 from home:michal-m:branches:filesystems - updated to 3.0.5 - Release tags will now be digitally signed - Quota files will now be dumped, regardless of the maxsize setting - The new "-s sessid" flag allows inventory sessions to be pruned by their session ID. - Fixed a bug in handling long dump filenames, and dropped (undocumented) support for encoding certain parameters within the dump filename - NODECHK is now off by default, meaning xfsrestore will now support 16 times more directory entries (4 billion) - nrh_t is now 64 bits wide, allowing xfsrestore to support dumps with up to 4 billion directory entries - nix_t is no longer useful, and has been eliminated - Memory use in xfsrestore is better managed now. Segments of nodes are now power-of-2 sized, and allocated nodes are no longer needlessly zeroed and linked into the free list. - Pathname resolution in xfsrestore has a number of performance improvements - Better checking has been implemented for compatibility when resuming a cumulative restore - Build system output has been cleaned up considerably - Dead "namreg" code has been removed - Build dependencies are now determined automatically - Other miscellaneous build system improvements, as well bug fixes thanks to Mike Frysinger and Arkadiusz Miśkiewicz. - Improve xfsinvutil man page and argument processing. - Fix timestamp handling on 64-bit architectures in xfsinvutil. - Various build system improvements. OBS-URL: https://build.opensuse.org/request/show/74186 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=7
2011-06-20 13:12:11 +00:00
Patch1: xfsdump-3.0.1-fix-bufferoverflow.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The xfsdump package contains xfsdump, xfsrestore, and a number of other
utilities for administering XFS file systems.
xfsdump examines files in a file system, determines which files need to
be backed up, and copies those files to a specified disk, tape, or
other storage medium. It uses XFS-specific directives for optimizing
the dump of an XFS file system and also knows how to backup XFS
extended attributes. Backups created with xfsdump are "endian safe"
and can thus be transferred between Linux machines of different
architectures and also between IRIX machines.
xfsrestore performs the inverse function of xfsdump. It can restore a
full backup of a file system. Subsequent incremental backups can then
be layered on top of the full backup. Single files and directory
subtrees may be restored from full or partial backups.
Authors:
--------
SGI
%prep
%setup -q
%patch0
Accepting request 74186 from home:michal-m:branches:filesystems - updated to 3.0.5 - Release tags will now be digitally signed - Quota files will now be dumped, regardless of the maxsize setting - The new "-s sessid" flag allows inventory sessions to be pruned by their session ID. - Fixed a bug in handling long dump filenames, and dropped (undocumented) support for encoding certain parameters within the dump filename - NODECHK is now off by default, meaning xfsrestore will now support 16 times more directory entries (4 billion) - nrh_t is now 64 bits wide, allowing xfsrestore to support dumps with up to 4 billion directory entries - nix_t is no longer useful, and has been eliminated - Memory use in xfsrestore is better managed now. Segments of nodes are now power-of-2 sized, and allocated nodes are no longer needlessly zeroed and linked into the free list. - Pathname resolution in xfsrestore has a number of performance improvements - Better checking has been implemented for compatibility when resuming a cumulative restore - Build system output has been cleaned up considerably - Dead "namreg" code has been removed - Build dependencies are now determined automatically - Other miscellaneous build system improvements, as well bug fixes thanks to Mike Frysinger and Arkadiusz Miśkiewicz. - Improve xfsinvutil man page and argument processing. - Fix timestamp handling on 64-bit architectures in xfsinvutil. - Various build system improvements. OBS-URL: https://build.opensuse.org/request/show/74186 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsdump?expand=0&rev=7
2011-06-20 13:12:11 +00:00
%patch1 -p1
%build
export CFLAGS=$RPM_OPT_FLAGS
export DEBUG=-DNDEBUG
%configure --bindir=%{_sbindir} --mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
export DIST_ROOT="$RPM_BUILD_ROOT"
make install
# Remove the link created by the make file
rm $RPM_BUILD_ROOT/%{_sbindir}/{xfsdump,xfsrestore}
mv $RPM_BUILD_ROOT/sbin/{xfsdump,xfsrestore} $RPM_BUILD_ROOT/%{_sbindir}
#UsrMerge
ln -s %{_sbindir}/xfsdump $RPM_BUILD_ROOT/sbin
ln -s %{_sbindir}/xfsrestore $RPM_BUILD_ROOT/sbin
#EndUsrMerge
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
%{_sbindir}/*
#UsrMerge
/sbin/*
#EndUsrMerge
%doc %{_defaultdocdir}/%name
%{_mandir}/man8/*
%changelog