1 |
Summary: Administrative utilities for the XFS filesystem |
Summary: Administrative utilities for the XFS filesystem |
2 |
Name: xfsdump |
Name: xfsdump |
3 |
Version: 3.1.0 |
Version: 3.1.0 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz |
Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz |
6 |
License: GPLv2 |
License: GPLv2 |
7 |
Group: System/Kernel and hardware |
Group: System/Kernel and hardware |
13 |
BuildRequires: ncurses-devel |
BuildRequires: ncurses-devel |
14 |
BuildRequires: libtool |
BuildRequires: libtool |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
16 |
|
Requires(pre): filesystem >= 2.1.9-18 |
17 |
|
|
18 |
%description |
%description |
19 |
The xfsdump package contains xfsdump, xfsrestore and a number of |
The xfsdump package contains xfsdump, xfsrestore and a number of |
50 |
rm -rf %{buildroot}%{_datadir}/doc/xfsdump/ |
rm -rf %{buildroot}%{_datadir}/doc/xfsdump/ |
51 |
|
|
52 |
# for coerency, rename xfsdump|xfsrestore to dump|restore.xfs |
# for coerency, rename xfsdump|xfsrestore to dump|restore.xfs |
53 |
mv %{buildroot}/sbin/xfsdump %{buildroot}/sbin/dump.xfs |
mv %{buildroot}/sbin/xfsdump %{buildroot}%{_sbindir}/dump.xfs |
54 |
mv %{buildroot}/sbin/xfsrestore %{buildroot}/sbin/restore.xfs |
mv %{buildroot}/sbin/xfsrestore %{buildroot}%{_sbindir}/restore.xfs |
55 |
ln -sf /sbin/dump.xfs %{buildroot}/sbin/xfsdump |
ln -sf dump.xfs %{buildroot}%{_sbindir}/xfsdump |
56 |
ln -sf /sbin/restore.xfs %{buildroot}/sbin/xfsrestore |
ln -sf restore.xfs %{buildroot}%{_sbindir}/xfsrestore |
57 |
ln -sf %{_mandir}/man8/xfsdump.8 %{buildroot}%{_mandir}/man8/dump.xfs |
ln -sf %{_mandir}/man8/xfsdump.8 %{buildroot}%{_mandir}/man8/dump.xfs |
58 |
ln -sf %{_mandir}/man8/xfsrestore.8 %{buildroot}%{_mandir}/man8/restore.xfs |
ln -sf %{_mandir}/man8/xfsrestore.8 %{buildroot}%{_mandir}/man8/restore.xfs |
59 |
|
|
63 |
%files |
%files |
64 |
%defattr(-,root,root) |
%defattr(-,root,root) |
65 |
%doc doc/CHANGES.gz doc/COPYING doc/INSTALL doc/README.xfsdump |
%doc doc/CHANGES.gz doc/COPYING doc/INSTALL doc/README.xfsdump |
|
/sbin/* |
|
66 |
%{_sbindir}/* |
%{_sbindir}/* |
67 |
%{_mandir}/*/* |
%{_mandir}/*/* |
68 |
|
|