d79ca33
Summary:	Utilities for managing the XFS filesystem
d79ca33
Name:		xfsprogs
7b45997
Version:	2.9.8
dc55825
Release:	3%{?dist}
b587756
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
b587756
# in source, with no mention of version.
b587756
# doc/COPYING file specifies what is GPL and what is LGPL
b587756
# but no mention of versions in the source.
d79ca33
License:	GPL+ and LGPLv2+
d79ca33
Group:		System Environment/Base
d79ca33
URL:		http://oss.sgi.com/projects/xfs/
d79ca33
Source0:	ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
d79ca33
Source1:	xfsprogs-wrapper.h
d79ca33
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d862b42
BuildRequires:	libtool, gettext
d79ca33
BuildRequires:	/usr/include/uuid/uuid.h
d79ca33
Provides:	xfs-cmds
d79ca33
Obsoletes:	xfs-cmds <= %{version}
d79ca33
Conflicts:	xfsdump < 2.0.0
84e3000
cvsdist 71b6743
%description
cvsdist 71b6743
A set of commands to use the XFS filesystem, including mkfs.xfs.
cvsdist 71b6743
cvsdist 71b6743
XFS is a high performance journaling filesystem which originated
cvsdist 71b6743
on the SGI IRIX platform.  It is completely multi-threaded, can
cvsdist 71b6743
support large files and large filesystems, extended attributes,
cvsdist 71b6743
variable block sizes, is extent based, and makes extensive use of
cvsdist 71b6743
Btrees (directories, extents, free space) to aid both performance
cvsdist 71b6743
and scalability.
cvsdist 71b6743
cvsdist 71b6743
Refer to the documentation at http://oss.sgi.com/projects/xfs/
cvsdist 71b6743
for complete details.  This implementation is on-disk compatible
cvsdist 71b6743
with the IRIX version of XFS.
cvsdist 71b6743
cvsdist 71b6743
%package devel
rcattela 741f3a9
Summary: XFS filesystem-specific static libraries and headers
cvsdist 71b6743
Group: Development/Libraries
Florian La Roche 03a45f8
Requires: xfsprogs = %{version}-%{release}
cvsdist 71b6743
cvsdist 71b6743
%description devel
cvsdist 71b6743
xfsprogs-devel contains the libraries and header files needed to
cvsdist 71b6743
develop XFS filesystem-specific programs.
cvsdist 71b6743
cvsdist 71b6743
You should install xfsprogs-devel if you want to develop XFS
cvsdist 71b6743
filesystem-specific programs,  If you install xfsprogs-devel, you'll
cvsdist 71b6743
also want to install xfsprogs.
cvsdist 71b6743
cvsdist 71b6743
%prep
cvsdist 71b6743
%setup -q
ab73c6e
cvsdist 71b6743
%build
cvsdist 71b6743
# xfsprogs abuses libexecdir
Florian La Roche ceaf489
export tagname=CC DEBUG=-DNDEBUG
d79ca33
rcattela 741f3a9
%configure \
rcattela 741f3a9
        --sbindir=/sbin         \
rcattela 741f3a9
        --libdir=/%{_lib}       \
rcattela 741f3a9
        --libexecdir=%{_libdir} \
d79ca33
        --bindir=%{_sbindir}
d79ca33
Florian La Roche 03a45f8
make %{?_smp_mflags}
d79ca33
cvsdist 71b6743
%install
cvsdist 71b6743
rm -rf $RPM_BUILD_ROOT
Florian La Roche 03a45f8
make DIST_ROOT=$RPM_BUILD_ROOT install install-dev
d79ca33
cvsdist 71b6743
# nuke .la files, etc
Florian La Roche 03a45f8
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.la}
cvsdist 71b6743
# fix up symlink to be correct
cvsdist 71b6743
rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
cvsdist 71b6743
ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
cvsdist 71b6743
# remove non-versioned docs location
cvsdist 71b6743
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
cvsdist 71b6743
fbb3d89
# ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
dc55825
%define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64
f027512
f027512
%ifarch %{multilib_arches}
fbb3d89
mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \
fbb3d89
      $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs-%{_arch}.h
