From 3b2bb3db3379d574362b772eaa6aed3bd51ad617 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 04:23:03 +0000 Subject: [PATCH] auto-import changelog data from e2fsprogs-1.18-15.src.rpm * Wed Aug 30 2000 Matt Wilson - rebuild to cope with glibc locale binary incompatibility, again * Wed Aug 16 2000 Jeff Johnson - correct relative symlinks (#16130). * Mon Aug 14 2000 Preston Brown - absolute --> relative symlinks (#16130) * Tue Jul 25 2000 Erik Troan - fixed LABEL handling * Wed Jul 19 2000 Jakub Jelinek - rebuild to cope with glibc locale binary incompatibility * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 26 2000 Matt Wilson - added resize2fs from the WIP snapshot * Thu Jun 15 2000 Matt Wilson - patched to build against linux 2.4 headers * Mon Jun 05 2000 Jeff Johnson - FHS packaging. * Fri Apr 28 2000 Bill Nottingham - fix for ia64 * Sat Feb 05 2000 Bill Nottingham - add install-info scripts * Thu Feb 03 2000 Elliot Lee - Fix bug #8585 (Y2K problems in debugfs) * Wed Feb 02 2000 Jakub Jelinek - allow multiline errors in et, so that other programs can use compile_et (from Kerberos) * Thu Jan 13 2000 Jeff Johnson - build 1.18 for 6.2. * Tue Oct 26 1999 Bill Nottingham - update to 1.17 * Mon Oct 25 1999 Bill Nottingham - update to 1.16 * Thu Oct 21 1999 Bill Nottingham - add patch to fix SIGUSR1 kills. * Mon Oct 04 1999 Cristian Gafton - rebuild against new glibc in the sparc tree * Thu Sep 23 1999 Jakub Jelinek - update mke2fs man page so that it reflects changes in mke2fs netweem 1.14 and 1.15 * Thu Aug 05 1999 Bill Nottingham - fix lsattr on alpha * Thu Jul 29 1999 Jeff Johnson - update to 1.15. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Tue Mar 16 1999 Cristian Gafton - fix fsck segfault * Tue Feb 02 1999 Jeff Johnson - update to 1.14 - use CFLAGS="${CFLAGS:--O2 -march=i386 -mcpu=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -march=i386 -mcpu=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -march=i386 -mcpu=i686}" ; export FFLAGS ; [ -f configure.in ] && libtoolize --copy --force ; ./configure i386-redhat-linux \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/usr/com \ --mandir=/usr/man \ --infodir=/usr/info to generate config.sub on arm * Thu Jan 14 1999 Jeff Johnson - fix /usr/bin/compile_et and doco for com_err.h (#673) * Thu Jan 07 1999 Cristian Gafton - build with prefix=/usr - add arm patch * Mon Dec 28 1998 Jeff Johnson - update to 1.13. * Fri Aug 28 1998 Jeff Johnson - recompile statically linked binary for 5.2/sparc * Mon Jul 13 1998 Jeff Johnson - upgrade to 1.12. * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Thu Apr 30 1998 Cristian Gafton - include to match kernel types in utils * Tue Oct 14 1997 Donnie Barnes - spec file cleanups * Wed Oct 01 1997 Erik Troan - fixed broken llseek() prototype * Wed Aug 20 1997 Erik Troan - added patch to prototype llseek * Tue Jun 17 1997 Erik Troan - built against glibc --- .cvsignore | 2 + e2fsprogs.spec | 274 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 + 3 files changed, 278 insertions(+) create mode 100644 e2fsprogs.spec diff --git a/.cvsignore b/.cvsignore index e69de29..426a691 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +e2fsprogs-1.18.tar.gz +e2fsprogs-resize.tar.gz diff --git a/e2fsprogs.spec b/e2fsprogs.spec new file mode 100644 index 0000000..5fdc78e --- /dev/null +++ b/e2fsprogs.spec @@ -0,0 +1,274 @@ +%define _root_sbindir /sbin +%define _root_libdir /%{_lib} + +Summary: Utilities for managing the second extended (ext2) filesystem. +Name: e2fsprogs +Version: 1.18 +Release: 15 +Copyright: GPL +Group: System Environment/Base +Source: ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/e2fsprogs-%{version}.tar.gz +# The next source was extracted from: +# http://download.sourceforge.net/e2fsprogs/e2fsprogs-1.19-WIP.tar.gz +Source1: e2fsprogs-resize.tar.gz +Patch0: e2fsprogs-et.patch +Patch1: e2fsprogs-debugfsy2k.patch +Patch2: e2fsprogs-1.18-linux24.patch +Patch3: e2fsprogs-1.18-resize.patch +Patch4: e2fsprogs-1.18-mountlabel.patch +Prereq: /sbin/ldconfig +BuildRoot: %{_tmppath}/%{name}-root + +%description +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 need to manage the +performance of an ext2 filesystem. + +%package devel +Summary: Ext2 filesystem-specific static libraries and headers. +Group: Development/Libraries +Requires: e2fsprogs +Prereq: /sbin/install-info + +%description devel +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'll +also want to install e2fsprogs. + +%prep +%setup -q -a 1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .linux24 +%patch3 -p1 -b .resize +%patch4 -p1 -b .mountlabel + +autoconf + +%build +%configure --enable-elf-shlibs +make libs progs docs + +%install +rm -rf $RPM_BUILD_ROOT +export PATH=/sbin:$PATH + +#make install install-libs DESTDIR="$RPM_BUILD_ROOT" \ +# root_sbindir=%{_root_sbindir} root_libdir=%{_root_libdir} + +%makeinstall \ + root_sbindir=${RPM_BUILD_ROOT}%{_root_sbindir} \ + root_libdir=${RPM_BUILD_ROOT}%{_root_libdir} \ + install-libs + +{ cd ${RPM_BUILD_ROOT} + ln -sf ../..%{_root_libdir}/libcom_err.so.2 .%{_libdir}/libcom_err.so + ln -sf ../..%{_root_libdir}/libe2p.so.2 .%{_libdir}/libe2p.so + ln -sf ../..%{_root_libdir}/libext2fs.so.2 .%{_libdir}/libext2fs.so + ln -sf ../..%{_root_libdir}/libss.so.2 .%{_libdir}/libss.so + ln -sf ../..%{_root_libdir}/libuuid.so.1 .%{_libdir}/libuuid.so +} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post devel +/sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir + +%postun devel +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/libext2fs.info.gz %{_infodir}/dir +fi + +%files +%defattr(-,root,root) +%doc README RELEASE-NOTES + +%{_root_sbindir}/badblocks +%{_root_sbindir}/debugfs +%{_root_sbindir}/dumpe2fs +%{_root_sbindir}/e2fsck +%{_root_sbindir}/e2label +%{_root_sbindir}/fsck +%{_root_sbindir}/fsck.ext2 +%{_root_sbindir}/mke2fs +%{_root_sbindir}/mkfs.ext2 +%{_root_sbindir}/resize2fs +%{_root_sbindir}/tune2fs +%{_sbindir}/mklost+found + +%{_root_libdir}/libcom_err.so.* +%{_root_libdir}/libe2p.so.* +%{_root_libdir}/libext2fs.so.* +%{_root_libdir}/libss.so.* +%{_root_libdir}/libuuid.so.* + +%{_bindir}/chattr +%{_bindir}/lsattr +%{_bindir}/uuidgen +%{_mandir}/man1/chattr.1* +%{_mandir}/man1/lsattr.1* +%{_mandir}/man1/uuidgen.1* + +%{_mandir}/man8/badblocks.8* +%{_mandir}/man8/debugfs.8* +%{_mandir}/man8/dumpe2fs.8* +%{_mandir}/man8/e2fsck.8* +%{_mandir}/man8/e2label.8* +%{_mandir}/man8/fsck.8* +%{_mandir}/man8/mke2fs.8* +%{_mandir}/man8/mklost+found.8* +%{_mandir}/man8/resize2fs.8* +%{_mandir}/man8/tune2fs.8* + +%files devel +%defattr(-,root,root) +%{_infodir}/libext2fs.info* +%{_bindir}/compile_et +%{_bindir}/mk_cmds + +%{_libdir}/libcom_err.a +%{_libdir}/libcom_err.so +%{_libdir}/libe2p.a +%{_libdir}/libe2p.so +%{_libdir}/libext2fs.a +%{_libdir}/libext2fs.so +%{_libdir}/libss.a +%{_libdir}/libss.so +%{_libdir}/libuuid.a +%{_libdir}/libuuid.so + +%{_datadir}/et +%{_datadir}/ss +%{_includedir}/et +%{_includedir}/ext2fs +%{_includedir}/ss +%{_includedir}/uuid +%{_mandir}/man1/compile_et.1* +%{_mandir}/man3/com_err.3* + +%changelog +* Wed Aug 30 2000 Matt Wilson +- rebuild to cope with glibc locale binary incompatibility, again + +* Wed Aug 16 2000 Jeff Johnson +- correct relative symlinks (#16130). + +* Mon Aug 14 2000 Preston Brown +- absolute --> relative symlinks (#16130) + +* Tue Jul 25 2000 Erik Troan +- fixed LABEL handling + +* Wed Jul 19 2000 Jakub Jelinek +- rebuild to cope with glibc locale binary incompatibility + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 26 2000 Matt Wilson +- added resize2fs from the WIP snapshot + +* Thu Jun 15 2000 Matt Wilson +- patched to build against linux 2.4 headers + +* Mon Jun 5 2000 Jeff Johnson +- FHS packaging. + +* Fri Apr 28 2000 Bill Nottingham +- fix for ia64 + +* Sat Feb 5 2000 Bill Nottingham +- add install-info scripts + +* Thu Feb 03 2000 Elliot Lee +- Fix bug #8585 (Y2K problems in debugfs) + +* Wed Feb 02 2000 Jakub Jelinek +- allow multiline errors in et, so that other programs + can use compile_et (from Kerberos) + +* Thu Jan 13 2000 Jeff Johnson +- build 1.18 for 6.2. + +* Tue Oct 26 1999 Bill Nottingham +- update to 1.17 + +* Mon Oct 25 1999 Bill Nottingham +- update to 1.16 + +* Thu Oct 21 1999 Bill Nottingham +- add patch to fix SIGUSR1 kills. + +* Mon Oct 04 1999 Cristian Gafton +- rebuild against new glibc in the sparc tree + +* Thu Sep 23 1999 Jakub Jelinek +- update mke2fs man page so that it reflects changes in mke2fs + netweem 1.14 and 1.15 + +* Thu Aug 5 1999 Bill Nottingham +- fix lsattr on alpha + +* Thu Jul 29 1999 Jeff Johnson +- update to 1.15. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Tue Mar 16 1999 Cristian Gafton +- fix fsck segfault + +* Tue Feb 2 1999 Jeff Johnson +- update to 1.14 +- use %configure to generate config.sub on arm + +* Thu Jan 14 1999 Jeff Johnson +- fix /usr/bin/compile_et and doco for com_err.h (#673) + +* Thu Jan 07 1999 Cristian Gafton +- build with prefix=/usr +- add arm patch + +* Mon Dec 28 1998 Jeff Johnson +- update to 1.13. + +* Fri Aug 28 1998 Jeff Johnson +- recompile statically linked binary for 5.2/sparc + +* Mon Jul 13 1998 Jeff Johnson +- upgrade to 1.12. + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Apr 30 1998 Cristian Gafton +- include to match kernel types in utils + +* Tue Oct 14 1997 Donnie Barnes +- spec file cleanups + +* Wed Oct 01 1997 Erik Troan +- fixed broken llseek() prototype + +* Wed Aug 20 1997 Erik Troan +- added patch to prototype llseek + +* Tue Jun 17 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..ce8b2c0 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +c38cafebd86cd6d6e5599c92a5e23115 e2fsprogs-1.18.tar.gz +a2ed65d01ed711f08abbbf8a620b450e e2fsprogs-resize.tar.gz