Summary: Tools for the XFS filesystem Summary(pl): Narzędzia do systemu plików XFS Name: xfsprogs Version: 1.3.13 Release: 3 License: GPL Group: Applications/System Group(de): Applikationen/System Group(pl): Aplikacje/System Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz Patch0: %{name}-miscfix-v2.patch Patch1: %{name}-install-sh.patch BuildRequires: e2fsprogs-devel BuildRequires: lvm-devel BuildRequires: autoconf BuildRequires: bash %if %{?BOOT:1}%{!?BOOT:0} BuildRequires: lvm-static BuildRequires: glibc-static BuildRequires: e2fsprogs-static %endif URL: http://oss.sgi.com/projects/xfs/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. This implementation is on-disk compatible with the IRIX version of XFS. %description -l pl Zbiór komend do użytku z systemem plików XFS, włączając w to mkfs.xfs. XFS jest wysoko wydajnym systemem plików z kroniką, który oryginalnie był używany na platformie SGI IRIX. Jest to w pełni wielowątkowy, obsługujący wielkie pliki oraz wielkie systemy, o rozszerzonych atrybutach, zmiennych wielkościach bloków, mocno wykorzystujący B-drzewa by uzyskać wysoką wydajność oraz skalowalność. %package devel Summary: Header files and libraries to develop XFS software Summary(pl): Pliki nagłówkowe i biblioteki Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): ňÁÚŇÁÂĎÔËÁ/âÉÂĚÉĎÔĹËÉ Group(uk): ňĎÚŇĎÂËÁ/âŚÂĚŚĎÔĹËÉ %description devel Header files and libraries to develop software which operates on XFS filesystems. %description -l pl devel Pliki nagłówkowe i biblioteki potrzebne do rozwoju oprogramowania operującego na systemie plików XFS. %package BOOT Summary: xfs for bootdisk Summary(pl): xfs dla bootkietki Group: Applications/System Group(de): Applikationen/System Group(pl): Aplikacje/System %description BOOT xfs for bootdisk. %description BOOT -l pl xfs dla bootkietki. %prep %setup -q %patch0 -p1 %patch1 -p1 %build DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG autoconf %if %{?BOOT:1}%{!?BOOT:0} %configure2_13 \ --disable-shared \ --disable-shared-uuid %{__make} -C libxfs %{__make} -C libdisk %{__make} -C mkfs LLDFLAGS=-all-static mv -f mkfs/mkfs.xfs mkfs.xfs-BOOT %{__make} clean %endif %configure2_13 \ --enable-shared-uuid=yes %{__make} %install rm -rf $RPM_BUILD_ROOT DIST_ROOT="$RPM_BUILD_ROOT" DIST_INSTALL=`pwd`/install.manifest DIST_INSTALL_DEV=`pwd`/install-dev.manifest export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV %{__make} install DIST_MANIFEST="$DIST_INSTALL" %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" for man in attr_list_by_handle.3 attr_multi_by_handle.3 \ fd_to_handle.3 free_handle.3 fssetdm_by_handle.3 \ handle_to_fshandle.3 open_by_handle.3 path_to_fshandle.3 \ readlink_by_handle.3; do rm -f $RPM_BUILD_ROOT%{_mandir}/man3/$man echo ".so man3/path_to_handle.3" \ > $RPM_BUILD_ROOT%{_mandir}/man3/$man done %if %{?BOOT:1}%{!?BOOT:0} install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin install mkfs.xfs-BOOT $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/mkfs.xfs %endif rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8 echo ".so man8/xfs_growfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8 gzip -9nf doc/{CHANGES,CREDITS,README.*} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/*.gz %attr(755,root,root) /sbin/* %attr(755,root,root) %{_sbindir}/* %attr(755,root,root) /lib/lib*.so.* %{_mandir}/man[185]/* %files devel %defattr(644,root,root,755) %{_mandir}/man3/* %{_includedir}/xfs %{_libdir}/*.a %if %{?BOOT:1}%{!?BOOT:0} %files BOOT %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/bootdisk/sbin/* %endif