3 Summary: Tools for the XFS filesystem
4 Summary(pl): Narzêdzia do systemu plików XFS
9 Group: Applications/System
10 Source0: ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
11 Patch0: %{name}-miscfix-v2.patch
12 Patch1: %{name}-install-sh.patch
13 BuildRequires: e2fsprogs-devel
14 BuildRequires: autoconf
16 URL: http://oss.sgi.com/projects/xfs/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A set of commands to use the XFS filesystem, including mkfs.xfs.
22 XFS is a high performance journaling filesystem which originated on
23 the SGI IRIX platform. It is completely multi-threaded, can support
24 large files and large filesystems, extended attributes, variable block
25 sizes, is extent based, and makes extensive use of Btrees
26 (directories, extents, free space) to aid both performance and
29 This implementation is on-disk compatible with the IRIX version of
33 Zbiór komend do u¿ytku z systemem plików XFS, w³±czaj±c w to mkfs.xfs.
35 XFS jest wysoko wydajnym systemem plików z kronik±, który oryginalnie
36 by³ u¿ywany na platformie SGI IRIX. Jest to w pe³ni wielow±tkowy,
37 obs³uguj±cy wielkie pliki oraz wielkie systemy, o rozszerzonych
38 atrybutach, zmiennych wielko¶ciach bloków, mocno wykorzystuj±cy
39 B-drzewa by uzyskaæ wysok± wydajno¶æ oraz skalowalno¶æ.
42 Summary: Header files and libraries to develop XFS software
43 Summary(pl): Pliki nag³ówkowe i biblioteki
44 Group: Development/Libraries
47 Header files and libraries to develop software which operates on XFS
50 %description devel -l pl
51 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
52 operuj±cego na systemie plików XFS.
60 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
63 %if %{?BOOT:1}%{!?BOOT:0}
69 %{__make} -C mkfs LLDFLAGS=-alltatic
70 mv -f mkfs/mkfs.xfs mkfs.xfs-BOOT
75 %{!?_with_static:--enable-shared-uuid=yes} \
76 %{?_with_static:--disable-shared --disable-shared-uuid}
79 %{?_with_static:LTLINK='$(LIBTOOL) --mode=link $(CC) -all-static' LDFLAGS=-static}
82 rm -rf $RPM_BUILD_ROOT
84 DIST_ROOT="$RPM_BUILD_ROOT"
85 DIST_INSTALL=`pwd`/install.manifest
86 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
87 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
88 %{?_with_static:cp include/builddefs include/builddefs.tmp}
89 %{?_with_static:sed -e 's/\.lai/.la/' include/builddefs.tmp > include/builddefs}
90 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
91 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
93 for man in attr_list_by_handle.3 attr_multi_by_handle.3 \
94 fd_to_handle.3 free_handle.3 fssetdm_by_handle.3 \
95 handle_to_fshandle.3 open_by_handle.3 path_to_fshandle.3 \
96 readlink_by_handle.3; do
97 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/$man
98 echo ".so man3/path_to_handle.3" \
99 > $RPM_BUILD_ROOT%{_mandir}/man3/$man
102 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
103 echo ".so man8/xfs_growfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
105 gzip -9nf doc/{CHANGES,CREDITS,README.*}
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
114 %defattr(644,root,root,755)
116 %attr(755,root,root) /sbin/*
117 %attr(755,root,root) %{_sbindir}/*
118 %{!?_with_static:%attr(755,root,root) /lib/lib*.so.*}
119 %{_mandir}/man[185]/*
122 %defattr(644,root,root,755)