fbb3d89
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h
f027512
%endif
fbb3d89
fbb3d89
%find_lang %{name}
fbb3d89
cvsdist 71b6743
%clean
cvsdist 71b6743
rm -rf $RPM_BUILD_ROOT
cvsdist 71b6743
cvsdist 71b6743
%post -p /sbin/ldconfig
cvsdist 71b6743
cvsdist 71b6743
%postun -p /sbin/ldconfig
cvsdist 71b6743
fbb3d89
%files -f %{name}.lang
cvsdist 71b6743
%defattr(-,root,root)
Florian La Roche ceaf489
%doc doc/CHANGES doc/COPYING doc/CREDITS doc/PORTING README
cvsdist 71b6743
/sbin/fsck.xfs
cvsdist 71b6743
/sbin/mkfs.xfs
cvsdist 71b6743
/sbin/xfs_repair
cvsdist 71b6743
/%{_lib}/*.so.*
cvsdist 71b6743
%{_mandir}/man8/*
cvsdist 71b6743
%{_mandir}/man5/*
Florian La Roche ceaf489
%{_sbindir}/*
cvsdist 71b6743
cvsdist 71b6743
%files devel
cvsdist 71b6743
%defattr(-,root,root)
cvsdist 71b6743
%{_mandir}/man3/*
cvsdist 71b6743
%{_includedir}/disk
cvsdist 71b6743
%{_includedir}/xfs
cvsdist 71b6743
%{_libdir}/*.a
cvsdist 71b6743
%{_libdir}/*.so
cvsdist 71b6743
cvsdist 71b6743
%changelog
dc55825
* Wed Apr 23 2008 Dennis Gilmore <dennis@ausil.us> 2.9.8-3
dc55825
- sparc32 is built using the sparcv9 variant 
dc55825
f027512
* Wed Apr 23 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-2
f027512
- Tidy up multilib hack for non-multilib arches & add sparc (#448452)
f027512
7b45997
* Wed Apr 23 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-1
7b45997
- Update to xfsprogs 2.9.8
7b45997
- Add support for sb_features2 in wrong location
7b45997
- Add -c option to xfs_admin to turn lazy-counters on/off
7b45997
- Added support for mdp in libdisk/mkfs.xfs
7b45997
75e9436
* Sun Mar 02 2008 Eric Sandeen <sandeen@redhat.com> 2.9.7-1
75e9436
- Update to xfsprogs 2.9.7
75e9436
- Lazy sb counters back off by default; other misc fixes
75e9436
d862b42
* Wed Feb 06 2008 Eric Sandeen <sandeen@redhat.com> 2.9.6-1
d862b42
- Update to xfsprogs 2.9.6 - fixes mkfs sizing problem.
d862b42
- Trim down BuildRequires to what's actually required now
d862b42
d79ca33
* Mon Jan 21 2008 Eric Sandeen <sandeen@redhat.com> 2.9.5-1
d79ca33
- Update to xfsprogs 2.9.5
d79ca33
- Contains more optimal mkfs defaults
d79ca33
- specfile cleanup, & don't restate config defaults
d79ca33
20d0518
* Tue Oct 23 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-4
20d0518
- Add arm to multilib header wrapper
20d0518
84e3000
* Tue Oct 02 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-3
84e3000
- mkfs.xfs: Fix wiping old AG headers and purge whack buffers
84e3000
b7077ac
* Mon Oct 01 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-2
b7077ac
- Add alpha to the multilib wrapper (#310411)
b7077ac
a514271
* Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-1
a514271
- Update to xfsprogs 2.9.4
a514271
05b04a2
* Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-3
05b04a2
- Add gawk to buildrequires
05b04a2
b587756
* Thu Aug 16 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-2
b587756
- Update license tag
b587756
ab73c6e
* Thu Jul 26 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-1
b7077ac
- Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes
ab73c6e
f31e82c
* Thu Jul  6 2007 Eric Sandeen <sandeen@redhat.com> 2.8.21-1
f31e82c
- Upgrade to xfsprogs 2.8.21, lazy sb counters enabled,
f31e82c
  xfs_quota fix (#236746)
f31e82c
2b2f279
* Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-2
2b2f279
- Fix ppc64 build... again
2b2f279
1a88ff4
* Fri May 25 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-1
1a88ff4
- Upgrade to xfsprogs 2.8.20, several xfs_repair fixes
1a88ff4
cc71053
* Tue Mar 06 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-3
cc71053
- Remove libtermcap-devel from BuildRequires
cc71053
b6eba1a
* Wed Feb 14 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-2
b6eba1a
- Disable readline support for now (#223781)
b6eba1a
30ee5f5
* Sun Feb 04 2007 Jarod Wilson <jwilson@redhat.com> 2.8.18-1
30ee5f5
- Post-facto changelog addition to note bump to 2.8.18
30ee5f5
rcattela 091bc06
* Wed Sep 27 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-3
rcattela 091bc06
- bump build version to 3 for a new brew build
rcattela 091bc06
rcattela 741f3a9
* Tue Sep 26 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-2
rcattela 741f3a9
- add ppc64 build patch
rcattela 741f3a9
rcattela 741f3a9
* Thu Sep 21 2006 Russell Cattelan <cattelan@redhat.com> 2.8.11-1
rcattela 741f3a9
- Upgrade to xfsprogs 2.8.11 Need to pick up important repair fixes
rcattela 741f3a9
4f7265f
* Tue Jul 18 2006 Jeremy Katz <katzj@redhat.com> - 2.8.4-3
4f7265f
- exclude arch ppc64 for now (#199315)
4f7265f
ae243a3
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 2.8.4-2
36ac0a4
- rebuild
36ac0a4
fbb3d89
* Tue Jul 04 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.4-1
fbb3d89
- Upgrade to 2.8.4 (#196599 #c2)
fbb3d89
fbb3d89
* Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.3-1
fbb3d89
- Upgrade to 2.8.3 (#196599)
fbb3d89
- Applied Russell Coker's suggested patch to improve the
fbb3d89
  performance for SELinux machines significantly (#120622)
fbb3d89
fbb3d89
* Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-2
fbb3d89
- Fixed multilib conflict of xfs/platform_defs.h (#192755)
fbb3d89
Florian La Roche 03a45f8
* Sun Mar 12 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-1
Florian La Roche 03a45f8
- Upgrade to 2.7.11 and spec file cleanup (#185234)
Florian La Roche 03a45f8
c13a997
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2.1
c13a997
- bump again for double-long bug on ppc(64)
c13a997
1d7bb0d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2
1d7bb0d
- rebuilt for new gcc4.1 snapshot and glibc changes
1d7bb0d
854d5e9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
854d5e9
- rebuilt
854d5e9
Florian La Roche ceaf489
* Mon Oct 31 2005 Robert Scheck <redhat@linuxnetz.de> 2.7.3-1
Florian La Roche ceaf489
- Upgrade to 2.7.3 and enabled termcap support (#154323)
Florian La Roche ceaf489
Florian La Roche e8deff2
* Wed Sep 28 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche e8deff2
- fixup building with current rpm
Florian La Roche e8deff2
46e0414
* Wed Apr 20 2005 Dave Jones <davej@redhat.com>
46e0414
- Disable debug. (#151438)
2847bd3
- Rebuild with gcc4
46e0414
bc17a50
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 2.6.13-3
bc17a50
- Rebuilt for new readline.
bc17a50
cvsdist 66f6e56
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 66f6e56
- rebuilt
cvsdist 66f6e56
cvsdist e1279c2
* Wed May  5 2004 Jeremy Katz <katzj@redhat.com> - 2.6.13-1
cvsdist e1279c2
- update to 2.6.13 per request of upstream
cvsdist e1279c2
- fixes mount by label of xfs on former raid partition (#122043)
cvsdist e1279c2
cvsdist d23e50e
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d23e50e
- rebuilt
cvsdist d23e50e
cvsdist d23e50e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d23e50e
- rebuilt
cvsdist d23e50e
cvsdist 71b6743
* Thu Jan  8 2004 Jeremy Katz <katzj@redhat.com> 2.6.0-2
cvsdist 71b6743
- add defattr (reported by Matthias)
cvsdist 71b6743
cvsdist 71b6743
* Tue Dec 23 2003 Elliot Lee <sopwith@redhat.com> 2.6.0-3
cvsdist 71b6743
- Fix tyops in dependencies
cvsdist 71b6743
cvsdist 71b6743
* Mon Dec 22 2003 Jeremy Katz <katzj@redhat.com> 2.6.0-1
cvsdist 71b6743
- build for Fedora Core
cvsdist 71b6743
- switch to more explicit file lists, nuke .la files
cvsdist 71b6743
cvsdist 71b6743
* Tue Dec 16 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.6.0
cvsdist 71b6743
- Update to 2.6.0.
cvsdist 71b6743
cvsdist 71b6743
* Sat Sep 13 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
cvsdist 71b6743
- Sync with XFS 1.3.0.
cvsdist 71b6743
- Update to 2.5.6.
cvsdist 71b6743
cvsdist 71b6743
* Thu Apr 10 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.3.9-0_2.90at
cvsdist 71b6743
- Rebuilt for Red Hat 9.