e2fsprogs.spec 4.02 KB
Newer Older
1
Summary: Utilities for managing the second extended (ext2) filesystem.
Theodore Ts'o's avatar
Theodore Ts'o committed
2
Name: e2fsprogs
Theodore Ts'o's avatar
Theodore Ts'o committed
3
Version: 1.19
Theodore Ts'o's avatar
Theodore Ts'o committed
4 5
Release: 0
Copyright: GPL
6
Group: System Environment/Base
Theodore Ts'o's avatar
Theodore Ts'o committed
7
Source: ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/e2fsprogs-1.19.tar.gz
Theodore Ts'o's avatar
Theodore Ts'o committed
8 9 10
BuildRoot: /tmp/e2fsprogs-root

%description
11 12 13 14 15 16 17 18 19 20 21 22 23
The e2fsprogs package contains a number of utilities for creating,
checking, modifying and correcting any inconsistencies in second
extended (ext2) filesystems.  E2fsprogs contains e2fsck (used to repair
filesystem inconsistencies after an unclean shutdown), mke2fs (used to
initialize a partition to contain an empty ext2 filesystem), debugfs
(used to examine the internal structure of a filesystem, to manually
repair a corrupted filesystem or to create test cases for e2fsck), tune2fs
(used to modify filesystem parameters) and most of the other core ext2fs
filesystem utilities.

You should install the e2fsprogs package if you are using any ext2
filesystems (if you're not sure, you probably should install this
package).
Theodore Ts'o's avatar
Theodore Ts'o committed
24 25

%package devel
26
Summary: Ext2 filesystem-specific static libraries and headers.
Theodore Ts'o's avatar
Theodore Ts'o committed
27
Group: Development/Libraries
28
Requires: e2fsprogs
Theodore Ts'o's avatar
Theodore Ts'o committed
29 30

%description devel 
31 32 33 34 35 36
E2fsprogs-devel contains the libraries and header files needed to
develop second extended (ext2) filesystem-specific programs.

You should install e2fsprogs-devel if you want to develop ext2
filesystem-specific programs.  If you install e2fsprogs-devel, you will
also need to install e2fsprogs.
Theodore Ts'o's avatar
Theodore Ts'o committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs

make libs progs docs

%install
export PATH=/sbin:$PATH
make install DESTDIR="$RPM_BUILD_ROOT"
make install-libs DESTDIR="$RPM_BUILD_ROOT"

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
Theodore Ts'o's avatar
Theodore Ts'o committed
61
%attr(-, root, root) %doc README RELEASE-NOTES
Theodore Ts'o's avatar
Theodore Ts'o committed
62
%attr(-, root, root) /sbin/e2fsck
63
%attr(-, root, root) /sbin/e2label
Theodore Ts'o's avatar
Theodore Ts'o committed
64 65 66 67 68 69 70
%attr(-, root, root) /sbin/fsck.ext2
%attr(-, root, root) /sbin/debugfs
%attr(-, root, root) /sbin/mke2fs
%attr(-, root, root) /sbin/badblocks
%attr(-, root, root) /sbin/tune2fs
%attr(-, root, root) /sbin/dumpe2fs
%attr(-, root, root) /sbin/fsck
Theodore Ts'o's avatar
Theodore Ts'o committed
71
%attr(-, root, root) /sbin/resize2fs
Theodore Ts'o's avatar
Theodore Ts'o committed
72 73 74 75
%attr(-, root, root) /usr/sbin/mklost+found
%attr(-, root, root) /sbin/mkfs.ext2

%attr(-, root, root) /lib/libe2p.so.2.3
76
%attr(-, root, root) /lib/libext2fs.so.2.4
Theodore Ts'o's avatar
Theodore Ts'o committed
77 78
%attr(-, root, root) /lib/libss.so.2.0
%attr(-, root, root) /lib/libcom_err.so.2.0
Theodore Ts'o's avatar
Theodore Ts'o committed
79
%attr(-, root, root) /lib/libuuid.so.1.2
Theodore Ts'o's avatar
Theodore Ts'o committed
80 81 82

%attr(-, root, root) /usr/bin/chattr
%attr(-, root, root) /usr/bin/lsattr
83
%attr(-, root, root) /usr/bin/uuidgen
Theodore Ts'o's avatar
Theodore Ts'o committed
84
%attr(-, root, root) /usr/man/man8/e2fsck.8
Theodore Ts'o's avatar
Theodore Ts'o committed
85
%attr(-, root, root) /usr/man/man8/e2label.8
Theodore Ts'o's avatar
Theodore Ts'o committed
86 87 88 89 90 91 92
%attr(-, root, root) /usr/man/man8/debugfs.8
%attr(-, root, root) /usr/man/man8/tune2fs.8
%attr(-, root, root) /usr/man/man8/mklost+found.8
%attr(-, root, root) /usr/man/man8/mke2fs.8
%attr(-, root, root) /usr/man/man8/dumpe2fs.8
%attr(-, root, root) /usr/man/man8/badblocks.8
%attr(-, root, root) /usr/man/man8/fsck.8
Theodore Ts'o's avatar
Theodore Ts'o committed
93
%attr(-, root, root) /usr/man/man8/resize2fs.8
Theodore Ts'o's avatar
Theodore Ts'o committed
94 95
%attr(-, root, root) /usr/man/man1/chattr.1
%attr(-, root, root) /usr/man/man1/lsattr.1
96
%attr(-, root, root) /usr/man/man1/uuidgen.1
Theodore Ts'o's avatar
Theodore Ts'o committed
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113

%files devel
%attr(-, root, root) /usr/info/libext2fs.info*
%attr(-, root, root) /usr/lib/libe2p.a
%attr(-, root, root) /usr/lib/libext2fs.a
%attr(-, root, root) /usr/lib/libss.a
%attr(-, root, root) /usr/lib/libcom_err.a
%attr(-, root, root) /usr/lib/libuuid.a
%attr(-, root, root) /usr/include/ss
%attr(-, root, root) /usr/include/ext2fs
%attr(-, root, root) /usr/include/et
%attr(-, root, root) /usr/include/uuid
%attr(-, root, root) /usr/lib/libe2p.so
%attr(-, root, root) /usr/lib/libext2fs.so
%attr(-, root, root) /usr/lib/libss.so
%attr(-, root, root) /usr/lib/libcom_err.so
%attr(-, root, root) /usr/lib/libuuid.so
Theodore Ts'o's avatar
Theodore Ts'o committed
114 115 116 117 118 119 120 121 122
%attr(-, root, root) /usr/bin/mk_cmds
%attr(-, root, root) /usr/bin/compile_et
%attr(-, root, root) /usr/share/et/et_c.awk
%attr(-, root, root) /usr/share/et/et_h.awk
%attr(-, root, root) /usr/share/ss/ct_c.awk
%attr(-, root, root) /usr/share/ss/ct_c.sed
%attr(-, root, root) /usr/man/man1/compile_et.1
%attr(-, root, root) /usr/man/man3/com_err.3