]> git.pld-linux.org Git - packages/xfsprogs.git/blob - xfsprogs.spec
- removed requires %%{name} from devel package (not needed)
[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.7
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
48 %description devel
49 Header files and libraries to develop software which operates on XFS
50 filesystems.
51
52 %description -l pl devel
53 Pliki nag³ówkowe i biblioteki potrzebne do rozwoju oprogramowania
54 operuj±cego na systemie plików XFS.
55
56 %prep
57 %setup  -q
58 %patch0 -p1
59
60 %build
61 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"; export DEBUG
62 autoconf
63 %configure 
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 DIST_ROOT="$RPM_BUILD_ROOT"
71 DIST_INSTALL=`pwd`/install.manifest
72 DIST_INSTALL_DEV=`pwd`/install-dev.manifest
73 export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV 
74 %{__make} install DIST_MANIFEST="$DIST_INSTALL"
75 %{__make} install-dev DIST_MANIFEST="$DIST_INSTALL_DEV"
76
77 for man in attr_list_by_handle.3 attr_multi_by_handle.3 \
78            fd_to_handle.3 free_handle.3 fssetdm_by_handle.3 \
79            handle_to_fshandle.3 open_by_handle.3 path_to_fshandle.3 \
80            readlink_by_handle.3; do
81                 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/$man
82                 echo ".so man3/path_to_handle.3" \
83                         > $RPM_BUILD_ROOT%{_mandir}/man3/$man
84 done
85
86 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
87 echo ".so man8/xfs_growfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfs_info.8
88
89 gzip -9nf doc/{CHANGES,CREDITS,README.*}
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %doc doc/*.gz
96 %attr(755,root,root) /sbin/*
97 %attr(755,root,root) %{_sbindir}/*
98 %{_mandir}/man[18]/*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %{_mandir}/man3/*
103 %{_includedir}/xfs
104 %{_libdir}/*.a
This page took 0.055298 seconds and 4 git commands to generate.