]> git.pld-linux.org Git - packages/xfsdump.git/blob - xfsdump.spec
- release 2
[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:        1.1.3
5 Release:        2
6 License:        GPL
7 Group:          Applications/Archiving
8 URL:            http://oss.sgi.com/projects/xfs/
9 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
10 Patch0:         %{name}-miscfix.patch
11 BuildRequires:  autoconf
12 BuildRequires:  e2fsprogs-devel
13 BuildRequires:  xfsprogs-devel >= 1.2.7
14 BuildRequires:  attr-devel
15 BuildRequires:  dmapi-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The xfsdump package contains xfsdump, xfsrestore and a number of other
20 utilities for administering XFS filesystems.
21
22 xfsdump examines files in a filesystem, determines which need to be
23 backed up, and copies those files to a specified disk, tape or other
24 storage medium. It uses XFS-specific directives for optimizing the
25 dump of an XFS filesystem, and also knows how to backup XFS extended
26 attributes. Backups created with xfsdump are "endian safe" and can
27 thus be transfered between Linux machines of different architectures
28 and also between IRIX machines.
29
30 xfsrestore performs the inverse function of xfsdump; it can restore a
31 full backup of a filesystem. Subsequent incremental backups can then
32 be layered on top of the full backup. Single files and directory
33 subtrees may be restored from full or partial backups.
34
35 %description -l pl
36 Pakiet zawiera programy xfsdump, xfsrestore i inne narzêdzia do
37 administracji systemami plików XFS.
38
39 xfsdump kontroluje system plików oraz wykrywa, które czê¶ci wymagaj±
40 wykonania kopii zapasowej, a nastêpnie kopiuje te dane na podany dysk,
41 ta¶mê lub inne medium danych. Program u¿ywa specyficznych dla XFS
42 funkcji optymalizuj±cych kopiê zapasow± (równie¿ znane jako
43 rozszerzone atrybuty kopii zapasowych XFS). Stworzone kopie zapasowe
44 s± "endian safe" i przez to mog± byæ przenoszone pomiêdzy maszynami
45 Linuxowymi oraz IRIX pracuj±cymi na ró¿nych architekturach.
46
47 xfsrestore wykonuje operacjê przeciwn± do xfsdump; mo¿e on odzyskaæ
48 system plików z kopii zapasowej. Inkrementalne kopie zapasowe mog± byæ
49 u¿ywane w³±cznie z pe³n± kopi±.
50
51 %prep
52 %setup  -q
53 %patch0 -p1
54
55 %build
56 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
57 autoconf
58 %configure
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 DIST_ROOT="$RPM_BUILD_ROOT"
66 DIST_INSTALL=`pwd`/install.manifest
67 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
68 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
69 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
70 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
71
72 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
73 echo ".so man8/xfsdq.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
74
75 gzip -9nf doc/{CHANGES,README.*}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc doc/*.gz
83 %attr(755,root,root) %{_sbindir}/*
84 %attr(755,root,root) /sbin/*
85 %{_mandir}/man8/*
This page took 0.070535 seconds and 4 git commands to generate.