blob: 9c480f5b3471ef27e69f6d6350b88224fa4a78d8 [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'occ73e042000-04-06 23:05:32 +00003Version: 1.19
Theodore Ts'o24757fa1997-04-29 17:39:27 +00004Release: 0
5Copyright: GPL
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +00006Group: System Environment/Base
Theodore Ts'of9e67062000-07-13 23:25:54 +00007Buildroot: /var/tmp/%{name}-root
8Source: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/e2fsprogs-1.19.tar.gz
9Prereq: /sbin/ldconfig
Theodore Ts'o24757fa1997-04-29 17:39:27 +000010
11%description
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000012The e2fsprogs package contains a number of utilities for creating,
13checking, modifying and correcting any inconsistencies in second
14extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair
15filesystem inconsistencies after an unclean shutdown), mke2fs (used to
16initialize a partition to contain an empty ext2 filesystem), debugfs
17(used to examine the internal structure of a filesystem, to manually
18repair a corrupted filesystem or to create test cases for e2fsck), tune2fs
19(used to modify filesystem parameters) and most of the other core ext2fs
20filesystem utilities.
21
22You should install the e2fsprogs package if you are using any ext2
23filesystems (if you're not sure, you probably should install this
24package).
Theodore Ts'o24757fa1997-04-29 17:39:27 +000025
26%package devel
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000027Summary: Ext2 filesystem-specific static libraries and headers.
Theodore Ts'o24757fa1997-04-29 17:39:27 +000028Group: Development/Libraries
Theodore Ts'oca483f01998-02-24 03:20:51 +000029Requires: e2fsprogs
Theodore Ts'o24757fa1997-04-29 17:39:27 +000030
Theodore Ts'of9e67062000-07-13 23:25:54 +000031%description devel
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000032E2fsprogs-devel contains the libraries and header files needed to
33develop second extended (ext2) filesystem-specific programs.
34
35You should install e2fsprogs-devel if you want to develop ext2
Theodore Ts'of9e67062000-07-13 23:25:54 +000036filesystem-specific programs. If you install e2fsprogs-devel, you'll
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000037also need to install e2fsprogs.
Theodore Ts'o24757fa1997-04-29 17:39:27 +000038
39%prep
40%setup
41
42%build
43CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
44
45make libs progs docs
46
47%install
Theodore Ts'of9e67062000-07-13 23:25:54 +000048rm -rf $RPM_BUILD_ROOT
Theodore Ts'o24757fa1997-04-29 17:39:27 +000049export PATH=/sbin:$PATH
Theodore Ts'of9e67062000-07-13 23:25:54 +000050make install install-libs DESTDIR="$RPM_BUILD_ROOT"
Theodore Ts'o24757fa1997-04-29 17:39:27 +000051
Theodore Ts'o24757fa1997-04-29 17:39:27 +000052%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
56/sbin/ldconfig
Theodore Ts'oab146762000-07-07 04:37:35 +000057# Remove possibly old version
58/bin/rm -f /usr/sbin/resize2fs
Theodore Ts'o24757fa1997-04-29 17:39:27 +000059
Theodore Ts'of9e67062000-07-13 23:25:54 +000060%postun -p /sbin/ldconfig
61
62%post devel
63if [ -x /sbin/install-info ]; then
64 /sbin/install-info /usr/info/libext2fs.info.gz /usr/info/dir
65fi
66
67%postun devel
68if [ $1 = 0 -a -x /sbin/install-info ]; then
69 /sbin/install-info --delete /usr/info/libext2fs.info.gz /usr/info/dir
70fi
Theodore Ts'o24757fa1997-04-29 17:39:27 +000071
72%files
Theodore Ts'of9e67062000-07-13 23:25:54 +000073%defattr(-,root,root)
74%doc README RELEASE-NOTES
Theodore Ts'o24757fa1997-04-29 17:39:27 +000075
Theodore Ts'of9e67062000-07-13 23:25:54 +000076/sbin/badblocks
77/sbin/debugfs
78/sbin/dumpe2fs
79/sbin/e2fsck
80/sbin/e2label
81/sbin/fsck
82/sbin/fsck.ext2
83/sbin/fsck.ext3
84/sbin/mke2fs
85/sbin/mkfs.ext2
86/sbin/tune2fs
87/sbin/resize2fs
88/usr/sbin/mklost+found
Theodore Ts'o24757fa1997-04-29 17:39:27 +000089
Theodore Ts'of9e67062000-07-13 23:25:54 +000090/lib/libcom_err.so.*
91/lib/libe2p.so.*
92/lib/libext2fs.so.*
93/lib/libss.so.*
94/lib/libuuid.so.*
95
96/usr/bin/chattr
97/usr/bin/lsattr
98/usr/bin/uuidgen
99/usr/man/man1/chattr.1*
100/usr/man/man1/lsattr.1*
101/usr/man/man1/uuidgen.1*
102
103/usr/man/man8/badblocks.8*
104/usr/man/man8/debugfs.8*
105/usr/man/man8/dumpe2fs.8*
106/usr/man/man8/e2fsck.8*
107/usr/man/man8/e2label.8*
108/usr/man/man8/fsck.8*
109/usr/man/man8/mke2fs.8*
110/usr/man/man8/mklost+found.8*
111/usr/man/man8/resize2fs.8*
112/usr/man/man8/tune2fs.8*
Theodore Ts'o24757fa1997-04-29 17:39:27 +0000113
114%files devel
Theodore Ts'of9e67062000-07-13 23:25:54 +0000115%defattr(-,root,root)
116/usr/info/libext2fs.info*
117/usr/bin/compile_et
118/usr/bin/mk_cmds
119
120/usr/lib/libcom_err.a
121/usr/lib/libcom_err.so
122/usr/lib/libe2p.a
123/usr/lib/libe2p.so
124/usr/lib/libext2fs.a
125/usr/lib/libext2fs.so
126/usr/lib/libss.a
127/usr/lib/libss.so
128/usr/lib/libuuid.a
129/usr/lib/libuuid.so
130
131/usr/share/et
132/usr/share/ss
133/usr/include/et
134/usr/include/ext2fs
135/usr/include/ss
136/usr/include/uuid
137/usr/man/man1/compile_et.1*
138/usr/man/man3/com_err.3*
Theodore Ts'oa4b2d3c1998-04-03 16:12:25 +0000139