1 %define _root_sbindir
/sbin
2 %define _root_libdir
/%{_lib}
3 %define _root_localedir
/usr
/share
/locale
4 %define _root_etcdir
/etc
6 Summary: Utilities
for managing the second extended
(ext2
) filesystem.
8 Version: @E2FSPROGS_PKGVER@
11 Group: System Environment
/Base
12 Source: ftp
://download.sourceforge.net
/pub
/sourceforge
/e2fsprogs
/e2fsprogs
-%{version}.tar.gz
13 Url
: http
://e2fsprogs.sourceforge.net
/
14 Prereq
: /sbin
/ldconfig
15 BuildRoot: %{_tmppath}/%{name}-root
18 The e2fsprogs package contains a number of utilities
for creating
,
19 checking
, modifying
, and correcting any inconsistencies
in second
20 extended
(ext2
) filesystems. E2fsprogs contains e2fsck
(used to
21 repair filesystem inconsistencies after an unclean shutdown
), mke2fs
22 (used to initialize a partition to contain an empty ext2 filesystem
),
23 debugfs
(used to examine the internal structure of a filesystem
, to
24 manually repair a corrupted filesystem or to create
test cases
for
25 e2fsck
), tune2fs
(used to modify filesystem parameters
), resize2fs to
26 grow and shrink unmounted ext2 filesystems
, and most of the other core
27 ext2fs filesystem utilities.
29 You should
install the e2fsprogs package
if you are using any ext2
30 filesystems
(if you're not sure
, you probably should
install this
31 package
). You may also need to
install it
(even
if you don't use
32 ext2
) for the libuuid and libblkid libraries and fsck tool that are
36 Summary: Ext2 filesystem
-specific static libraries and headers.
37 Group: Development
/Libraries
38 Requires: e2fsprogs
= %{version}
39 Prereq
: /sbin
/install-info
42 E2fsprogs
-devel contains the libraries and header files needed to
43 develop second extended
(ext2
) filesystem
-specific programs.
45 You should
install e2fsprogs
-devel
if you want to develop ext2
46 filesystem
-specific programs. If you
install e2fsprogs
-devel
, you'll
47 also want to
install e2fsprogs.
50 Summary: helper daemon to guarantee uniqueness of
time-based UUIDs
51 Group: System Environment
/Daemons
53 Requires: e2fsprogs
= %{version}
54 Requires(pre
): shadow
-utils
57 The uuidd package contains a userspace daemon
(uuidd
) which guarantees
58 uniqueness of
time-based UUID generation even at very high rates on
65 %configure --enable-elf
-shlibs
--enable-nls
70 rm -rf $RPM_BUILD_ROOT
71 export PATH
=/sbin
:$PATH
72 make install install-libs DESTDIR
="$RPM_BUILD_ROOT" \
73 root_sbindir
=%{_root_sbindir} root_libdir=%{_root_libdir}
74 /sbin
/ldconfig
-n $
{RPM_BUILD_ROOT
}%{_libdir}
76 # Add a dir that uuidd needs that the Makefiles don't create
77 install -d $RPM_BUILD_ROOT
/var
/lib
/libuuid
82 rm -rf $RPM_BUILD_ROOT
84 %post -p
/sbin
/ldconfig
86 %postun -p
/sbin
/ldconfig
89 if [ -x
/sbin
/install-info
-a
-f
%{_infodir}/libext2fs.info.gz
]; then
90 /sbin
/install-info
%{_infodir}/libext2fs.info.gz %{_infodir}/dir
95 if [ $
1 = 0 -a
-x
/sbin
/install-info
-a
-f
%{_infodir}/libext2fs.info.gz
]; then
96 /sbin
/install-info
--delete
%{_infodir}/libext2fs.info.gz %{_infodir}/dir
101 getent group uuidd
>/dev
/null || groupadd
-r uuidd
102 getent passwd uuidd
>/dev
/null || \
103 useradd
-r
-g uuidd
-d
/var
/lib
/libuuid
-s
/sbin
/nologin \
104 -c "UUID generator helper daemon" uuidd
107 %files -f
%{name}.lang
108 %defattr(-,root
,root
)
109 %doc README RELEASE
-NOTES
111 %{_root_sbindir}/badblocks
112 %{_root_sbindir}/blkid
113 %{_root_sbindir}/debugfs
114 %{_root_sbindir}/dumpe2fs
115 %{_root_sbindir}/e2fsck
116 %{_root_sbindir}/e2image
117 %{_root_sbindir}/e2label
118 %{_root_sbindir}/findfs
119 %{_root_sbindir}/fsck
120 %{_root_sbindir}/fsck.ext2
121 %{_root_sbindir}/fsck.ext3
122 %{_root_sbindir}/fsck.ext4
123 %{_root_sbindir}/fsck.ext4dev
124 %{_root_sbindir}/logsave
125 %{_root_sbindir}/mke2fs
126 %{_root_etcdir}/mke2fs.conf
127 %{_root_sbindir}/mkfs.ext2
128 %{_root_sbindir}/mkfs.ext3
129 %{_root_sbindir}/mkfs.ext4
130 %{_root_sbindir}/mkfs.ext4dev
131 %{_root_sbindir}/resize2fs
132 %{_root_sbindir}/tune2fs
134 %{_sbindir}/mklost
+found
136 %{_root_libdir}/libblkid.so.
*
137 %{_root_libdir}/libcom_err.so.
*
138 %{_root_libdir}/libe2p.so.
*
139 %{_root_libdir}/libext2fs.so.
*
140 %{_root_libdir}/libss.so.
*
141 %{_root_libdir}/libuuid.so.
*
143 %{_libdir}/e2initrd_helper
148 %{_mandir}/man1
/chattr
.1*
149 %{_mandir}/man1
/lsattr
.1*
150 %{_mandir}/man1
/uuidgen
.1*
152 %{_mandir}/man5
/e2fsck.conf
.5*
153 %{_mandir}/man5
/mke2fs.conf
.5*
155 %{_mandir}/man8
/badblocks
.8*
156 %{_mandir}/man8
/blkid
.8*
157 %{_mandir}/man8
/debugfs
.8*
158 %{_mandir}/man8
/dumpe2fs
.8*
159 %{_mandir}/man8
/e2fsck
.8*
160 %{_mandir}/man8
/findfs
.8*
161 %{_mandir}/man8
/fsck.ext2.8
*
162 %{_mandir}/man8
/fsck.ext3.8
*
163 %{_mandir}/man8
/fsck.ext4.8
*
164 %{_mandir}/man8
/fsck.ext4dev
.8*
165 %{_mandir}/man8
/e2image
.8*
166 %{_mandir}/man8
/e2label
.8*
167 %{_mandir}/man8
/fsck
.8*
168 %{_mandir}/man8
/logsave
.8*
169 %{_mandir}/man8
/mke2fs
.8*
170 %{_mandir}/man8
/mkfs.ext2.8
*
171 %{_mandir}/man8
/mkfs.ext3.8
*
172 %{_mandir}/man8
/mkfs.ext4.8
*
173 %{_mandir}/man8
/mkfs.ext4dev
.8*
174 %{_mandir}/man8
/mklost
+found
.8*
175 %{_mandir}/man8
/resize2fs
.8*
176 %{_mandir}/man8
/tune2fs
.8*
177 %{_mandir}/man8
/filefrag
.8*
180 %defattr(-,root
,root
)
181 %{_infodir}/libext2fs.info
*
182 %{_bindir}/compile_et
185 %{_libdir}/libblkid.a
186 %{_libdir}/libblkid.so
187 %{_libdir}/libcom_err.a
188 %{_libdir}/libcom_err.so
191 %{_libdir}/libext2fs.a
192 %{_libdir}/libext2fs.so
196 %{_libdir}/libuuid.so
198 %{_libdir}/pkgconfig
/blkid.pc
199 %{_libdir}/pkgconfig
/com_err.pc
200 %{_libdir}/pkgconfig
/e2p.pc
201 %{_libdir}/pkgconfig
/ext2fs.pc
202 %{_libdir}/pkgconfig
/ss.pc
203 %{_libdir}/pkgconfig
/uuid.pc
210 %{_includedir}/ext2fs
213 %{_mandir}/man1
/compile_et
.1*
214 %{_mandir}/man1
/mk_cmds
.1*
215 %{_mandir}/man3
/com_err
.3*
216 %{_mandir}/man3
/libblkid
.3*
217 %{_mandir}/man3
/uuid
.3*
218 %{_mandir}/man3
/uuid_clear
.3*
219 %{_mandir}/man3
/uuid_compare
.3*
220 %{_mandir}/man3
/uuid_copy
.3*
221 %{_mandir}/man3
/uuid_generate
.3*
222 %{_mandir}/man3
/uuid_generate_random
.3*
223 %{_mandir}/man3
/uuid_generate_time
.3*
224 %{_mandir}/man3
/uuid_is_null
.3*
225 %{_mandir}/man3
/uuid_parse
.3*
226 %{_mandir}/man3
/uuid_time
.3*
227 %{_mandir}/man3
/uuid_unparse
.3*
230 %defattr(-,root
,root
)
231 # if you want to run via init
233 %{_mandir}/man8
/uuidd
.8*
234 %attr(6755, uuidd
, uuidd
) %{_sbindir}/uuidd
235 %dir %attr(2775, uuidd
, uuidd
) /var
/lib
/libuuid