1 Summary: Tools for the XFS filesystem
2 Summary(pl): Narzêdzia do systemu plikowego XFS
7 Group: Applications/Archiving
8 URL: http://oss.sgi.com/projects/xfs/
9 Source0: ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
10 BuildRequires: autoconf
11 BuildRequires: e2fsprogs-devel
12 BuildRequires: xfsprogs-devel >= 2.1.2-2
13 BuildRequires: attr-devel
14 BuildRequires: dmapi-devel >= 2.0.5-1
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _sbindir /sbin
18 %define _bindir /usr/sbin
21 The xfsdump package contains xfsdump, xfsrestore and a number of other
22 utilities for administering XFS filesystems.
24 xfsdump examines files in a filesystem, determines which need to be
25 backed up, and copies those files to a specified disk, tape or other
26 storage medium. It uses XFS-specific directives for optimizing the
27 dump of an XFS filesystem, and also knows how to backup XFS extended
28 attributes. Backups created with xfsdump are "endian safe" and can
29 thus be transfered between Linux machines of different architectures
30 and also between IRIX machines.
32 xfsrestore performs the inverse function of xfsdump; it can restore a
33 full backup of a filesystem. Subsequent incremental backups can then
34 be layered on top of the full backup. Single files and directory
35 subtrees may be restored from full or partial backups.
38 Pakiet zawiera programy xfsdump, xfsrestore i inne narzêdzia do
39 administracji systemami plików XFS.
41 xfsdump kontroluje system plików oraz wykrywa, które czê¶ci wymagaj±
42 wykonania kopii zapasowej, a nastêpnie kopiuje te dane na podany dysk,
43 ta¶mê lub inne medium danych. Program u¿ywa specyficznych dla XFS
44 funkcji optymalizuj±cych kopiê zapasow± (równie¿ znane jako
45 rozszerzone atrybuty kopii zapasowych XFS). Stworzone kopie zapasowe
46 s± "endian safe" i przez to mog± byæ przenoszone pomiêdzy maszynami
47 Linuksowymi oraz IRIX pracuj±cymi na ró¿nych architekturach.
49 xfsrestore wykonuje operacjê przeciwn± do xfsdump; mo¿e on odzyskaæ
50 system plików z kopii zapasowej. Inkrementalne kopie zapasowe mog± byæ
51 u¿ywane w³±cznie z pe³n± kopi±.
57 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
59 CPPFLAGS="-I/usr/include/ncurses"
64 OPTIMIZER="%{rpmcflags} -I/usr/include/ncurses"
67 rm -rf $RPM_BUILD_ROOT
69 DIST_ROOT="$RPM_BUILD_ROOT"
70 DIST_INSTALL=`pwd`/install.manifest
71 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
72 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
73 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
74 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
76 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8*
77 echo ".so man8/xfsdq.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc doc/{CHANGES,README.*}
85 %attr(755,root,root) %{_bindir}/*
86 %attr(755,root,root) %{_sbindir}/*