blob: f1b99033e5d77f998eb4b7702f3d3a824a40300a [file] [log] [blame]
Theodore Ts'o8e74e661997-06-17 05:36:04 +00001Summary: Tools for the second extended (ext2) filesystem
2Name: e2fsprogs
3Version: 1.11
4Release: 0
5Copyright: GPL
6Group: Utilities/System
7Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.11.tar.gz
8BuildRoot: /tmp/e2fsprogs-root
9
10%description
11This package includes a number of utilities for creating, checking,
12and repairing ext2 filesystems.
13
14%package devel
15Summary: e2fs static libs and headers
16Group: Development/Libraries
17
18%description devel
19Libraries and header files needed to develop ext2 filesystem-specific
20programs.
21
22%package -n resize2fs
23Summary: ext2 filesystem resizer
24Group: Utilities/System
25Requires: e2fsprogs
26
27%description -n resize2fs
28This program will allow you to enlarge or shrink an ext2 filesystem.
29
30%prep
31%setup
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
35
36make libs progs docs
37
38%install
39export PATH=/sbin:$PATH
40make install DESTDIR="$RPM_BUILD_ROOT"
41make install-libs DESTDIR="$RPM_BUILD_ROOT"
42
43mv $RPM_BUILD_ROOT/usr/sbin/debugfs $RPM_BUILD_ROOT/sbin/debugfs
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49/sbin/ldconfig
50
51%postun
52/sbin/ldconfig
53
54%files
55%attr(-, root, root) %doc README RELEASE-NOTES
56%attr(-, root, root) /sbin/e2fsck
57%attr(-, root, root) /sbin/fsck.ext2
58%attr(-, root, root) /sbin/debugfs
59%attr(-, root, root) /sbin/mke2fs
60%attr(-, root, root) /sbin/badblocks
61%attr(-, root, root) /sbin/tune2fs
62%attr(-, root, root) /sbin/dumpe2fs
63%attr(-, root, root) /sbin/fsck
64%attr(-, root, root) /usr/sbin/mklost+found
65%attr(-, root, root) /sbin/mkfs.ext2
66
67%attr(-, root, root) /lib/libe2p.so.2.3
68%attr(-, root, root) /lib/libext2fs.so.2.3
69%attr(-, root, root) /lib/libss.so.2.0
70%attr(-, root, root) /lib/libcom_err.so.2.0
71%attr(-, root, root) /lib/libuuid.so.1.1
72
73%attr(-, root, root) /usr/bin/chattr
74%attr(-, root, root) /usr/bin/lsattr
75%attr(-, root, root) /usr/man/man8/e2fsck.8
76%attr(-, root, root) /usr/man/man8/debugfs.8
77%attr(-, root, root) /usr/man/man8/tune2fs.8
78%attr(-, root, root) /usr/man/man8/mklost+found.8
79%attr(-, root, root) /usr/man/man8/mke2fs.8
80%attr(-, root, root) /usr/man/man8/dumpe2fs.8
81%attr(-, root, root) /usr/man/man8/badblocks.8
82%attr(-, root, root) /usr/man/man8/fsck.8
83%attr(-, root, root) /usr/man/man1/chattr.1
84%attr(-, root, root) /usr/man/man1/lsattr.1
85
86%files devel
87%attr(-, root, root) /usr/info/libext2fs.info*
88%attr(-, root, root) /usr/lib/libe2p.a
89%attr(-, root, root) /usr/lib/libext2fs.a
90%attr(-, root, root) /usr/lib/libss.a
91%attr(-, root, root) /usr/lib/libcom_err.a
92%attr(-, root, root) /usr/lib/libuuid.a
93%attr(-, root, root) /usr/include/ss
94%attr(-, root, root) /usr/include/ext2fs
95%attr(-, root, root) /usr/include/et
96%attr(-, root, root) /usr/include/uuid
97%attr(-, root, root) /usr/lib/libe2p.so
98%attr(-, root, root) /usr/lib/libext2fs.so
99%attr(-, root, root) /usr/lib/libss.so
100%attr(-, root, root) /usr/lib/libcom_err.so
101%attr(-, root, root) /usr/lib/libuuid.so
102
103%files -n resize2fs
104%attr(-, root, root) /usr/man/man8/resize2fs.8
105%attr(-, root, root) /usr/sbin/resize2fs
106