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