]> git.pld-linux.org Git - packages/xfsdump.git/blob - xfsdump.spec
- updated Source0 URL
[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:        2.2.48
5 Release:        1
6 License:        GPL
7 Group:          Applications/Archiving
8 Source0:        ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}_%{version}-1.tar.gz
9 # Source0-md5:  46412a9dabb8c9f84cd1d9ff1cda64a6
10 Patch0:         %{name}-miscfix.patch
11 Patch1:         %{name}-libtool.patch
12 URL:            http://oss.sgi.com/projects/xfs/
13 BuildRequires:  attr-devel >= 2.4.15
14 BuildRequires:  autoconf
15 BuildRequires:  automake
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 %patch1 -p1
61
62 rm -f aclocal.m4
63
64 %build
65 %{__aclocal} -I m4
66 %{__autoconf}
67 CPPFLAGS="-I/usr/include/ncurses"
68 %configure \
69         DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
70         OPTIMIZER="%{rpmcflags} -I/usr/include/ncurses"
71
72 %{__make} \
73         LIBUUID="-luuid"
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 -rf $RPM_BUILD_ROOT%{_docdir}/xfsdump
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %doc doc/{CHANGES,README.*}
96 %attr(755,root,root) %{_sbindir}/xfsdump
97 %attr(755,root,root) %{_sbindir}/xfsrestore
98 %attr(755,root,root) %{_bindir}/xfs_estimate
99 %attr(755,root,root) %{_bindir}/xfs_fsr
100 %attr(755,root,root) %{_bindir}/xfsdump
101 %attr(755,root,root) %{_bindir}/xfsinvutil
102 %attr(755,root,root) %{_bindir}/xfsrestore
103 %{_mandir}/man8/xfs_estimate.8*
104 %{_mandir}/man8/xfs_fsr.8*
105 %{_mandir}/man8/xfsdump.8*
106 %{_mandir}/man8/xfsinvutil.8*
107 %{_mandir}/man8/xfsrestore.8*
This page took 0.452675 seconds and 4 git commands to generate.