Summary: The GNU disk partition manipulation program. Name: parted Version: 1.4.16 Release: 8 Copyright: GPL Group: Applications/System Buildroot: %{_tmppath}/%{name}-%{version}-root Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz #Patch0: http://domsch.com/linux/parted/parted-1.4.15-pre1-gpt-20010703.patch # regenerated patch against 1.4.16 Patch0: parted-1.4.16-gpt-20010703.patch Patch1: parted-1.4.16-partstatic.patch BuildRequires: libunicode-devel e2fsprogs-devel libtermcap-devel readline-devel BuildRequires: python-devel %define _sbindir /sbin %description The GNU Parted program allows you to create, destroy, resize, move, and copy hard disk partitions. Parted can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks. %package devel Summary: Files for developing apps which will manipulate disk partitions. Group: Development/Libraries Requires: parted = %{version} %description devel The GNU Parted library is a set of routines for hard disk partition manipulation. If you want to develop programs that manipulate disk partitions and filesystems using the routines provided by the GNU Parted library, you need to install this package. %prep %setup -q %patch0 -p1 -b .gpt %patch1 -p1 -b .partstatic %build #patch1 needs autoconf autoconf %define __libtoolize /bin/true %configure --enable-shared --enable-part-static --enable-pc98=no make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %makeinstall %find_lang %name %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr (-, root, root) %doc AUTHORS BUGS ChangeLog README THANKS TODO doc/USER* %{_mandir}/*/* %{_sbindir}/* %{_libdir}/lib*.so.* /usr/lib/python1.5/site-packages %files devel %defattr (-, root, root) %{_includedir}/parted %{_libdir}/lib*.so %changelog * Tue Aug 28 2001 Matt Wilson 1.4.16-8 - new dist from cvs with changes to the python binding: register DEVICE_I20 and DEVICE_ATARAID, check to make sure that a partition exists in the PedDisk when using it to find ped_disk_next_partition * Tue Aug 21 2001 Matt Wilson 1.4.16-7 - really disable pc98 support (SF #51632) * Fri Aug 17 2001 Matt Wilson 1.4.16-6 - added a patch (Patch1) to link the c library in dynamically, the rest of the libs statically for the parted binary (MF #49358) * Tue Aug 7 2001 Matt Wilson - made a new dist from CVS that includes binding for disk.get_partition_by_sector and accessing the name of a disk type * Mon Aug 6 2001 Matt Wilson 1.4.16-4 - created a new dist from CVS that fixes ext3 detection when _probe_with_open is needed (#50292) * Fri Jul 20 2001 Matt Wilson - rewrite scsi id code (#49533) * Fri Jul 20 2001 Matt Wilson - added build requires (#49549) * Tue Jul 17 2001 Matt Wilson - 1.4.16 - regenerated gpt patch against 1.4.16, incorporated parted-1.4.15-pre1-gpt-printf.patch into the same patch, removed Patch1 * Tue Jul 10 2001 Matt Wilson - added a new dist tarball that contains python wrappers to get disk types * Tue Jul 10 2001 Tim Powers - run ldconfig on un/install * Tue Jul 10 2001 Matt Wilson - added a fix from clausen for border case when there is an extended on the last cyl * Mon Jul 9 2001 Matt Wilson - 1.4.15 * Thu Jul 5 2001 Matt Wilson - added patch from Arjan to enable ataraid support * Wed Jul 4 2001 Matt Wilson - imported 1.4.15-pre2 into CVS and made a new dist tarball * Tue Jun 26 2001 Matt Wilson - added a new dist tarball that contains a check in python code to make sure that a partition exists within a disk before trying to remove it from the disk - also changed _probe_with_open to make the first probed filesystem win * Tue Jun 26 2001 Bill Nottingham - fix filesystem type reading on GPT disks * Tue Jun 26 2001 Matt Wilson - added another fix for ext2/ext3 - added Patch4 to move the crc32 function into its own namespace so we don't colide with zlib when both are in the same executable space * Mon Jun 25 2001 Matt Wilson - added a new dist tarball from CVS that includes ext3 probing * Wed Jun 6 2001 Matt Wilson - updated dist with binding for partition.geom.disk * Tue Jun 5 2001 Matt Wilson - make a new dist tarball that has new python binding changes * Tue May 29 2001 Bill Nottingham - add major numbers for cciss - add libunicode-devel buildprereq * Sun May 27 2001 Matthew Wilson - added type, heads, and sectors to the python binding for PedDevice * Fri May 4 2001 Matt Wilson - added parted-1.4.11-gpt-pmbralign.patch from Matt Domsch * Wed May 2 2001 Matt Wilson - include python binding - enable shared library (for python binding, we want fpic code) with --enable-shared - build parted binary static with --enable-all-static - don't run libtoolize on this. * Wed May 02 2001 Bill Nottingham - update to 1.4.11 - add EFI GPT patch from Matt Domsch () - don't run autoconf, it relies on a newer non-released version of autoconf... * Fri Feb 23 2001 Trond Eivind Glomsrød - langify * Wed Jan 17 2001 Florian La Roche - update to 1.4.7 * Thu Dec 14 2000 Bill Nottingham - rebuild because of broken fileutils * Fri Nov 03 2000 Florian La Roche - update to 1.2.12 * Wed Nov 01 2000 Florian La Roche - update to 1.2.11 * Tue Oct 17 2000 Florian La Roche - update to 1.2.10 * Sun Sep 10 2000 Florian La Roche - update to 1.2.9 * Tue Aug 29 2000 Florian La Roche - fix bug when just hitting "return" with no user input * Sun Aug 20 2000 Florian La Roche - 1.2.8 - blksize patch not needed anymore - move changelog to the end of the spec file * Wed Aug 16 2000 Matt Wilson - 1.2.7 - patched configure script to ignore the 2.4 blkpg.h header (fixes #15835). * Fri Aug 4 2000 Florian La Roche - update to 1.2.6 * Sat Jul 22 2000 Florian La Roche - update to 1.2.5 - add more docu * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Matt Wilson - initialization of spec file.