Whamcloud - gitweb
ChangeLog, badblocks.c:
[tools/e2fsprogs.git] / resize / e2fsprogs-1.12.spec
1 Summary: Tools for the second extended (ext2) filesystem 
2 Name: e2fsprogs
3 Version: 1.12
4 Release: 0
5 Copyright: GPL
6 Group: Utilities/System
7 Source: ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/e2fsprogs-1.12.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 Requires: e2fsprogs
18
19 %description devel 
20 Libraries and header files needed to develop ext2 filesystem-specific
21 programs.
22
23 %package -n resize2fs
24 Summary: ext2 filesystem resizer
25 Group: Utilities/System
26 Requires: e2fsprogs
27
28 %description -n resize2fs
29 This program will allow you to enlarge or shrink an ext2 filesystem.
30
31 %prep
32 %setup
33
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
36
37 make libs progs docs
38
39 rm -f resize/resize2fs
40 mv resize/resize2fs.static resize/resize2fs
41
42 %install
43 export PATH=/sbin:$PATH
44 make install DESTDIR="$RPM_BUILD_ROOT"
45 make install-libs DESTDIR="$RPM_BUILD_ROOT"
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post
51 /sbin/ldconfig
52
53 %postun
54 /sbin/ldconfig
55
56 %files
57 %attr(-, root, root) %doc README RELEASE-NOTES
58 %attr(-, root, root) /sbin/e2fsck
59 %attr(-, root, root) /sbin/e2label
60 %attr(-, root, root) /sbin/fsck.ext2
61 %attr(-, root, root) /sbin/debugfs
62 %attr(-, root, root) /sbin/mke2fs
63 %attr(-, root, root) /sbin/badblocks
64 %attr(-, root, root) /sbin/tune2fs
65 %attr(-, root, root) /sbin/dumpe2fs
66 %attr(-, root, root) /sbin/fsck
67 %attr(-, root, root) /usr/sbin/mklost+found
68 %attr(-, root, root) /sbin/mkfs.ext2
69
70 %attr(-, root, root) /lib/libe2p.so.2.3
71 %attr(-, root, root) /lib/libext2fs.so.2.4
72 %attr(-, root, root) /lib/libss.so.2.0
73 %attr(-, root, root) /lib/libcom_err.so.2.0
74 %attr(-, root, root) /lib/libuuid.so.1.1
75
76 %attr(-, root, root) /usr/bin/chattr
77 %attr(-, root, root) /usr/bin/lsattr
78 %attr(-, root, root) /usr/man/man8/e2fsck.8
79 %attr(-, root, root) /usr/man/man8/debugfs.8
80 %attr(-, root, root) /usr/man/man8/tune2fs.8
81 %attr(-, root, root) /usr/man/man8/mklost+found.8
82 %attr(-, root, root) /usr/man/man8/mke2fs.8
83 %attr(-, root, root) /usr/man/man8/dumpe2fs.8
84 %attr(-, root, root) /usr/man/man8/badblocks.8
85 %attr(-, root, root) /usr/man/man8/fsck.8
86 %attr(-, root, root) /usr/man/man1/chattr.1
87 %attr(-, root, root) /usr/man/man1/lsattr.1
88
89 %files devel
90 %attr(-, root, root) /usr/info/libext2fs.info*
91 %attr(-, root, root) /usr/lib/libe2p.a
92 %attr(-, root, root) /usr/lib/libext2fs.a
93 %attr(-, root, root) /usr/lib/libss.a
94 %attr(-, root, root) /usr/lib/libcom_err.a
95 %attr(-, root, root) /usr/lib/libuuid.a
96 %attr(-, root, root) /usr/include/ss
97 %attr(-, root, root) /usr/include/ext2fs
98 %attr(-, root, root) /usr/include/et
99 %attr(-, root, root) /usr/include/uuid
100 %attr(-, root, root) /usr/lib/libe2p.so
101 %attr(-, root, root) /usr/lib/libext2fs.so
102 %attr(-, root, root) /usr/lib/libss.so
103 %attr(-, root, root) /usr/lib/libcom_err.so
104 %attr(-, root, root) /usr/lib/libuuid.so
105
106 %files -n resize2fs
107 %attr(-, root, root) /usr/man/man8/resize2fs.8
108 %attr(-, root, root) /usr/sbin/resize2fs