/[packages]/cauldron/xfsdump/current/SPECS/xfsdump.spec
ViewVC logotype

Diff of /cauldron/xfsdump/current/SPECS/xfsdump.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 273157 by tmb, Sat Mar 24 23:34:59 2012 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 1  Line 1 
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
# Line 13  BuildRequires: dm-devel Line 13  BuildRequires: dm-devel
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
# Line 49  make install DIST_ROOT=%{buildroot}/ Line 50  make install DIST_ROOT=%{buildroot}/
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    
# Line 62  rm -rf %{buildroot} Line 63  rm -rf %{buildroot}
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    

Legend:
Removed from v.273157  
changed lines
  Added in v.273158

  ViewVC Help
Powered by ViewVC 1.1.30