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