]> git.pld-linux.org Git - packages/xfsprogs.git/blob - xfsprogs.spec
- added BuildRequires: bash which is needed by install-sh
[packages/xfsprogs.git] / xfsprogs.spec
1 Summary:        Tools for the XFS filesystem
2 Summary(pl):    Narzêdzia do systemu plikowego XFS
3 Name:           xfsprogs
4 Version:        1.3.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(pl):      Aplikacje/System
10 Source0:        ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
11 Patch0:         %{name}-miscfix.patch
12 Patch1:         %{name}-install-sh.patch
13 BuildRequires:  e2fsprogs-devel
14 BuildRequires:  lvm-devel
15 BuildRequires:  autoconf
16 BuildRequires:  bash
17 URL:            http://oss.sgi.com/projects/xfs/
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A set of commands to use the XFS filesystem, including mkfs.xfs.
22
23 XFS is a high performance journaling filesystem which originated on
24 the SGI IRIX platform. It is completely multi-threaded, can support
25 large files and large filesystems, extended attributes, variable block
26 sizes, is extent based, and makes extensive use of Btrees
27 (directories, extents, free space) to aid both performance and
28 scalability.
29
30 This implementation is on-disk compatible with the IRIX version of
31 XFS.
32
33 %description -l pl
34 Zbiór komend do u¿ytku z systemem plików XFS, w³±czaj±c w to mkfs.xfs.
35
36 XFS jest wysoko wydajnym systemem plików z kronik±, który oryginalnie
37 by³ u¿ywany na platformie SGI IRIX. Jest to w pe³ni wielo-w±tkowy,
38 obs³uguj±cy wielkie pliki oraz wielkie systemy, o rozsze¿onych
39 atrybutach, zmiennych wielko¶ciach bloków, mocno wykorzystuj±cy
40 B-drzewa by uzyskaæ wysok± wydajno¶æ oraz skalowalno¶æ.
41
42 %package devel
43 Summary:        Header files and libraries to develop XFS software
44 Summary(pl):    Pliki nag³ówkowe i biblioteki
45 Group:          Development/Libraries
46 Group(de):      Entwicklung/Libraries
47 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49
50 %description devel
51 Header files and libraries to develop software which operates on XFS
52 filesystems.
53
54 %description -l pl devel
55 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
56 operuj±cego na systemie plików XFS.
57
58 %prep
59 %setup  -q
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
65 autoconf
66 %configure 
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 DIST_ROOT="$RPM_BUILD_ROOT"
74 DIST_INSTALL=`pwd`/install.manifest
75 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
76 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
77 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
78 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
79
80 for man in attr_list_by_handle.3 attr_multi_by_handle.3 \
81            fd_to_handle.3 free_handle.3 fssetdm_by_handle.3 \
82            handle_to_fshandle.3 open_by_handle.3 path_to_fshandle.3 \
83            readlink_by_handle.3; do
84                 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/$man
85                 echo ".so man3/path_to_handle.3" \
86                         > $RPM_BUILD_ROOT%{_mandir}/man3/$man
87 done
88
89 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
90 echo ".so man8/xfs_growfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
91
92 gzip -9nf doc/{CHANGES,CREDITS,README.*}
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc doc/*.gz
99 %attr(755,root,root) /sbin/*
100 %attr(755,root,root) %{_sbindir}/*
101 %{_mandir}/man[18]/*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %{_mandir}/man3/*
106 %{_includedir}/xfs
107 %{_libdir}/*.a
This page took 0.069622 seconds and 4 git commands to generate.