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