%define aclocaldir /usr/share/aclocal %define _sbindir /sbin Summary: The GNU disk partition manipulation program. Name: parted Version: 1.6.15 Release: 3 Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Patch0: parted-1.6.3-fat.c.patch Patch1: parted-1.6.3-print-large-device.patch Patch100: parted-1.6.12-dasd.patch Patch150: parted-1.6.3-iseries.patch Patch151: parted-1.6.3-aix.patch Patch152: parted-1.6.15-dasd_geometry.patch Buildroot: %{_tmppath}/%{name}-root License: GPL Group: Applications/System BuildRequires: e2fsprogs-devel libtermcap-devel readline-devel BuildRequires: ncurses-devel BuildRequires: automake libtool gettext-devel Prereq: /sbin/install-info %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: %{name} = %{version}-%{release} %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 .sigfpe %patch1 -p1 -b .large %patch100 -p1 -b .dasd %patch150 -p1 -b .iseries %patch151 -p1 -b .aix %patch152 -p1 -b .dasd_geometry aclocal autoconf %build if [ -n "$LINGUAS" ]; then unset LINGUAS; fi %configure --enable-shared --enable-part-static --enable-pc98=no --enable-Werror=no --disable-dynamic-loading export tagname=CC make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT export tagname=CC %makeinstall LIBTOOL=/usr/bin/libtool MKINSTALLDIRS=`pwd`/mkinstalldirs find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \; rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %name %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/install-info %{_infodir}/parted.info* %{_infodir}/dir || : %postun /sbin/ldconfig /sbin/install-info --delete %{_infodir}/parted.info* %{_infodir}/dir || : %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/API doc/FAT %{_sbindir}/* %{_mandir}/*/* %{_libdir}/*.so* %{_infodir}/parted.info* %files devel %defattr(-,root,root) %{_prefix}/include/* %{aclocaldir}/* %{_libdir}/*.a* %changelog * Tue Oct 12 2004 Jeremy Katz - 1.6.15-3 - add patch from peterm to fix printing of the size of large devices (#135468) * Thu Oct 07 2004 Phil Knirsch 1.6.15-2 - Fixed geometry calculation for bios_geo in dasd_init() * Mon Sep 20 2004 Jeremy Katz - 1.6.15-1 - 1.6.15 * Fri Sep 10 2004 Jeremy Katz - 1.6.14-1 - update to 1.6.14 * Tue Aug 24 2004 Jeremy Katz - 1.6.12-2 - fix assertion error when checking flags on non-active partition (#130692) - buildrequires: gettext-devel * Mon Aug 16 2004 Jeremy Katz - 1.6.12-1 - update to 1.6.12 with major changes to CHS handling to hopefully fix #115980 - adjust dasd patch accordingly, drop some included patches * Mon Jul 19 2004 Karsten Hopp 1.6.11-4 - update dasd patch for dos-type partitions on mainframes (scsi disks) * Fri Jun 25 2004 Jeremy Katz - 1.6.11-3 - install-info (#77687) * Tue Jun 15 2004 Elliot Lee - 1.6.11-2 - rebuilt * Tue Jun 1 2004 Jeremy Katz - -devel requires main package (#124938) * Thu May 13 2004 Jeremy Katz - 1.6.11-1 - update to 1.6.11 * Tue May 11 2004 Jeremy Katz - 1.6.9-4 - add patch from Matt Domsch to not use the get/set last sector ioctls with a 2.6 kernel (#121455) * Thu Apr 15 2004 David Woodhouse - 1.6.9-3 - Fix Mac partition detection to close #112937 * Tue Apr 13 2004 Jeremy Katz - 1.6.9-2 - another minor tweak for 2.6's lack of sane geometry handling * Mon Apr 12 2004 Jeremy Katz - 1.6.9-1 - update to 1.6.9 - need automake17 - python-devel is superfluous with pyparted as a separate package - lose the fake-libtool stuff, 1.6.9 was disted with newer auto* * Mon Mar 15 2004 Elliot Lee 1.6.6-2 - Fix parted's "part-static" option to close #118183. Woohoo, a fake-libtool.sh :) * Fri Mar 12 2004 Jeremy Katz - 1.6.6-1 - update to 1.6.6 - split dasd into a patch instead of included in the tarball - python module is now in the pyparted package (separate src.rpm) - ExcludeArch: ppc64 (#118183) * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Feb 6 2004 Jeremy Katz - add automake buildrequires (#115063) * Thu Jan 22 2004 Jeremy Katz 1.6.3-33 - 2.6 removes the geometry fixups that used to be present for IDE disks. According to Andries, just follow what's in the partition table and don't worry about what Linux "detects" * Thu Nov 6 2003 Jeremy Katz 1.6.3-32 - rebuild for python 2.3 * Mon Oct 27 2003 Jeremy Katz 1.6.3-31 - add patch from Michael Schwendt for segfault * Wed Sep 17 2003 Jeremy Katz 1.6.3-30 - rebuild * Wed Sep 17 2003 Jeremy Katz 1.6.3-29 - and don't barf on the old (broken) 1.02 gpt rev * Tue Sep 16 2003 Jeremy Katz 1.6.3-28 - rebuild * Tue Sep 16 2003 Jeremy Katz 1.6.3-27 - write out the correct gpt revision (#103664) - add buildrequires on ncurses-devel * Thu Sep 4 2003 Bill Nottingham 1.6.3-26 - rebuild * Thu Sep 4 2003 Bill Nottingham 1.6.3-25 - don't buildreq libunicode-devel * Thu Aug 07 2003 Elliot Lee 1.6.3-24 - Fix libtool * Wed Jul 09 2003 Phil Knirsch 1.6.3-23 - Fixed dasd_write and dasd_read to support lvm and raid partitions. * Wed Jun 18 2003 Phil Knirsch 1.6.3-22 - Fixed a small bug in VTOC fdasd_check_volume() (#97300). * Wed Jun 04 2003 Elliot Lee 1.6.3-21 - rebuilt * Wed Jun 4 2003 Matt Wilson 1.6.3-20 - don't detect AIX physical volumes as msdos partition tables (#91748) - added stubbed code for manipulating AIX PVs, enough to clobber the signature. (#91748) * Wed Jun 04 2003 Phil Knirsch 1.6.3-19 - Added LDL disk layout support for s390(x). * Sun May 18 2003 Matt Wilson 1.6.3-18 - use metadata partitions to protect DASD VTOC - stash DASD specific data in disk specific areas, not arch specific areas. * Fri May 16 2003 Matt Wilson 1.6.3-18 - recongnize iseries viodasd (#90449) * Thu May 08 2003 Phil Knirsch 1.6.3-17 - Fixed problem with probing partitions on s390(x) with new partition code. * Mon May 05 2003 Phil Knirsch 1.6.3-16 - Fixed partiton reread code for s390(x). * Fri May 02 2003 Phil Knirsch 1.6.3-15 - Rewrote partition handling for s390(x) dasd devices. No more empty partitions. * Wed Mar 12 2003 Phil Knirsch 1.6.3-13 - Finished updating vtoc and fdasd code to latest s390-utils version. * Thu Mar 06 2003 Phil Knirsch 1.6.3-12 - Fixed vtoc handling on s390(x) dasd devices. * Thu Feb 06 2003 Karsten Hopp 1.6.3-11 - use different define to enable DASD debugging Otherwise we'll get a lot of dasd debug output because DEBUG is always defined * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Jan 22 2003 Karsten Hopp 1.6.3-9 - missed one debug message * Tue Jan 21 2003 Karsten Hopp 1.6.3-8 - add patch from CVS to disable debug messages on s390 * Tue Jan 14 2003 Matt Wilson 1.6.3-7 - updated to a new tarball of parted that includes a fs.probe_specific binding * Sun Dec 1 2002 Matt Wilson 1.6.3-6 - hack in partition.native_type (#78118) * Thu Nov 7 2002 Matt Wilson - added a patch to avoid SIGFPE when fat sector size is 0 * Tue Nov 5 2002 Matt Wilson - use --disable-dynamic-loading * Mon Nov 4 2002 Matt Wilson - add device.disk_new_fresh() * Fri Nov 1 2002 Matt Wilson - 1.6.3 * Fri Oct 4 2002 Jeremy Katz 1.4.24-7 - use make LIBTOOL=/usr/bin/libtool instead of recreating everything - add patch from Jack Howarth to self host properly - add patch to treat GPT structs as little-endian always and treat GUIDS as little-endian blobs - add patch to recognize hp service partitions * Wed Sep 25 2002 Jeremy Katz 1.4.24-6hammer - libtoolize, etc for x86_64 - hack to get the python module in the right place until python.m4 from automake is fixed * Fri Jun 21 2002 Tim Powers 1.4.24-6 - automated rebuild * Sun May 26 2002 Tim Powers 1.4.24-5 - automated rebuild * Wed May 22 2002 Jeremy Katz 1.4.24-4 - rebuild in new environment * Fri Mar 22 2002 Matt Wilson 1.4.24-3 - fixed the probe-with-open behavior (again) * Fri Feb 22 2002 Matt Wilson 1.4.24-1 - rebuild * Tue Feb 12 2002 Matt Wilson 1.4.24-1 - 1.4.24 * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Jan 7 2002 Jeremy Katz 1.4.20-4 - build with final python 2.2 * Wed Dec 12 2001 Jeremy Katz 1.4.20-3 - update from CVS and rebuild in new environment * Thu Oct 25 2001 Jeremy Katz 1.4.20-2 - build both python1.5 and python2 modules * Fri Oct 19 2001 Matt Wilson 1.4.20-1 - 1.4.20 final * Thu Oct 11 2001 Matt Wilson 1.4.20-0.1pre3 - new dist from CVS with new autoconf and automake - gpt is in 1.4.20, removed patch1 (gpt support) - partstatic is in 1.4.20, removed patch2 (partstatic patch) * 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.