]> git.pld-linux.org Git - packages/xfsdump.git/blob - xfsdump.spec
- 2.2.4, STBR
[packages/xfsdump.git] / xfsdump.spec
1 Summary:        Tools for the XFS filesystem
2 Summary(pl):    Narzêdzia do systemu plikowego XFS
3 Name:           xfsdump
4 Version:        2.2.4
5 Release:        1
6 License:        GPL
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)
16
17 %define         _sbindir        /sbin
18 %define         _bindir         /usr/sbin
19
20 %description
21 The xfsdump package contains xfsdump, xfsrestore and a number of other
22 utilities for administering XFS filesystems.
23
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.
31
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.
36
37 %description -l pl
38 Pakiet zawiera programy xfsdump, xfsrestore i inne narzêdzia do
39 administracji systemami plików XFS.
40
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.
48
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±.
52
53 %prep
54 %setup  -q
55
56 %build
57 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
58 %{__autoconf}
59 CPPFLAGS="-I/usr/include/ncurses"
60 %configure
61
62 %{__make} \
63         LIBUUID="-luuid" \
64         OPTIMIZER="%{rpmcflags} -I/usr/include/ncurses"
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
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"
75
76 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8*
77 echo ".so man8/xfsdq.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc doc/{CHANGES,README.*}
85 %attr(755,root,root) %{_bindir}/*
86 %attr(755,root,root) %{_sbindir}/*
87 %{_mandir}/man8/*
This page took 0.033784 seconds and 4 git commands to generate.