blob: bff7cfaeae7f8249e6b15a50c58f4c0366d5b7ce [file] [log] [blame]
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +00001Summary: Utilities for managing the second extended (ext2) filesystem.
Theodore Ts'o24757fa1997-04-29 17:39:27 +00002Name: e2fsprogs
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +00003Version: 1.16
Theodore Ts'o24757fa1997-04-29 17:39:27 +00004Release: 0
5Copyright: GPL
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +00006Group: System Environment/Base
7Source: ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/e2fsprogs-1.16.tar.gz
Theodore Ts'o24757fa1997-04-29 17:39:27 +00008BuildRoot: /tmp/e2fsprogs-root
9
10%description
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000011The e2fsprogs package contains a number of utilities for creating,
12checking, modifying and correcting any inconsistencies in second
13extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
14filesystem inconsistencies after an unclean shutdown), mke2fs (used to
15initialize a partition to contain an empty ext2 filesystem), debugfs
16(used to examine the internal structure of a filesystem, to manually
17repair a corrupted filesystem or to create test cases for e2fsck), tune2fs
18(used to modify filesystem parameters) and most of the other core ext2fs
19filesystem utilities.
20
21You should install the e2fsprogs package if you are using any ext2
22filesystems (if you're not sure, you probably should install this
23package).
Theodore Ts'o24757fa1997-04-29 17:39:27 +000024
25%package devel
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000026Summary: Ext2 filesystem-specific static libraries and headers.
Theodore Ts'o24757fa1997-04-29 17:39:27 +000027Group: Development/Libraries
Theodore Ts'oca483f01998-02-24 03:20:51 +000028Requires: e2fsprogs
Theodore Ts'o24757fa1997-04-29 17:39:27 +000029
30%description devel
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000031E2fsprogs-devel contains the libraries and header files needed to
32develop second extended (ext2) filesystem-specific programs.
33
34You should install e2fsprogs-devel if you want to develop ext2
35filesystem-specific programs. If you install e2fsprogs-devel, you will
36also need to install e2fsprogs.
Theodore Ts'o24757fa1997-04-29 17:39:27 +000037
38%prep
39%setup
40
41%build
42CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
43
44make libs progs docs
45
46%install
47export PATH=/sbin:$PATH
48make install DESTDIR="$RPM_BUILD_ROOT"
49make install-libs DESTDIR="$RPM_BUILD_ROOT"
50
Theodore Ts'o24757fa1997-04-29 17:39:27 +000051%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post
55/sbin/ldconfig
56
57%postun
58/sbin/ldconfig
59
60%files
Theodore Ts'obc210071997-06-17 05:41:36 +000061%attr(-, root, root) %doc README RELEASE-NOTES
Theodore Ts'o24757fa1997-04-29 17:39:27 +000062%attr(-, root, root) /sbin/e2fsck
Theodore Ts'odedf1b21998-01-19 15:02:12 +000063%attr(-, root, root) /sbin/e2label
Theodore Ts'o24757fa1997-04-29 17:39:27 +000064%attr(-, root, root) /sbin/fsck.ext2
65%attr(-, root, root) /sbin/debugfs
66%attr(-, root, root) /sbin/mke2fs
67%attr(-, root, root) /sbin/badblocks
68%attr(-, root, root) /sbin/tune2fs
69%attr(-, root, root) /sbin/dumpe2fs
70%attr(-, root, root) /sbin/fsck
71%attr(-, root, root) /usr/sbin/mklost+found
72%attr(-, root, root) /sbin/mkfs.ext2
73
74%attr(-, root, root) /lib/libe2p.so.2.3
Theodore Ts'odedf1b21998-01-19 15:02:12 +000075%attr(-, root, root) /lib/libext2fs.so.2.4
Theodore Ts'o24757fa1997-04-29 17:39:27 +000076%attr(-, root, root) /lib/libss.so.2.0
77%attr(-, root, root) /lib/libcom_err.so.2.0
Theodore Ts'o556ad131998-12-19 08:10:58 +000078%attr(-, root, root) /lib/libuuid.so.1.2
Theodore Ts'o24757fa1997-04-29 17:39:27 +000079
80%attr(-, root, root) /usr/bin/chattr
81%attr(-, root, root) /usr/bin/lsattr
Theodore Ts'oa39f3ef1999-07-20 02:02:40 +000082%attr(-, root, root) /usr/bin/uuidgen
Theodore Ts'o24757fa1997-04-29 17:39:27 +000083%attr(-, root, root) /usr/man/man8/e2fsck.8
Theodore Ts'oa4b2d3c1998-04-03 16:12:25 +000084%attr(-, root, root) /usr/man/man8/e2label.8
Theodore Ts'o24757fa1997-04-29 17:39:27 +000085%attr(-, root, root) /usr/man/man8/debugfs.8
86%attr(-, root, root) /usr/man/man8/tune2fs.8
87%attr(-, root, root) /usr/man/man8/mklost+found.8
88%attr(-, root, root) /usr/man/man8/mke2fs.8
89%attr(-, root, root) /usr/man/man8/dumpe2fs.8
90%attr(-, root, root) /usr/man/man8/badblocks.8
91%attr(-, root, root) /usr/man/man8/fsck.8
92%attr(-, root, root) /usr/man/man1/chattr.1
93%attr(-, root, root) /usr/man/man1/lsattr.1
Theodore Ts'oa39f3ef1999-07-20 02:02:40 +000094%attr(-, root, root) /usr/man/man1/uuidgen.1
Theodore Ts'o24757fa1997-04-29 17:39:27 +000095
96%files devel
97%attr(-, root, root) /usr/info/libext2fs.info*
98%attr(-, root, root) /usr/lib/libe2p.a
99%attr(-, root, root) /usr/lib/libext2fs.a
100%attr(-, root, root) /usr/lib/libss.a
101%attr(-, root, root) /usr/lib/libcom_err.a
102%attr(-, root, root) /usr/lib/libuuid.a
103%attr(-, root, root) /usr/include/ss
104%attr(-, root, root) /usr/include/ext2fs
105%attr(-, root, root) /usr/include/et
106%attr(-, root, root) /usr/include/uuid
107%attr(-, root, root) /usr/lib/libe2p.so
108%attr(-, root, root) /usr/lib/libext2fs.so
109%attr(-, root, root) /usr/lib/libss.so
110%attr(-, root, root) /usr/lib/libcom_err.so
111%attr(-, root, root) /usr/lib/libuuid.so
Theodore Ts'oa4b2d3c1998-04-03 16:12:25 +0000112%attr(-, root, root) /usr/bin/mk_cmds
113%attr(-, root, root) /usr/bin/compile_et
114%attr(-, root, root) /usr/share/et/et_c.awk
115%attr(-, root, root) /usr/share/et/et_h.awk
116%attr(-, root, root) /usr/share/ss/ct_c.awk
117%attr(-, root, root) /usr/share/ss/ct_c.sed
118%attr(-, root, root) /usr/man/man1/compile_et.1
119%attr(-, root, root) /usr/man/man3/com_err.3
120