diff --git a/.cvsignore b/.cvsignore index e69de29..9e4fccf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xfsdump_2.2.42-1.tar.gz diff --git a/sources b/sources index e69de29..924f1b0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4e113a39b07723bbb140d2e5c5389cfe xfsdump_2.2.42-1.tar.gz diff --git a/xfsdump.spec b/xfsdump.spec new file mode 100644 index 0000000..48fbabf --- /dev/null +++ b/xfsdump.spec @@ -0,0 +1,79 @@ +Summary: Administrative utilities for the XFS filesystem +Name: xfsdump +Version: 2.2.42 +Release: 2%{?dist} +License: GPL +Group: System Environment/Base +URL: http://oss.sgi.com/projects/xfs/ +Source0: ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf, libtool, gettext +BuildRequires: readline-devel, libtermcap-devel, xfsprogs-devel, e2fsprogs-devel, libattr-devel ncurses-devel +Requires: xfsprogs >= 2.6.30, attr >= 2.0.0 + + +%description +The xfsdump package contains xfsdump, xfsrestore and a number of +other utilities for administering XFS filesystems. + +xfsdump examines files in a filesystem, determines which need to be +backed up, and copies those files to a specified disk, tape or other +storage medium. It uses XFS-specific directives for optimizing the +dump of an XFS filesystem, and also knows how to backup XFS extended +attributes. Backups created with xfsdump are "endian safe" and can +thus be transfered between Linux machines of different architectures +and also between IRIX machines. + +xfsrestore performs the inverse function of xfsdump; it can restore a +full backup of a filesystem. Subsequent incremental backups can then +be layered on top of the full backup. Single files and directory +subtrees may be restored from full or partial backups. + +%prep +%setup -q + +%build +autoconf +%configure --libdir=/%{_lib} --libexecdir=%{_libdir} \ + --sbindir=/sbin --bindir=%{_sbindir} \ + --enable-lib64=yes +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DIST_ROOT=$RPM_BUILD_ROOT install +# remove non-versioned docs location +rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/ + +(cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore) +(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsdump .) +(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsrestore .) + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt doc/PORTING +%{_mandir}/man8/* +%{_sbindir}/* +/sbin/* + +%changelog +* Wed Aug 31 2006 Russell Cattelan - 2.2.42-2 +Remove Distribution: tag + +* Wed Aug 23 2006 Russell Cattelan - 2.2.42-1 +- update to version 2.2.42 + +* Tue Aug 22 2006 Russell Cattelan - 2.2.38-3 +- Fix the /usr/sbin sym links to relative links +- Add the Distribution tag +- Add ncurses-devel to buildrequires + +* Tue Aug 16 2006 Russell Cattelan - 2.2.38-2 +- install removes the makefile installed version of the docs + package the docs based in the version specfic directory + +* Wed Aug 9 2006 Russell Cattelan - 2.2.38-1 +- Add xfsdump to Fedorda