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