]> git.pld-linux.org Git - packages/xfsdump.git/blob - xfsdump.spec
- up to 3.1.6
[packages/xfsdump.git] / xfsdump.spec
1 Summary:        Tools for the XFS filesystem
2 Summary(pl.UTF-8):      Narzędzia do systemu plikowego XFS
3 Name:           xfsdump
4 Version:        3.1.6
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Archiving
8 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
9 # Source0-md5:  50353cd4f4b435685955363e6044f4d1
10 Patch0:         %{name}-miscfix.patch
11 URL:            http://www.xfs.org/
12 BuildRequires:  attr-devel >= 2.4.15
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  gettext-tools
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.UTF-8
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 %patch0 -p1
60
61 %{__rm} aclocal.m4
62
63 %build
64 %{__libtoolize}
65 %{__aclocal} -I m4
66 %{__autoconf}
67 %{__cp} include/install-sh .
68 CPPFLAGS="-I/usr/include/ncurses"
69 %configure \
70         DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
71         OPTIMIZER="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses"
72
73 %{__make} \
74         LIBUUID="-luuid" \
75         V=1
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 DIST_ROOT="$RPM_BUILD_ROOT"
81 DIST_INSTALL=`pwd`/install.manifest
82 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
83 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
84
85 %{__make} install \
86         DIST_MANIFEST="$DIST_INSTALL"
87 %{__make} install-dev \
88         DIST_MANIFEST="$DIST_INSTALL_DEV"
89
90 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xfsdump
91
92 %find_lang %{name}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc doc/{CHANGES,README.*}
100 %attr(755,root,root) %{_sbindir}/xfsdump
101 %attr(755,root,root) %{_sbindir}/xfsrestore
102 %attr(755,root,root) %{_sbindir}/xfsinvutil
103 %{_mandir}/man8/xfsdump.8*
104 %{_mandir}/man8/xfsinvutil.8*
105 %{_mandir}/man8/xfsrestore.8*
This page took 0.08904 seconds and 3 git commands to generate.