Summary: Utilities for managing the XFS filesystem Name: xfsprogs Version: 2.9.4 Release: 4%{?dist} # Licensing based on generic "GNU GENERAL PUBLIC LICENSE" # in source, with no mention of version. # doc/COPYING file specifies what is GPL and what is LGPL # but no mention of versions in the source. License: GPL+ and LGPLv2+ 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 Source1: xfsprogs-wrapper.h BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf, libtool, gettext, gawk BuildRequires: readline-devel BuildRequires: /usr/include/uuid/uuid.h Provides: xfs-cmds Obsoletes: xfs-cmds <= %{version} Conflicts: xfsdump < 2.0.0 Patch1: xfsprogs-2.9.4-misc-mkfs-fixes.patch %description A set of commands to use the XFS filesystem, including mkfs.xfs. XFS is a high performance journaling filesystem which originated on the SGI IRIX platform. It is completely multi-threaded, can support large files and large filesystems, extended attributes, variable block sizes, is extent based, and makes extensive use of Btrees (directories, extents, free space) to aid both performance and scalability. Refer to the documentation at http://oss.sgi.com/projects/xfs/ for complete details. This implementation is on-disk compatible with the IRIX version of XFS. %package devel Summary: XFS filesystem-specific static libraries and headers Group: Development/Libraries Requires: xfsprogs = %{version}-%{release} %description devel xfsprogs-devel contains the libraries and header files needed to develop XFS filesystem-specific programs. You should install xfsprogs-devel if you want to develop XFS filesystem-specific programs, If you install xfsprogs-devel, you'll also want to install xfsprogs. %prep %setup -q %patch1 -p1 %build # xfsprogs does not ship ./configure autoconf # # xfsprogs abuses libexecdir export tagname=CC DEBUG=-DNDEBUG %configure \ --sbindir=/sbin \ --libdir=/%{_lib} \ --libexecdir=%{_libdir} \ --bindir=%{_sbindir} \ --enable-shared=yes \ --enable-gettext=yes \ --enable-shared-uuid=yes make %{?_smp_mflags} # %install rm -rf $RPM_BUILD_ROOT make DIST_ROOT=$RPM_BUILD_ROOT install install-dev # # nuke .la files, etc rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.la} # fix up symlink to be correct rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so # remove non-versioned docs location rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/ # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages: mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \ $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs-%{_arch}.h install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %doc doc/CHANGES doc/COPYING doc/CREDITS doc/PORTING README /sbin/fsck.xfs /sbin/mkfs.xfs /sbin/xfs_repair /%{_lib}/*.so.* %{_mandir}/man8/* %{_mandir}/man5/* %{_sbindir}/* %files devel %defattr(-,root,root) %{_mandir}/man3/* %{_includedir}/disk %{_includedir}/xfs %{_libdir}/*.a %{_libdir}/*.so %changelog * Tue Oct 23 2007 Eric Sandeen 2.9.4-4 - Add arm to multilib header wrapper * Tue Oct 02 2007 Eric Sandeen 2.9.4-3 - mkfs.xfs: Fix wiping old AG headers and purge whack buffers * Mon Oct 01 2007 Eric Sandeen 2.9.4-2 - Add alpha to the multilib wrapper (#310411) * Mon Sep 10 2007 Eric Sandeen 2.9.4-1 - Update to xfsprogs 2.9.4 * Fri Aug 24 2007 Eric Sandeen 2.9.3-3 - Add gawk to buildrequires * Thu Aug 16 2007 Eric Sandeen 2.9.3-2 - Update license tag * Thu Jul 26 2007 Eric Sandeen 2.9.3-1 - Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes * Thu Jul 6 2007 Eric Sandeen 2.8.21-1 - Upgrade to xfsprogs 2.8.21, lazy sb counters enabled, xfs_quota fix (#236746) * Thu May 31 2007 Eric Sandeen 2.8.20-2 - Fix ppc64 build... again * Fri May 25 2007 Eric Sandeen 2.8.20-1 - Upgrade to xfsprogs 2.8.20, several xfs_repair fixes * Tue Mar 06 2007 Miroslav Lichvar 2.8.18-3 - Remove libtermcap-devel from BuildRequires * Wed Feb 14 2007 Miroslav Lichvar 2.8.18-2 - Disable readline support for now (#223781) * Sun Feb 04 2007 Jarod Wilson 2.8.18-1 - Post-facto changelog addition to note bump to 2.8.18 * Wed Sep 27 2006 Russell Cattelan 2.8.11-3 - bump build version to 3 for a new brew build * Tue Sep 26 2006 Russell Cattelan 2.8.11-2 - add ppc64 build patch * Thu Sep 21 2006 Russell Cattelan 2.8.11-1 - Upgrade to xfsprogs 2.8.11 Need to pick up important repair fixes * Tue Jul 18 2006 Jeremy Katz - 2.8.4-3 - exclude arch ppc64 for now (#199315) * Mon Jul 17 2006 Jesse Keating - 2.8.4-2 - rebuild * Tue Jul 04 2006 Robert Scheck 2.8.4-1 - Upgrade to 2.8.4 (#196599 #c2) * Sun Jun 25 2006 Robert Scheck 2.8.3-1 - Upgrade to 2.8.3 (#196599) - Applied Russell Coker's suggested patch to improve the performance for SELinux machines significantly (#120622) * Sun Jun 25 2006 Robert Scheck 2.7.11-2 - Fixed multilib conflict of xfs/platform_defs.h (#192755) * Sun Mar 12 2006 Robert Scheck 2.7.11-1 - Upgrade to 2.7.11 and spec file cleanup (#185234) * Fri Feb 10 2006 Jesse Keating - 2.7.3-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.7.3-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Oct 31 2005 Robert Scheck 2.7.3-1 - Upgrade to 2.7.3 and enabled termcap support (#154323) * Wed Sep 28 2005 Florian La Roche - fixup building with current rpm * Wed Apr 20 2005 Dave Jones - Disable debug. (#151438) - Rebuild with gcc4 * Wed Jan 12 2005 Tim Waugh - 2.6.13-3 - Rebuilt for new readline. * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed May 5 2004 Jeremy Katz - 2.6.13-1 - update to 2.6.13 per request of upstream - fixes mount by label of xfs on former raid partition (#122043) * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Jan 8 2004 Jeremy Katz 2.6.0-2 - add defattr (reported by Matthias) * Tue Dec 23 2003 Elliot Lee 2.6.0-3 - Fix tyops in dependencies * Mon Dec 22 2003 Jeremy Katz 2.6.0-1 - build for Fedora Core - switch to more explicit file lists, nuke .la files * Tue Dec 16 2003 Axel Thimm 2.6.0 - Update to 2.6.0. * Sat Sep 13 2003 Axel Thimm - Sync with XFS 1.3.0. - Update to 2.5.6. * Thu Apr 10 2003 Axel Thimm 2.3.9-0_2.90at - Rebuilt for Red Hat 9.