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