diff --git a/.cvsignore b/.cvsignore index e69de29..583cd42 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xfsprogs-2.6.0.src.tar.gz diff --git a/sources b/sources index e69de29..c0df798 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4336c70c0054029ad060c2e7a2d4e848 xfsprogs-2.6.0.src.tar.gz diff --git a/xfsprogs.spec b/xfsprogs.spec new file mode 100644 index 0000000..86f5de8 --- /dev/null +++ b/xfsprogs.spec @@ -0,0 +1,119 @@ +Summary: Utilities for managing the XFS filesystem. +Name: xfsprogs +Version: 2.6.0 +Release: 3 +License: GPL +Group: System Environment/Base +URL: http://oss.sgi.com/projects/xfs/ +Source: http://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-%{version}.src.tar.gz +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: autoconf, libtool, gettext +BuildRequires: readline-devel, libtermcap-devel +BuildRequires: /usr/include/uuid/uuid.h +Provides: xfs-cmds = %{evr} +Obsoletes: xfs-cmds <= %{version} +Conflicts: xfsdump < 2.0.0 + +%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} + +%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 + +%build +# xfsprogs abuses libexecdir +export tagname=CC +%configure --libdir=/%{_lib} --libexecdir=%{_libdir} \ + --sbindir=/sbin --bindir=%{_sbindir} \ + --enable-shared=yes \ + --enable-gettext=yes \ + --enable-readline=yes \ + --enable-editline=no \ + --enable-shared-uuid=yes +make + +%install +rm -rf $RPM_BUILD_ROOT +make DIST_ROOT=$RPM_BUILD_ROOT install +make DIST_ROOT=$RPM_BUILD_ROOT install-dev + +# nuke .la files, etc +rm -f $RPM_BUILD_ROOT/%{_lib}/*.la $RPM_BUILD_ROOT/{_lib}/*.a $RPM_BUILD_ROOT%{_lib}/*.so +rm -rf $RPM_BUILD_ROOT%{_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/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc doc/CHANGES doc/COPYING doc/CREDITS doc/PORTING README doc/README.LVM doc/README.quota +/sbin/fsck.xfs +/sbin/mkfs.xfs +/sbin/xfs_repair +/%{_lib}/*.so.* +%{_mandir}/man8/* +%{_mandir}/man5/* +/usr/sbin/* + +%files devel +%defattr(-,root,root) +%{_mandir}/man3/* +%{_includedir}/disk +%{_includedir}/xfs +%{_libdir}/*.a +%{_libdir}/*.so + +%changelog +* 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. +