Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 1 | Summary: Utilities for managing the second extended (ext2) filesystem. |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 2 | Name: e2fsprogs |
Theodore Ts'o | 5d823a4 | 2002-11-01 02:13:53 -0500 | [diff] [blame^] | 3 | Version: 1.30 |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 4 | Release: 0 |
| 5 | Copyright: GPL |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 6 | Group: System Environment/Base |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 7 | Buildroot: /var/tmp/%{name}-root |
Theodore Ts'o | f5955dd | 2000-10-25 02:38:39 +0000 | [diff] [blame] | 8 | Source: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/e2fsprogs-%{version}.tar.gz |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 9 | Prereq: /sbin/ldconfig |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 10 | |
| 11 | %description |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 12 | The e2fsprogs package contains a number of utilities for creating, |
| 13 | checking, modifying and correcting any inconsistencies in second |
| 14 | extended (ext2) filesystems. E2fsprogs contains e2fsck (used to repair |
| 15 | filesystem inconsistencies after an unclean shutdown), mke2fs (used to |
| 16 | initialize a partition to contain an empty ext2 filesystem), debugfs |
| 17 | (used to examine the internal structure of a filesystem, to manually |
| 18 | repair a corrupted filesystem or to create test cases for e2fsck), tune2fs |
Theodore Ts'o | 7adb91d | 2000-08-14 14:47:51 +0000 | [diff] [blame] | 19 | (used to modify filesystem parameters), resize2fs to grow and shrink |
| 20 | unmounted ext2 filesystems, and most of the other core ext2fs filesystem |
| 21 | utilities. |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 22 | |
| 23 | You should install the e2fsprogs package if you are using any ext2 |
| 24 | filesystems (if you're not sure, you probably should install this |
| 25 | package). |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 26 | |
| 27 | %package devel |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 28 | Summary: Ext2 filesystem-specific static libraries and headers. |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 29 | Group: Development/Libraries |
Theodore Ts'o | ca483f0 | 1998-02-24 03:20:51 +0000 | [diff] [blame] | 30 | Requires: e2fsprogs |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 31 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 32 | %description devel |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 33 | E2fsprogs-devel contains the libraries and header files needed to |
| 34 | develop second extended (ext2) filesystem-specific programs. |
| 35 | |
| 36 | You should install e2fsprogs-devel if you want to develop ext2 |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 37 | filesystem-specific programs. If you install e2fsprogs-devel, you'll |
Theodore Ts'o | 8a31ffe | 1999-10-23 03:33:15 +0000 | [diff] [blame] | 38 | also need to install e2fsprogs. |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 39 | |
| 40 | %prep |
| 41 | %setup |
| 42 | |
| 43 | %build |
Theodore Ts'o | f5955dd | 2000-10-25 02:38:39 +0000 | [diff] [blame] | 44 | CFLAGS="$RPM_OPT_FLAGS" ; export CFLAGS |
| 45 | ./configure --enable-elf-shlibs --mandir=%{_mandir} --infodir=%{_infodir} |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 46 | |
| 47 | make libs progs docs |
| 48 | |
| 49 | %install |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 50 | rm -rf $RPM_BUILD_ROOT |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 51 | export PATH=/sbin:$PATH |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 52 | make install install-libs DESTDIR="$RPM_BUILD_ROOT" |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 53 | |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 54 | %clean |
| 55 | rm -rf $RPM_BUILD_ROOT |
| 56 | |
| 57 | %post |
| 58 | /sbin/ldconfig |
Theodore Ts'o | ab14676 | 2000-07-07 04:37:35 +0000 | [diff] [blame] | 59 | # Remove possibly old version |
| 60 | /bin/rm -f /usr/sbin/resize2fs |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 61 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 62 | %postun -p /sbin/ldconfig |
| 63 | |
| 64 | %post devel |
| 65 | if [ -x /sbin/install-info ]; then |
Theodore Ts'o | f5955dd | 2000-10-25 02:38:39 +0000 | [diff] [blame] | 66 | /sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 67 | fi |
| 68 | |
| 69 | %postun devel |
| 70 | if [ $1 = 0 -a -x /sbin/install-info ]; then |
Theodore Ts'o | f5955dd | 2000-10-25 02:38:39 +0000 | [diff] [blame] | 71 | /sbin/install-info --delete %{_infodir}/libext2fs.info.gz %{_infodir}/dir |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 72 | fi |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 73 | |
| 74 | %files |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 75 | %defattr(-,root,root) |
| 76 | %doc README RELEASE-NOTES |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 77 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 78 | /sbin/badblocks |
| 79 | /sbin/debugfs |
| 80 | /sbin/dumpe2fs |
| 81 | /sbin/e2fsck |
| 82 | /sbin/e2label |
Theodore Ts'o | d5d9215 | 2001-05-11 06:19:33 +0000 | [diff] [blame] | 83 | /sbin/e2image |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 84 | /sbin/fsck |
| 85 | /sbin/fsck.ext2 |
| 86 | /sbin/fsck.ext3 |
| 87 | /sbin/mke2fs |
| 88 | /sbin/mkfs.ext2 |
Andreas Dilger | 0072f8d | 2002-02-25 23:11:26 -0700 | [diff] [blame] | 89 | /sbin/mkfs.ext3 |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 90 | /sbin/tune2fs |
| 91 | /sbin/resize2fs |
| 92 | /usr/sbin/mklost+found |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 93 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 94 | /lib/libcom_err.so.* |
| 95 | /lib/libe2p.so.* |
| 96 | /lib/libext2fs.so.* |
| 97 | /lib/libss.so.* |
| 98 | /lib/libuuid.so.* |
| 99 | |
| 100 | /usr/bin/chattr |
| 101 | /usr/bin/lsattr |
| 102 | /usr/bin/uuidgen |
Theodore Ts'o | 16c1ce8 | 2000-10-25 14:59:13 +0000 | [diff] [blame] | 103 | %{_mandir}/man1/chattr.1* |
| 104 | %{_mandir}/man1/lsattr.1* |
| 105 | %{_mandir}/man1/uuidgen.1* |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 106 | |
Theodore Ts'o | 16c1ce8 | 2000-10-25 14:59:13 +0000 | [diff] [blame] | 107 | %{_mandir}/man8/badblocks.8* |
| 108 | %{_mandir}/man8/debugfs.8* |
| 109 | %{_mandir}/man8/dumpe2fs.8* |
| 110 | %{_mandir}/man8/e2fsck.8* |
| 111 | %{_mandir}/man8/e2label.8* |
Theodore Ts'o | d5d9215 | 2001-05-11 06:19:33 +0000 | [diff] [blame] | 112 | %{_mandir}/man8/e2image.8* |
Theodore Ts'o | 16c1ce8 | 2000-10-25 14:59:13 +0000 | [diff] [blame] | 113 | %{_mandir}/man8/fsck.8* |
| 114 | %{_mandir}/man8/mke2fs.8* |
| 115 | %{_mandir}/man8/mklost+found.8* |
| 116 | %{_mandir}/man8/resize2fs.8* |
| 117 | %{_mandir}/man8/tune2fs.8* |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 118 | |
| 119 | %files devel |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 120 | %defattr(-,root,root) |
Theodore Ts'o | f5955dd | 2000-10-25 02:38:39 +0000 | [diff] [blame] | 121 | %{_infodir}/libext2fs.info* |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 122 | /usr/bin/compile_et |
| 123 | /usr/bin/mk_cmds |
| 124 | |
| 125 | /usr/lib/libcom_err.a |
| 126 | /usr/lib/libcom_err.so |
| 127 | /usr/lib/libe2p.a |
| 128 | /usr/lib/libe2p.so |
| 129 | /usr/lib/libext2fs.a |
| 130 | /usr/lib/libext2fs.so |
| 131 | /usr/lib/libss.a |
| 132 | /usr/lib/libss.so |
| 133 | /usr/lib/libuuid.a |
| 134 | /usr/lib/libuuid.so |
| 135 | |
| 136 | /usr/share/et |
| 137 | /usr/share/ss |
| 138 | /usr/include/et |
| 139 | /usr/include/ext2fs |
| 140 | /usr/include/ss |
| 141 | /usr/include/uuid |
Theodore Ts'o | 16c1ce8 | 2000-10-25 14:59:13 +0000 | [diff] [blame] | 142 | %{_mandir}/man1/compile_et.1* |
| 143 | %{_mandir}/man3/com_err.3* |
Andreas Dilger | 4941fe8 | 2001-10-01 16:02:20 -0600 | [diff] [blame] | 144 | %{_mandir}/man3/libuuid.3* |
| 145 | %{_mandir}/man3/uuid*.3* |