]> git.pld-linux.org Git - packages/xfsdump.git/blob - xfsdump.spec
- add libtool patch
[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.42
5 Release:        1
6 License:        GPL
7 Group:          Applications/Archiving
8 Source0:        ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
9 # Source0-md5:  4e113a39b07723bbb140d2e5c5389cfe
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
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 %build
63 rm -f aclocal.m4
64 %{__aclocal} -I m4
65 %{__autoconf}
66 CPPFLAGS="-I/usr/include/ncurses"
67 %configure \
68         DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
69         OPTIMIZER="%{rpmcflags} -I/usr/include/ncurses"
70
71 %{__make} \
72         LIBUUID="-luuid"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 DIST_ROOT="$RPM_BUILD_ROOT"
78 DIST_INSTALL=`pwd`/install.manifest
79 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
80 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
81
82 %{__make} install \
83         DIST_MANIFEST="$DIST_INSTALL"
84 %{__make} install-dev \
85         DIST_MANIFEST="$DIST_INSTALL_DEV"
86
87 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8*
88 echo ".so man8/xfsdq.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
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) %{_bindir}/*
97 %attr(755,root,root) %{_sbindir}/*
98 %{_mandir}/man8/*
This page took 0.035541 seconds and 4 git commands to generate.